Package compilation.analysis.syntax
Interface Statement
-
- All Known Implementing Classes:
BlockStatement,ConditionalStatement,ConditionalStatement.ElseStatement,ExpressionStatement,LoopStatement,SourceStatement
public interface StatementThe Statement interface is used to represent statements declared during compilation.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Queue<java.lang.Object>getChildren()Return the children of a Statement objectSourceSpangetSpan()Return the SourceSpan of a Statement objectStatementTypegetStatementType()Return the StatementType of a Statement object
-
-
-
Method Detail
-
getSpan
SourceSpan getSpan()
Return the SourceSpan of a Statement object- Returns:
- the span of the Statement
-
getChildren
java.util.Queue<java.lang.Object> getChildren()
Return the children of a Statement object- Returns:
- the children of the Statement
-
getStatementType
StatementType getStatementType()
Return the StatementType of a Statement object- Returns:
- the type of the Statement
-
-