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 TypeMethodDescriptionvoidaddStatement(IRStatement statement) booleanhasScope()voidmergeStatements(IRStatement irStatement) Methods inherited from class gw.lang.ir.IRStatement
getOriginalSourceStatement, setOriginalSourceStatementMethods 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:
getLeastSignificantTerminalStatementin classIRStatement
-
mergeStatements
-
hasScope
public boolean hasScope()
-