Module glsl::parser [−][src]
GLSL parsing.
This module gives you several functions and types to deal with GLSL parsing, transforming an
input source into an AST. The AST is defined in the syntax
module.
You want to use the Parse
’s methods to get starting with parsing and pattern match on
the resulting Result
. In case of an error, you can inspect the content of the ParseError
object in the Err
variant.
Structs
ParseError | A parse error. It contains a |
Traits
Parse | Class of types that can be parsed. |