Parser class.
More...
Parser class.
Definition at line 20 of file ShaderParser.cs.
| static Shader SiliconStudio.Shaders.Parser.ShaderParser.Check |
( |
ParsingResult |
result, |
|
|
string |
sourceFileName |
|
) |
| |
|
static |
| static T SiliconStudio.Shaders.Parser.ShaderParser.GetGrammar< T > |
( |
| ) |
|
|
static |
Gets the language.
- Template Parameters
-
- Returns
- Type Constraints
-
| T | : | ShaderGrammar | |
| T | : | new() | |
Definition at line 132 of file ShaderParser.cs.
Gets the parser.
- Template Parameters
-
- Returns
- Type Constraints
-
| T | : | ShaderGrammar | |
| T | : | new() | |
Definition at line 112 of file ShaderParser.cs.
| ParsingResult SiliconStudio.Shaders.Parser.ShaderParser.Parse |
( |
string |
sourceCode, |
|
|
string |
file |
|
) |
| |
Parses the specified source code.
- Template Parameters
-
- Parameters
-
| sourceCode | The source code. |
| file | The file. |
- Returns
- A parsing result
Definition at line 154 of file ShaderParser.cs.
| Shader SiliconStudio.Shaders.Parser.ShaderParser.ParseAndCheck |
( |
string |
sourceCode, |
|
|
string |
file |
|
) |
| |
Parse a source code file and check that the result is valid.
- Parameters
-
- Returns
Definition at line 190 of file ShaderParser.cs.
| Shader SiliconStudio.Shaders.Parser.ShaderParser.PreProcessAndParse |
( |
string |
source, |
|
|
string |
sourceFileName, |
|
|
ShaderMacro[] |
macros = null, |
|
|
params string[] |
includeDirectories |
|
) |
| |
Preprocesses and parses the specified source.
- Parameters
-
| source | The source. |
| sourceFileName | Name of the source file. |
| macros | The macros defined for the preprocessor. |
| includeDirectories | The include directories used by the preprocessor.. |
- Returns
- Result of parsing
Definition at line 100 of file ShaderParser.cs.
| ParsingResult SiliconStudio.Shaders.Parser.ShaderParser.TryPreProcessAndParse |
( |
string |
source, |
|
|
string |
sourceFileName, |
|
|
ShaderMacro[] |
macros = null, |
|
|
params string[] |
includeDirectories |
|
) |
| |
Preprocesses and parses the specified source.
- Parameters
-
| source | The source. |
| sourceFileName | Name of the source file. |
| macros | The macros defined for the preprocessor. |
| includeDirectories | The include directories used by the preprocessor.. |
- Returns
- Result of parsing
Definition at line 71 of file ShaderParser.cs.
Gets or sets the language data.
The language data.
Definition at line 43 of file ShaderParser.cs.
| Tokenizer SiliconStudio.Shaders.Parser.ShaderParser.Tokenizer |
|
getset |
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/common/shaders/SiliconStudio.Shaders/Parser/ShaderParser.cs