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