Class PrefixExpressionBuilder


public class PrefixExpressionBuilder extends ExpressionBuilderBase
Abstract syntax tree prefix expression builder. This adds convenience methods and control information to the base builder.
  • Field Details

    • m_expression

      private final PrefixExpression m_expression
      Cast expression.
  • Constructor Details

    • PrefixExpressionBuilder

      public PrefixExpressionBuilder(ClassBuilder source, PrefixExpression expr, Expression operand)
      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 class ExpressionBuilderBase
      Parameters:
      operand -