stardiv.js.comp
Class ExprNode
java.lang.Object
|
+--stardiv.js.comp.BaseNode
|
+--stardiv.js.comp.ExprNode
- All Implemented Interfaces:
- stardiv.js.ip.BaseNodeAccess
- Direct Known Subclasses:
- stardiv.js.comp.ExprOperator, stardiv.js.comp.ExprSubExpr, stardiv.js.comp.ExprTerm
- public abstract synchronized class ExprNode
- extends stardiv.js.comp.BaseNode
Field Summary |
private stardiv.js.comp.ExprNode |
aParentNode
|
private static int |
nShiftValue
|
protected java.lang.String |
sSrc
|
Fields inherited from class stardiv.js.comp.BaseNode |
iEndPos, iStartPos |
Constructor Summary |
ExprNode(stardiv.js.comp.ExprNode en,
int i1,
int i2,
java.lang.String s)
|
Method Summary |
void |
genCode(stardiv.js.ip.CodeBlock cb,
stardiv.js.comp.CodeGenParam cgp,
boolean b1,
boolean b2,
boolean b3)
|
protected stardiv.js.comp.ExprNode |
getLeftExpr()
|
protected stardiv.js.comp.ExprNode |
getOptExpr()
|
stardiv.js.comp.ExprNode |
getParent()
|
protected stardiv.js.comp.ExprNode |
getRightExpr()
|
stardiv.js.comp.ExprNode |
getRoot()
|
protected void |
handleError(int i)
|
boolean |
hasParent()
|
protected void |
insertLeftExpr(stardiv.js.comp.ExprNode en)
|
protected void |
insertOptExpr(stardiv.js.comp.ExprNode en)
|
void |
insertParent(stardiv.js.comp.ExprNode en)
|
protected void |
insertRightExpr(stardiv.js.comp.ExprNode en)
|
abstract boolean |
isConstant()
|
abstract boolean |
isLValue()
|
boolean |
isSingleIdentifier()
|
(package private) static java.lang.String |
levelShift(int i)
|
(package private) static java.lang.String |
levelShift(int i1,
int i2)
|
protected void |
releaseMem(stardiv.js.comp.Tokenizer t)
|
(package private) void |
show(java.io.PrintStream ps)
|
(package private) abstract void |
show(java.io.PrintStream ps,
int i)
|
(package private) void |
showTotalTree(java.io.PrintStream ps)
|
(package private) void |
showTree(java.io.PrintStream ps)
|
(package private) void |
showTree(java.io.PrintStream ps,
int i)
|
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 |
aParentNode
private stardiv.js.comp.ExprNode aParentNode
nShiftValue
private static final int nShiftValue
sSrc
protected java.lang.String sSrc
ExprNode
public ExprNode(stardiv.js.comp.ExprNode en,
int i1,
int i2,
java.lang.String s)
genCode
public void genCode(stardiv.js.ip.CodeBlock cb,
stardiv.js.comp.CodeGenParam cgp,
boolean b1,
boolean b2,
boolean b3)
throws stardiv.js.base.ParserException
getLeftExpr
protected stardiv.js.comp.ExprNode getLeftExpr()
getOptExpr
protected stardiv.js.comp.ExprNode getOptExpr()
getParent
public final stardiv.js.comp.ExprNode getParent()
getRightExpr
protected stardiv.js.comp.ExprNode getRightExpr()
getRoot
public final stardiv.js.comp.ExprNode getRoot()
handleError
protected final void handleError(int i)
throws stardiv.js.base.ParserException
hasParent
public final boolean hasParent()
insertLeftExpr
protected void insertLeftExpr(stardiv.js.comp.ExprNode en)
throws stardiv.js.base.ParserException
insertOptExpr
protected void insertOptExpr(stardiv.js.comp.ExprNode en)
throws stardiv.js.base.ParserException
insertParent
public final void insertParent(stardiv.js.comp.ExprNode en)
insertRightExpr
protected void insertRightExpr(stardiv.js.comp.ExprNode en)
throws stardiv.js.base.ParserException
isConstant
public abstract boolean isConstant()
isLValue
public abstract boolean isLValue()
isSingleIdentifier
public boolean isSingleIdentifier()
levelShift
static java.lang.String levelShift(int i)
levelShift
static java.lang.String levelShift(int i1,
int i2)
releaseMem
protected void releaseMem(stardiv.js.comp.Tokenizer t)
show
void show(java.io.PrintStream ps)
show
abstract void show(java.io.PrintStream ps,
int i)
showTotalTree
void showTotalTree(java.io.PrintStream ps)
showTree
void showTree(java.io.PrintStream ps)
showTree
void showTree(java.io.PrintStream ps,
int i)