Class OperationIsAssignment

java.lang.Object
org.ek9lang.compiler.common.OperationIsAssignment
All Implemented Interfaces:
Predicate<IToken>

public class OperationIsAssignment extends Object implements Predicate<IToken>
THE test of "is this assignment token a plain one" - :=, =, : or :=?: a simple object-pointer assignment, not a deep or mutating operator (+=, :~:, :^:, :=:). Plain assignments store or re-bind and so need an assignable target, and make an alias; the others do neither. Six places had spelled the four token types out (front-end rationalisation F27/B-5); ask here with the token (test(IToken)), or hold an IsSimpleAssignmentToken for just its type.
  • Constructor Details

    • OperationIsAssignment

      public OperationIsAssignment()
  • Method Details