Package compilation.analysis.syntax
Interface Expression
-
- All Known Implementing Classes:
AssignmentExpression,BinaryExpression,IdentifierExpression,LiteralExpression,ParenthesizedExpression,UnaryExpression
public interface ExpressionThe Expression interface is used to represent expressions 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 an Expression objectExpressionTypegetExpressionType()Return the ExpressionType of an Expression objectSourceSpangetSpan()Return the SourceSpan of an Expression object
-
-
-
Method Detail
-
getSpan
SourceSpan getSpan()
Return the SourceSpan of an Expression object- Returns:
- the span of the Expression
-
getChildren
java.util.Queue<java.lang.Object> getChildren()
Return the children of an Expression object- Returns:
- the children of the Expression
-
getExpressionType
ExpressionType getExpressionType()
Return the ExpressionType of an Expression object- Returns:
- the type of the Expression
-
-