Esempio n. 1
0
 /**
  * <summary>Creates a new parser.</summary>
  *
  * <param name='input'>the input stream to read from</param>
  *
  * <param name='analyzer'>the analyzer to parse with</param>
  *
  * <exception cref='ParserCreationException'>if the parser
  * couldn't be initialized correctly</exception>
  */
 public DokiScriptParser(TextReader input, DokiScriptAnalyzer analyzer)
     : base(input, analyzer)
 {
     CreatePatterns();
 }
Esempio n. 2
0
 /**
  * <summary>Creates a new parser.</summary>
  *
  * <param name='input'>the input stream to read from</param>
  *
  * <param name='analyzer'>the analyzer to parse with</param>
  *
  * <exception cref='ParserCreationException'>if the parser
  * couldn't be initialized correctly</exception>
  */
 public DokiScriptParser(TextReader input, DokiScriptAnalyzer analyzer)
     : base(input, analyzer)
 {
     CreatePatterns();
 }