Пример #1
0
 /// <summary>
 /// Creates a new TextTokenParser instance
 /// </summary>
 public TextTokenParser(ParserConfiguration config) : base(config)
 {
 }
Пример #2
0
 /// <summary>
 /// Creates a new Parser with a given configuration.
 /// </summary>
 /// <param name="configuration">ParserConfiguration object containing all settings.</param>
 public Parser(ParserConfiguration configuration)
 {
     Configuration = configuration;
     Errors        = new List <string>();
 }
Пример #3
0
 /// <summary>
 /// Create a new TokenParser instance
 /// </summary>
 /// <param name="config"></param>
 protected TokenParser(ParserConfiguration config)
 {
     Configuration = config;
     Contents      = string.Empty;
 }