Interface CodeBlockWithCondition
- All Superinterfaces:
CodeBlock, CodeBlockStatement, CodeItem, CodeItemWithVariables, CodeMutable, CodeMutableItem, CodeNode, CodeNodeItem, CodeStatement, CodeWithContext
- All Known Subinterfaces:
CodeBlockDoWhile, CodeBlockIf, CodeBlockWhileDo
- Since:
- 1.0.0
- Author:
- hohwille
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeBlock
add, addText, getStatements, getVariable, getVariable, isEmptyMethods inherited from interface CodeBlockStatement
copy, getParentMethods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface CodeMutable
isImmutable, isMutableMethods inherited from interface CodeMutableItem
getReflectiveObject, setImmutableMethods inherited from interface CodeNodeItem
copyMethods inherited from interface CodeWithContext
getContext, getSource
-
Method Details
-
getCondition
CodeCondition getCondition()- Returns:
- the
CodeCondition. May benullforCodeBlockIfto represent a pureelseblock.
-