convert
open override fun convert( compilationContext: CompilationContext, lexingState: LexingState, input: A_Phrase, continuation: (A_Phrase) -> Unit, onProblem: (Throwable) -> Unit)
Content copied to clipboard
Convert an input AvailObject into an output AvailObject, using the specific conversion rule's implementation.
Parameters
compilation Context
The CompilationContext to use during conversion, if needed.
lexing State
The LexingState after the phrase.
input
The phrase to be converted.
continuation
What to do with the replacement phrase.
on Problem
What to do if there's a problem.