Class IsIdentifierStart

java.lang.Object
org.ek9lang.compiler.support.IsIdentifierStart
All Implemented Interfaces:
IntPredicate

public final class IsIdentifierStart extends Object implements IntPredicate
True when a character can begin an EK9 identifier: an ASCII letter - the lexer's Letter : [a-zA-Z] (EK9LexerRules.g4). One of THE identifier-character rules with IsIdentifierPart and IsIdentifier; never Character.isJavaIdentifierStart, which admits $ and non-ASCII letters.
  • Constructor Details

    • IsIdentifierStart

      public IsIdentifierStart()
  • Method Details

    • test

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