Class IsNonDescriptiveName

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

public final class IsNonDescriptiveName extends Object implements Predicate<String>
🛑 THE E11031 check: true when name is one of the NonDescriptiveNames (case-insensitive), or a positional one followed by digits (arg0, arg1, ...). Single characters are always allowed, and so is a null name. The phase-5 check, the synthesised parameter names and the editors' refused names all ask this.
  • Constructor Details

    • IsNonDescriptiveName

      public IsNonDescriptiveName()
  • Method Details