Package icyllis.arc3d.compiler.tree
Class SwitchStatement
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Statement
icyllis.arc3d.compiler.tree.SwitchStatement
-
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.static Statement
convert
(Context context, int position, Expression init, List<Expression> caseValues, List<Statement> caseStatements) getCases()
getInit()
getKind()
static Statement
make
(Context context, int position, Expression init, Statement caseBlock) void
setCaseBlock
(Statement caseBlock) void
setInit
(Expression init) toString()
Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Constructor Details
-
SwitchStatement
-
-
Method Details
-
convert
public static Statement convert(Context context, int position, Expression init, List<Expression> caseValues, List<Statement> caseStatements) -
make
-
getInit
-
setInit
-
getCaseBlock
-
setCaseBlock
-
getCases
-
getKind
-
accept
Description copied from class:Node
Visit this AST with a given visitor. -
toString
-