|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VarDecl
A VarDecl represents a local variable declaration, of either a formal
or a local variable.
| Field Summary |
|---|
| Fields inherited from interface polyglot.ast.Term |
|---|
ENTRY, EXIT |
| Method Summary | |
|---|---|
Type |
declType()
Get the type object for the declaration's type. |
Flags |
flags()
Get the declaration's flags. |
Id |
id()
Get the declaration's name. |
LocalInstance |
localInstance()
Get the type object for the local we are declaring. |
java.lang.String |
name()
Get the declaration's name. |
TypeNode |
type()
Get the declaration's type. |
| Methods inherited from interface polyglot.ast.Term |
|---|
acceptCFG, exceptions, exceptions, firstChild, reachable, reachable |
| Methods inherited from interface polyglot.ast.Node |
|---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
| Methods inherited from interface polyglot.ast.JL |
|---|
init, node |
| Methods inherited from interface polyglot.ast.NodeOps |
|---|
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren |
| Methods inherited from interface polyglot.util.Copy |
|---|
copy |
| Method Detail |
|---|
Type declType()
Flags flags()
TypeNode type()
Id id()
java.lang.String name()
LocalInstance localInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||