C# Class HlslParser, HL2GLSL

A token stream parser.
Inheritance: RecursiveDescentParser
显示文件 Open project: SickheadGames/HL2GLSL Class Usage Examples

Public Methods

Method Description
HlslParser ( TextReader input ) : System.IO

Creates a new parser.

HlslParser ( TextReader input, Analyzer, analyzer ) : System.IO

Creates a new parser.

Private Methods

Method Description
CreatePatterns ( ) : void

Initializes the parser by creating all the production * patterns.

Method Details

HlslParser() public method

Creates a new parser.
if the parser * couldn't be initialized correctly
public HlslParser ( TextReader input ) : System.IO
input TextReader the input stream to read from
return System.IO

HlslParser() public method

Creates a new parser.
if the parser * couldn't be initialized correctly
public HlslParser ( TextReader input, Analyzer, analyzer ) : System.IO
input TextReader the input stream to read from
analyzer Analyzer, the analyzer to parse with
return System.IO