stardiv.js.comp
Class IfNode
java.lang.Object
|
+--stardiv.js.comp.BaseNode
|
+--stardiv.js.comp.StatementNode
|
+--stardiv.js.comp.IfNode
- All Implemented Interfaces:
- stardiv.js.ip.BaseNodeAccess
- synchronized class IfNode
- extends stardiv.js.comp.StatementNode
Field Summary |
protected stardiv.js.comp.ExprNode |
aExprNode
|
protected stardiv.js.comp.StatementNode |
aThenBlockNode
|
protected stardiv.js.comp.StatementNode |
pElseBlockNode
|
Fields inherited from class stardiv.js.comp.StatementNode |
aPredNode, aSuccNode, pLabel |
Fields inherited from class stardiv.js.comp.BaseNode |
iEndPos, iStartPos |
Constructor Summary |
IfNode(int i1,
int i2,
stardiv.js.comp.ExprNode en,
stardiv.js.comp.StatementNode sn1,
stardiv.js.comp.StatementNode sn2)
|
Method Summary |
void |
genCode(stardiv.js.ip.CodeBlock cb,
stardiv.js.comp.CodeGenParam cgp)
|
(package private) void |
show(java.io.PrintStream ps)
|
Methods inherited from class stardiv.js.comp.StatementNode |
getFirst, getLabelName, getLast, getPred, getSource, getSucc, setLabelInfo, setNodes, setPred, setSucc, showList, showTotalList |
Methods inherited from class stardiv.js.comp.BaseNode |
getSrcEndPos, getSrcStartPos |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aExprNode
protected stardiv.js.comp.ExprNode aExprNode
aThenBlockNode
protected stardiv.js.comp.StatementNode aThenBlockNode
pElseBlockNode
protected stardiv.js.comp.StatementNode pElseBlockNode
IfNode
public IfNode(int i1,
int i2,
stardiv.js.comp.ExprNode en,
stardiv.js.comp.StatementNode sn1,
stardiv.js.comp.StatementNode sn2)
genCode
public void genCode(stardiv.js.ip.CodeBlock cb,
stardiv.js.comp.CodeGenParam cgp)
throws stardiv.js.base.ParserException
show
void show(java.io.PrintStream ps)