Package compilation.analysis.syntax
Class ExpressionStatement
- java.lang.Object
-
- compilation.analysis.syntax.ExpressionStatement
-
-
Constructor Summary
Constructors Constructor Description ExpressionStatement(Expression expression)Constructs an ExpressionStatement 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
-
ExpressionStatement
public ExpressionStatement(Expression expression)
Constructs an ExpressionStatement 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:
expression- The Expression object
-
-