public class InfixExpressionBuilder extends ExpressionBuilderBase
Modifier and Type | Field | Description |
---|---|---|
private InfixExpression |
m_expression |
Method invocation.
|
private int |
m_operandCount |
Number of operands added to expression.
|
m_ast
m_source
Constructor | Description |
---|---|
InfixExpressionBuilder(ClassBuilder source,
InfixExpression expr) |
Constructor.
|
InfixExpressionBuilder(ClassBuilder source,
InfixExpression expr,
Expression operand) |
Constructor with left operand supplied.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
addOperand(Expression operand) |
Add operand to expression.
|
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addStringLiteralOperand, addVariableOperand, getExpression
private final InfixExpression m_expression
private int m_operandCount
public InfixExpressionBuilder(ClassBuilder source, InfixExpression expr)
source
- expr
- public InfixExpressionBuilder(ClassBuilder source, InfixExpression expr, Expression operand)
source
- expr
- operand
- protected void addOperand(Expression operand)
addOperand
in class ExpressionBuilderBase
operand
-