|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.syntax.ASTNode avrora.syntax.Expr avrora.syntax.Expr.Term
The Term
class is a superclass for all expressions that consist of a single lexical
token.
Nested Class Summary |
Nested classes inherited from class avrora.syntax.Expr |
Expr.BinOp, Expr.CharLiteral, Expr.Constant, Expr.Func, Expr.RelativeAddress, Expr.StringLiteral, Expr.Term, Expr.UnOp, Expr.Variable |
Field Summary | |
AbstractToken |
token
|
Method Summary | |
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. |
java.lang.String |
toString()
|
Methods inherited from class avrora.syntax.Expr |
evaluate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final AbstractToken token
Method Detail |
public AbstractToken getLeftMostToken()
ASTNode
getLeftMostToken()
method gets the first token associated with the abstract syntax
tree node.
getLeftMostToken
in class ASTNode
AbstractToken
instance representing the first token that is a part of this
syntactic item.public AbstractToken getRightMostToken()
ASTNode
getRightMostToken()
method gets the last token associated with the abstract syntax
tree node.
getRightMostToken
in class ASTNode
AbstractToken
instance representing the last token that is a part of this
syntactic item.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |