Package icyllis.arc3d.compiler.tree
Class SwitchCase
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Statement
icyllis.arc3d.compiler.tree.SwitchCase
A single case of a 'switch' statement.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(TreeVisitor visitor) Visit this AST with a given visitor.getKind()
long
getValue()
boolean
static SwitchCase
static SwitchCase
makeDefault
(int position, Statement statement) void
setStatement
(Statement statement) toString()
Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Method Details
-
make
-
makeDefault
-
isDefault
public boolean isDefault() -
getValue
public long getValue() -
getStatement
-
setStatement
-
getKind
-
accept
Description copied from class:Node
Visit this AST with a given visitor. -
toString
-