C# Class SlimDX.Generator.HeaderParser

Implements a parser for C++ header files.
Show file Open project: SlimDX/SlimDX-v2 Class Usage Examples

Public Methods

Method Description
HeaderParser ( string grammarPath ) : System

Initializes a new instance of the HeaderParser class.

Parse ( string file ) : SlimDX.Generator.NonTerminal

Runs a custom "C++ Header" grammar on a preprocessed and transformed file to produce a tree of source elements in memory.

Method Details

HeaderParser() public method

Initializes a new instance of the HeaderParser class.
public HeaderParser ( string grammarPath ) : System
grammarPath string The path to the compiled GOLD grammar file.
return System

Parse() public method

Runs a custom "C++ Header" grammar on a preprocessed and transformed file to produce a tree of source elements in memory.
public Parse ( string file ) : SlimDX.Generator.NonTerminal
file string The preprocessed source file.
return SlimDX.Generator.NonTerminal