org.oklab.compiler.syntaxtree.expression
クラス Expression

java.lang.Object
  上位を拡張 org.oklab.compiler.syntaxtree.Node
      上位を拡張 org.oklab.compiler.syntaxtree.expression.Expression
直系の既知のサブクラス:
Call, ConstantInt, OperatorOfBinary, OperatorOfUnary, Variable

public abstract class Expression
extends Node

Expression(式).

導入されたバージョン:
1.0
バージョン:
1.0
作成者:
Satoshi Okita satoshiokita@gmail.com
関連項目:
ConstantInt, OperatorOfBinary, OperatorOfUnary, Variable

フィールドの概要
 
クラス org.oklab.compiler.syntaxtree.Node から継承されたフィールド
parent
 
コンストラクタの概要
Expression(Node parent)
           
 
メソッドの概要
abstract  int emitCode(CodeBufferManager code, int stackPointer)
           
 Statement parseXStatement(Node parent, SourceReader sReader)
           
 
クラス org.oklab.compiler.syntaxtree.Node から継承されたメソッド
getReturnType, localVariableCount, parseExpression, parseFactor, parseRefferenceOrCall, parseStatement, parseTerm, setParent
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Expression

public Expression(Node parent)
メソッドの詳細

parseXStatement

public Statement parseXStatement(Node parent,
                                 SourceReader sReader)
                          throws CompileError
例外:
CompileError
関連項目:
Variable, Call

emitCode

public abstract int emitCode(CodeBufferManager code,
                             int stackPointer)
                      throws CompileError
例外:
CompileError