public class Case extends AbstractModuleElement
| Modifier and Type | Field and Description |
|---|---|
protected StatementBlock |
body |
protected Expression |
condition |
commentsannotations, 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, getModuleElementscollectDescendants, 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, toExtendedStringTreeItemdupNode, getCharPositionInLine, getChildIndex, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChildCount, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeprotected Expression condition
protected StatementBlock body
public void build()
build in class AbstractModuleElementpublic Expression getCondition()
public void setCondition(Expression condition)
public StatementBlock getBody()
public void setBody(StatementBlock body)
Copyright © 2016. All rights reserved.