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 TypeMethodDescriptionbooleanaccept(TreeVisitor visitor) Visit this AST with a given visitor.getKind()longgetValue()booleanstatic SwitchCasestatic SwitchCasemakeDefault(int position, Statement statement) voidsetStatement(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:NodeVisit this AST with a given visitor. -
toString
-