Package icyllis.arc3d.compiler.tree
Class GlobalVariableDecl
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.TopLevelElement
icyllis.arc3d.compiler.tree.GlobalVariableDecl
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(TreeVisitor visitor) Visit this AST with a given visitor.getKind()
toString()
Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Constructor Details
-
GlobalVariableDecl
-
-
Method Details
-
getVariableDecl
-
getKind
- Specified by:
getKind
in classTopLevelElement
- See Also:
-
accept
Description copied from class:Node
Visit this AST with a given visitor. -
toString
-