Class IsSimpleAssignmentToken

java.lang.Object
org.ek9lang.compiler.common.IsSimpleAssignmentToken
All Implemented Interfaces:
IntPredicate

public final class IsSimpleAssignmentToken extends Object implements IntPredicate
THE test of "is this assignment token TYPE a plain one" - :=, =, : or :=?: a simple object-pointer assignment, not a deep or mutating operator (+=, :~:, :^:, :=:). For a caller holding an ANTLR token rather than an IToken; OperationIsAssignment asks it of an IToken's type. Hold an instance.
  • Constructor Details

    • IsSimpleAssignmentToken

      public IsSimpleAssignmentToken()
  • Method Details

    • test

      public boolean test(int tokenType)
      Specified by:
      test in interface IntPredicate