public class Case extends AbstractModuleElement
Modifier and Type | Field and Description |
---|---|
protected StatementBlock |
body |
protected Expression |
condition |
comments
annotations, column, commentTokens, descendants, extraTokens, imaginary, line, module, properties, region, uri
Constructor and Description |
---|
Case() |
Modifier and Type | Method and Description |
---|---|
void |
build() |
StatementBlock |
getBody() |
Expression |
getCondition() |
void |
setBody(StatementBlock body) |
void |
setCondition(Expression condition) |
getComments, getDebugInfo, getModuleElements
collectDescendants, getAnnotationsAst, getBasename, getChild, getChildren, getColumn, getCommentTokens, getDescendants, getExtraTokens, getFile, getFirstChild, getFourthChild, getLine, getModule, getNextSibling, getNumberOfChildren, getParent, getProperties, getRegion, getSecondChild, getThirdChild, getUri, hasChildren, isImaginary, setAnnotationsAst, setColumn, setCommentTokens, setExtraTokens, setFirstChild, setImaginary, setLine, setModule, setNextSibling, setRegion, setToken, setUri, toExtendedStringTree, toExtendedStringTree, toExtendedStringTreeItem
dupNode, getCharPositionInLine, getChildIndex, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, toString
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChildCount, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
protected Expression condition
protected StatementBlock body
public void build()
build
in class AbstractModuleElement
public Expression getCondition()
public void setCondition(Expression condition)
public StatementBlock getBody()
public void setBody(StatementBlock body)
Copyright © 2016. All rights reserved.