Package gw.lang.ir.statement
Class IRStatementList
java.lang.Object
gw.lang.ir.IRElement
gw.lang.ir.IRStatement
gw.lang.ir.statement.IRStatementList
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIRStatementList
(boolean hasScope, IRStatement... statements) IRStatementList
(boolean hasScope, List<IRStatement> statements) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatement
(IRStatement statement) boolean
hasScope()
void
mergeStatements
(IRStatement irStatement) Methods inherited from class gw.lang.ir.IRStatement
getOriginalSourceStatement, setOriginalSourceStatement
Methods inherited from class gw.lang.ir.IRElement
getLineNumber, getParent, isImplicit, maybeEraseStructuralSymbolTypes, maybeEraseStructuralType, maybeEraseStructuralType, maybeEraseStructuralTypes, setImplicit, setLineNumber, setParent, setParentToThis
-
Field Details
-
_statements
-
_hasScope
private boolean _hasScope
-
-
Constructor Details
-
IRStatementList
-
IRStatementList
-
-
Method Details
-
addStatement
-
getStatements
-
getLeastSignificantTerminalStatement
- Specified by:
getLeastSignificantTerminalStatement
in classIRStatement
-
mergeStatements
-
hasScope
public boolean hasScope()
-