Class AcceptableArgumentComplexityOrError

java.lang.Object
org.ek9lang.compiler.phase5.AcceptableArgumentComplexityOrError
All Implemented Interfaces:
ObjIntConsumer<org.antlr.v4.runtime.Token>

class AcceptableArgumentComplexityOrError extends Object implements ObjIntConsumer<org.antlr.v4.runtime.Token>
Emit error if there are too many arguments. More than 7 arguments is too many.
  • Constructor Details

  • Method Details

    • accept

      public void accept(org.antlr.v4.runtime.Token errorLocation, int numArguments)
      Specified by:
      accept in interface ObjIntConsumer<org.antlr.v4.runtime.Token>