|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.syntax.ASTNode
avrora.syntax.ExprList
The ExprList class represents a list of expressions within
the program. An expression list generally is encountered in initialized
data.
| Nested Class Summary | |
class |
ExprList.ExprItem
|
| Field Summary | |
ExprList.ExprItem |
head
|
ExprList.ExprItem |
tail
|
| Constructor Summary | |
ExprList()
|
|
| Method Summary | |
void |
add(Expr e)
|
AbstractToken |
getLeftMostToken()
The getLeftMostToken() method gets the first token associated
with the abstract syntax tree node. |
AbstractToken |
getRightMostToken()
The getRightMostToken() method gets the last token associated
with the abstract syntax tree node. |
int |
length()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ExprList.ExprItem head
public ExprList.ExprItem tail
| Constructor Detail |
public ExprList()
| Method Detail |
public AbstractToken getLeftMostToken()
ASTNodegetLeftMostToken() method gets the first token associated
with the abstract syntax tree node.
getLeftMostToken in class ASTNodeAbstractToken instance representing the first token
that is a part of this syntactic item.public AbstractToken getRightMostToken()
ASTNodegetRightMostToken() method gets the last token associated
with the abstract syntax tree node.
getRightMostToken in class ASTNodeAbstractToken instance representing the last token
that is a part of this syntactic item.public void add(Expr e)
public int length()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||