Class IsAssignmentTarget

java.lang.Object
org.ek9lang.compiler.support.selfreference.IsAssignmentTarget
All Implemented Interfaces:
Predicate<org.antlr.v4.runtime.tree.ParseTree>

public final class IsAssignmentTarget extends Object implements Predicate<org.antlr.v4.runtime.tree.ParseTree>
True when the node is the identifier of a property ASSIGNED by the statement it is the target of (me: ... or this.me: ...) - writing the property, not reading it.
  • Constructor Details

    • IsAssignmentTarget

      public IsAssignmentTarget()
  • Method Details

    • test

      public boolean test(org.antlr.v4.runtime.tree.ParseTree node)
      Specified by:
      test in interface Predicate<org.antlr.v4.runtime.tree.ParseTree>