public GrammarMatch(Grammar grammar, Scanner scanner, int index, int length, MatchCollection matches, int errorIndex, int childErrorIndex, IEnumerable<Parser> errors) : base(grammar.Name, grammar, scanner, index, length, matches) { this.errors = errors; this.ErrorIndex = errorIndex; this.ChildErrorIndex = childErrorIndex; }
public ParserInitializeArgs(Grammar grammar) { this.Grammar = grammar; }
internal ParseArgs(Grammar grammar, Scanner scanner) { Grammar = grammar; Scanner = scanner; }
/// <summary> /// Initializes a new copy of the <see cref="Eto.Parse.Grammar"/> class /// </summary> /// <param name="other">Other object to copy</param> /// <param name="args">Arguments for the copy</param> protected Grammar(Grammar other, ParserCloneArgs args) { this.EnableMatchEvents = other.EnableMatchEvents; this.Separator = args.Clone(other.Separator); this.CaseSensitive = other.CaseSensitive; }
private void CreateGrammar() { _grammar = _grammarLoader.CreateGrammar(); }