Class Expression.Assignment

  • Enclosing class:
    Expression

    public abstract class Expression.Assignment
    extends Expression.Operator
    Marker class for assignment operators. Those operators need a variable on the left hand side.
    • Constructor Summary

      Constructors 
      Constructor Description
      Assignment​(java.lang.String assign, int precedence)  
    • Constructor Detail

      • Assignment

        public Assignment​(java.lang.String assign,
                          int precedence)
    • Method Detail

      • eval

        public java.lang.Object eval​(java.util.Map<java.lang.String,​java.lang.Object> variables,
                                     java.lang.Object v1,
                                     java.lang.Object v2)
        Overrides:
        eval in class Expression.Operator