|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
antlr.CommonAST
antlr.CommonASTWithHiddenTokens
jparse.JavaAST
jparse.ParameterAST
An AST node that represents a formal parameter
Field Summary | |
private ModifierAST |
mods
The modifiers for this parameter |
private TypeAST |
typeAST
The declared type of this parameter |
private VarAST |
var
The parameter name and trailing brackets |
Fields inherited from class jparse.JavaAST |
context, currSymTable, noTypes, symTable, topLevel |
Fields inherited from class antlr.CommonASTWithHiddenTokens |
hiddenAfter, hiddenBefore |
Fields inherited from class antlr.CommonAST |
|
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
ParameterAST(ModifierAST mod,
TypeAST type,
VarAST variable)
Create a new parameter AST |
Method Summary | |
ModifierAST |
getModifiers()
Get the modifiers for this variable |
VarAST |
getParamName()
Get the parameter name and trailing brackets |
TypeAST |
getTypeName()
Get the name of the declared type for this variable |
void |
parseComplete()
Compute any derived attributes that must be evaluated after the initial parse. |
String |
toString()
|
Methods inherited from class jparse.JavaAST |
print, printHiddenAfter, printHiddenBefore |
Methods inherited from class antlr.CommonASTWithHiddenTokens |
getHiddenAfter, getHiddenBefore, initialize |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final ModifierAST mods
private final TypeAST typeAST
private final VarAST var
Constructor Detail |
public ParameterAST(ModifierAST mod, TypeAST type, VarAST variable)
mod
- the modifiers for this parametertype
- the type of this parametervariable
- the parameter name and trailing brackets (if any)Method Detail |
public void parseComplete()
JavaAST
parseComplete
in class JavaAST
public ModifierAST getModifiers()
public TypeAST getTypeName()
public VarAST getParamName()
public String toString()
toString
in interface antlr.collections.AST
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |