Package org.jibx.schema.codegen
Class PrefixExpressionBuilder
java.lang.Object
org.jibx.schema.codegen.ASTBuilderBase
org.jibx.schema.codegen.ExpressionBuilderBase
org.jibx.schema.codegen.PrefixExpressionBuilder
Abstract syntax tree prefix expression builder. This adds convenience methods and control information to the base
builder.
-
Field Summary
FieldsFields inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
m_source
Fields inherited from class org.jibx.schema.codegen.ASTBuilderBase
m_ast
-
Constructor Summary
ConstructorsConstructorDescriptionPrefixExpressionBuilder
(ClassBuilder source, PrefixExpression expr, Expression operand) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOperand
(Expression operand) Add operand to expression.Methods inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addStringLiteralOperand, addVariableOperand, getExpression
Methods inherited from class org.jibx.schema.codegen.ASTBuilderBase
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
-
Field Details
-
m_expression
private final PrefixExpression m_expressionCast expression.
-
-
Constructor Details
-
PrefixExpressionBuilder
Constructor.- Parameters:
source
-expr
-operand
-
-
-
Method Details
-
addOperand
protected void addOperand(Expression operand) Add operand to expression. This class is not modifiable, so a call to this method just throws an exception.- Specified by:
addOperand
in classExpressionBuilderBase
- Parameters:
operand
-
-