Beispiel #1
0
 /// <summary>Initializes a new instance of the <see cref="Parser"/> class.</summary>
 /// <param name="globalState"><see cref="DynamicRuntimeState"/> for the parse</param>
 /// <param name="diagnostics">Diagnostic representations to generate when parsing</param>
 public Parser(DynamicRuntimeState globalState
               , DiagnosticRepresentations diagnostics
               )
 {
     GlobalState = globalState.ValidateNotNull(nameof(globalState));
     Diagnostics = diagnostics;
 }
Beispiel #2
0
 public KaleidoscopeUserOperatorListener(DynamicRuntimeState state)
 {
     RuntimeState = state;
 }