|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectentities.Expression
entities.GotoExpression
The class GotoExpression represents a goto expression
Field Summary |
Fields inherited from class entities.Expression |
fCast, fFile, fLBracketPosition, fOperator, fParentScope, fPosition, fPreviousExpression, fRBracketPosition, fToTrace, fTypeOfCast, SEPARATORS |
Constructor Summary | |
GotoExpression(ScopeManager parentScope)
|
Method Summary | |
void |
computeType(ScopeInfo scopeInfo,
java.lang.String indentation)
It is empty |
java.lang.String |
getLabel()
|
java.lang.String |
getString()
|
void |
print(java.lang.String indentation)
Print all information |
void |
setLabel(java.lang.String label)
The parameter label is used to represent the label found after the "goto" keyword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GotoExpression(ScopeManager parentScope)
Method Detail |
public java.lang.String getLabel()
Ex: goto AAAA
In this case it returns "AAAA"
public java.lang.String getString()
getString
in class Expression
public void setLabel(java.lang.String label)
public void computeType(ScopeInfo scopeInfo, java.lang.String indentation)
computeType
in class Expression
public void print(java.lang.String indentation)
print
in interface ScopeManager
print
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |