Class IsSelfReference

java.lang.Object
org.ek9lang.compiler.support.selfreference.IsSelfReference
All Implemented Interfaces:
BiPredicate<org.antlr.v4.runtime.tree.ParseTree, ISymbol>

public final class IsSelfReference extends Object implements BiPredicate<org.antlr.v4.runtime.tree.ParseTree, ISymbol>
True when the symbol is a property that the constructor this node is in stores 'this' into - so, in that constructor, the property is 'this' under another name.
  • Constructor Details

  • Method Details

    • test

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