expected At
fun expectedAt(level: CompilerDiagnostics.ParseNotificationLevel, describer: Describer, lexingState: LexingState)
Record an expectation at the given token.
Parameters
level
The ParseNotificationLevel which indicates the priority of this theory about a failed parse.
describer
A Describer, something which can be evaluated (including running Avail code) to produce a String, which is then passed to a provided continuation.
lexing State
The LexingState at which the expectation occurred.