Package compilation.analysis.syntax
Class BlockStatement
- java.lang.Object
-
- compilation.analysis.syntax.BlockStatement
-
-
Constructor Summary
Constructors Constructor Description BlockStatement(Token openBraceToken, java.util.List<Statement> statements, Token closeBraceToken)Constructs a BlockStatement object, initialised with the statements contents.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface compilation.analysis.syntax.Statement
getChildren, getSpan, getStatementType
-
-
-
-
Constructor Detail
-
BlockStatement
public BlockStatement(Token openBraceToken, java.util.List<Statement> statements, Token closeBraceToken)
Constructs a BlockStatement object, initialised with the statements contents.A SourceSpan containing the range of the statement is automatically generated, as well as a LinkedList of its children.
- Parameters:
openBraceToken- The open brace Tokenstatements- The List of Statements within the bracescloseBraceToken- The close brace Token
-
-