|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulation of the details of a declaration of a variable (field or local).
Method Summary | |
Type |
declType()
Get the type of the declarator. |
Flags |
flags()
Get the flags of the declarator. |
Declarator |
flags(Flags flags)
Set the flags of the declarator. |
Expr |
init()
Get the initializer of the declarator. |
Declarator |
init(Expr init)
Set the initializer of the declarator. |
java.lang.String |
name()
Get the name of the declarator. |
Declarator |
name(java.lang.String name)
Set the name of the declarator. |
void |
translate(CodeWriter w,
Translator tr,
boolean field)
Write the declarator to an output file. |
TypeNode |
type()
Get the type node of the declarator. |
Declarator |
type(TypeNode type)
Set the type node of the declarator. |
void |
typeCheck(TypeChecker tc)
Type check the declarator. |
Methods inherited from interface jltools.util.Copy |
copy |
Method Detail |
public Flags flags()
public Declarator flags(Flags flags)
public Type declType()
public TypeNode type()
public Declarator type(TypeNode type)
public java.lang.String name()
public Declarator name(java.lang.String name)
public Expr init()
public Declarator init(Expr init)
public void typeCheck(TypeChecker tc) throws SemanticException
public void translate(CodeWriter w, Translator tr, boolean field)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |