Exemplo n.º 1
0
 public static XbnfDocument ReadFrom(TextReader reader)
 => Parse(ParseContext.CreateFrom(reader));
Exemplo n.º 2
0
 /// <summary>
 /// Parses a regular expresion from the specified <see cref="TextReader"/>
 /// </summary>
 /// <param name="reader">The text reader</param>
 /// <param name="accepting">The symbol reported when accepting the specified expression</param>
 /// <returns>A new expression that represents the regular expression</returns>
 public static RegexExpression ReadFrom(TextReader reader)
 => Parse(ParseContext.CreateFrom(reader));