Class BitwiseRightShiftExp

All Implemented Interfaces:
XMLSerializable

public final class BitwiseRightShiftExp extends BitwiseExp
Bitwise right shift '>>' operation.
Since:
5.0
  • Constructor Details

    • BitwiseRightShiftExp

      public BitwiseRightShiftExp(Object... operands)
  • Method Details

    • op

      protected long op(long result, long arg)
      Specified by:
      op in class BitwiseExp
    • getExpressionOperator

      protected String getExpressionOperator(int index)
      Description copied from class: Expression
      Returns the operator printed between the operands, before the operand at the given index.
      Specified by:
      getExpressionOperator in class Expression
    • shallowCopy

      public Expression shallowCopy()
      Description copied from class: Expression
      Creates a copy of this expression node, without copying children.
      Specified by:
      shallowCopy in class Expression
    • setOperands

      public void setOperands(Object... operands)
      Description copied from class: Expression
      Replaces all the operands of this node with the given ones. Called by the constructor and by the parser once all the operands of a node are known, so a node that post-processes its operands overrides this method.
      Overrides:
      setOperands in class Expression