| Package | Description |
|---|---|
| com.microej.script.ast.expressions | |
| com.microej.script.ast.expressions.literals |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryOperatorExpression
Represents an expression of type
ExpressionTypes.BINARY_OPERATOR. |
class |
ConditionalExpression
Represents an expression of type
ExpressionTypes.CONDITIONAL. |
class |
GetValueForTagExpression
Represents an expression of type
ExpressionTypes.GET_VALUE_FOR_TAG. |
class |
RunFunctionExpression
Represents an expression of type
ExpressionTypes.RUN_FUNCTION. |
class |
UnaryOperatorExpression
Represents an expression of type
ExpressionTypes.UNARY_OPERATOR. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
RunFunctionExpression.getArgument(int index)
Returns the argument at the given index of this expression.
|
Expression |
ConditionalExpression.getFalseExpression()
Returns the false expression of this expression.
|
Expression |
BinaryOperatorExpression.getFirstOperand()
Returns the first operand of this expression.
|
Expression |
UnaryOperatorExpression.getOperand()
Returns the operand of this expression.
|
Expression |
BinaryOperatorExpression.getSecondOperand()
Returns the second operand of this expression.
|
Expression |
ConditionalExpression.getTestExpression()
Returns the test expression of this expression.
|
Expression |
ConditionalExpression.getTrueExpression()
Returns the true expression of this expression.
|
| Constructor and Description |
|---|
BinaryOperatorExpression(int operator,
Expression firstOperand,
Expression secondOperand)
Creates a binary operator expression.
|
ConditionalExpression(Expression testExpression,
Expression trueExpression,
Expression falseExpression)
Creates a conditional expression.
|
RunFunctionExpression(int function,
Expression... arguments)
Creates a run function expression.
|
UnaryOperatorExpression(int operator,
Expression operand)
Creates a unary operator expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanLiteralExpression
Represents an expression of type
ExpressionTypes.BOOLEAN_LITERAL. |
class |
DoubleLiteralExpression
Represents an expression of type
ExpressionTypes.DOUBLE_LITERAL. |
class |
StringLiteralExpression
Represents an expression of type
ExpressionTypes.STRING_LITERAL. |