|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.oklab.compiler.syntaxtree.Node
org.oklab.compiler.syntaxtree.statement.Statement
org.oklab.compiler.syntaxtree.statement.Condition
org.oklab.compiler.syntaxtree.statement.If
public class If
if文. 親クラスのConditionのコンストラクタが構文解析を行っている.
Condition| フィールドの概要 |
|---|
| クラス org.oklab.compiler.syntaxtree.statement.Condition から継承されたフィールド |
|---|
condition, executeStatement, leftOperand, rightOperand |
| クラス org.oklab.compiler.syntaxtree.Node から継承されたフィールド |
|---|
parent |
| コンストラクタの概要 | |
|---|---|
If(Node parent,
SourceReader sReader)
Creates a new instance of If |
|
| メソッドの概要 | |
|---|---|
boolean |
emitCode(CodeBufferManager code)
コード出力. |
| クラス 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 |
| コンストラクタの詳細 |
|---|
public If(Node parent,
SourceReader sReader)
throws CompileError
CompileError| メソッドの詳細 |
|---|
public boolean emitCode(CodeBufferManager code)
throws CompileError
Statement 内の emitCodecode - コードバッファ.
CompileError - コード出力に失敗した場合にこの例外を投げる.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||