Package icyllis.arc3d.compiler.tree
Class GlobalVariable
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.TopLevelElement
icyllis.arc3d.compiler.tree.GlobalVariable
A variable declaration appearing at global scope. A global declaration like 'int x, y;' produces
two GlobalVariableDecl elements, each containing the declaration of one variable.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()
void
setDeclaration
(Statement decl) @NonNull String
toString()
Methods inherited from class icyllis.arc3d.compiler.tree.TopLevelElement
accept
Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Constructor Details
-
GlobalVariable
-
-
Method Details
-
getDeclaration
-
setDeclaration
-
getKind
- Specified by:
getKind
in classTopLevelElement
- See Also:
-
toString
-