Beispiel #1
0
 public string Get(IImmutableStringReader reader)
 {
     return(reader.String.Substring(Start, End - Start));
 }
 public CommandSyntaxException CreateWithContext(IImmutableStringReader reader, object a, object b, object c, object d)
 {
     return(new CommandSyntaxException(this, _function(a, b, c, d), reader.String, reader.Cursor));
 }
 public CommandSyntaxException CreateWithContext(IImmutableStringReader reader)
 {
     return(new CommandSyntaxException(this, _message, reader.String, reader.Cursor));
 }
Beispiel #4
0
 public CommandSyntaxException CreateWithContext(IImmutableStringReader reader, params object[] args)
 {
     return(new CommandSyntaxException(this, _function(args), reader.String, reader.Cursor));
 }
Beispiel #5
0
 public ParseResults(CommandContextBuilder <TSource> context, IImmutableStringReader reader, IDictionary <CommandNode <TSource>, CommandSyntaxException> exceptions)
 {
     Context    = context;
     Reader     = reader;
     Exceptions = exceptions;
 }