Class ProgramArgumentsOrError
java.lang.Object
org.ek9lang.compiler.phase2.ProgramArgumentsOrError
- All Implemented Interfaces:
BiConsumer<IToken, MethodSymbol>
A program can only accept specific types of arguments to it.
Checked in EXPLICIT_TYPE_SYMBOL_DEFINITION, not SYMBOL_DEFINITION: in phase 1 a parameter type declared later in the module, or brought in by 'references', is not yet resolved - or resolves to a same-named built-in - so the check judged the wrong type (front-end audit FE36).
-
Constructor Details
-
ProgramArgumentsOrError
ProgramArgumentsOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<IToken, MethodSymbol>
-