Uses of Class
examples.ast.Expression
Packages that use Expression
Package
Description
The examples.ast package is an example Abstract Syntax Tree (AST) used in most language compilers.
-
Uses of Expression in examples.ast
Subclasses of Expression in examples.astModifier and TypeClassDescriptionclassExpressions with two operands and one operator.classInteger literals of the language.classAn expression with one operand and one operator.classVariables of the language.Fields in examples.ast declared as ExpressionModifier and TypeFieldDescriptionRead.expressionWrite.expression(package private) final ExpressionAssignment.lhsThe left- and right-hand sides of the assignment.UnaryExpression.operandBinaryExpression.operand1The first operand of the expression.BinaryExpression.operand2The second operand of the expression.(package private) final ExpressionAssignment.rhsThe left- and right-hand sides of the assignment.Constructors in examples.ast with parameters of type ExpressionModifierConstructorDescriptionAssignment(int line, int column, Expression lhs, Expression rhs) Constructor.BinaryExpression(int line, int column, String operator, Expression operand1, Expression operand2) Constructor of a binary expression.Read(int line, int column, Expression expression) UnaryExpression(int line, int column, String operator, Expression operand) Write(int line, int column, Expression expression)