Package org.ek9lang.compiler.phase5
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 Summary
ConstructorDescriptionAcceptableArgumentComplexityOrError
(ComplexityCounter complexityCounter, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.antlr.v4.runtime.Token errorLocation, int numArguments)
-
Constructor Details
-
AcceptableArgumentComplexityOrError
AcceptableArgumentComplexityOrError(ComplexityCounter complexityCounter, ErrorListener errorListener)
-
-
Method Details
-
accept
public void accept(org.antlr.v4.runtime.Token errorLocation, int numArguments) - Specified by:
accept
in interfaceObjIntConsumer<org.antlr.v4.runtime.Token>
-