Class IsBoundaryPrimitive

java.lang.Object
org.ek9lang.compiler.phase7.support.IsBoundaryPrimitive
All Implemented Interfaces:
Predicate<String>

public final class IsBoundaryPrimitive extends Object implements Predicate<String>
THE test for a BOUNDARY PRIMITIVE: a method on a real EK9 type that exists only for IR/code generation - _true, _false, _set, _of, _ofTrue, _ofFalse. It has no @Ek9Method, so no symbol for the METHOD even though the target TYPE resolves (one of the three kinds of CompilerPlumbingCalls).
  • Constructor Details

    • IsBoundaryPrimitive

      public IsBoundaryPrimitive()
  • Method Details

    • test

      public boolean test(String methodName)
      A method on a real EK9 type that has no EK9 symbol - _true, _ofFalse, ...
      Specified by:
      test in interface Predicate<String>
      Parameters:
      methodName - the method being called
      Returns:
      true for a boundary primitive