Uses of Interface
dev.civl.abc.ast.node.IF.statement.LabeledStatementNode
Packages that use LabeledStatementNode
Package
Description
Submodule ast.node defines every kind of
node in an AST.
The ast.node.statement submodule defines AST
nodes for representing statements in a program.
-
Uses of LabeledStatementNode in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that return LabeledStatementNodeModifier and TypeMethodDescriptionNodeFactory.newLabeledStatementNode(Source source, LabelNode label, StatementNode statement) Constructs new node representing a labeled statement. -
Uses of LabeledStatementNode in dev.civl.abc.ast.node.IF.statement
Methods in dev.civl.abc.ast.node.IF.statement that return LabeledStatementNodeModifier and TypeMethodDescriptionLabeledStatementNode.copy()ChooseStatementNode.getDefaultCase()The default case is just some meta-data associated to the node, and is totally independent of the methods to create and add the children.SwitchNode.getDefaultCase()Returns the "default"-labeled statement within this switch statement, or null if there isn't one.Methods in dev.civl.abc.ast.node.IF.statement that return types with arguments of type LabeledStatementNodeModifier and TypeMethodDescriptionSwitchNode.getCases()Returns the sequence of allcase-labeled statements within this switch statement's body.Methods in dev.civl.abc.ast.node.IF.statement with parameters of type LabeledStatementNodeModifier and TypeMethodDescriptionvoidSwitchNode.addCase(LabeledStatementNode statement) Adds a case clause to the list associated to this switch node.voidChooseStatementNode.setDefaultCase(LabeledStatementNode statement) The default case is just some meta-data associated to the node, and is totally independent of the methods to create and add the children.voidSwitchNode.setDefaultCase(LabeledStatementNode statement) Sets the default clause for this switch statement.