java.lang.Object
simula.compiler.syntaxClass.statement.ConnectionStatement.DoPart
- Direct Known Subclasses:
ConnectionStatement.WhenPart
- Enclosing class:
ConnectionStatement
Utility class to hold the single do-part.
-
Field Summary
Modifier and TypeFieldDescription(package private) final ConnectionBlock
The associated connection block. -
Constructor Summary
ModifierConstructorDescriptionprivate
DoPart
(ConnectionBlock connectionBlock, Statement statement) Create a new do-part. -
Method Summary
-
Field Details
-
connectionBlock
The associated connection block.
-
-
Constructor Details
-
DoPart
Create a new do-part.- Parameters:
connectionBlock
- The associated connection blockstatement
- the statement after DO
-
-
Method Details
-
doChecking
public void doChecking()Perform semantic checking. -
doCoding
public void doCoding(boolean first) Perform Java coding.- Parameters:
first
- true if coding the first when-part
-
printTree
public void printTree(int indent) Utility print method.- Parameters:
indent
- the indent
-
toString
-