C# Class SlimDX.Generator.HeaderParser

Implements a parser for C++ header files.
Afficher le fichier Open project: SlimDX/SlimDX-v2 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Parse() public méthode

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.
Résultat SlimDX.Generator.NonTerminal