C# Class QUT.Gplex.Parser.AAST.ReParser

NESTED CLASS This is a hand-written, recursive descent parser. No error recovery attempted, instead an exception is thrown and the parse abandoned. The exception catch handler transforms the exception into a regular error diagnostic.
Exibir arquivo Open project: spark-shading-language/spark

Private Methods

Method Description
CharClass ( ) : RegExTree
CodePoint ( ) : int
Error ( int num, int idx, int len, string str ) : void
EscapedChar ( ) : int
Expr ( ) : RegExTree
Factor ( ) : RegExTree
GetCharCategory ( ) : Leaf
GetCharCategory ( string name, PredicateLeaf &rslt ) : bool
GetInt ( ) : int
GetRepetitions ( Unary tree ) : void
InitReParser ( ) : void

Defines the character set special to regular expressions and the valid characters to start syntatic category "Primary"

LitString ( ) : RegExTree
Parse ( ) : RegExTree
Primary ( ) : RegExTree
Primitive ( ) : RegExTree
ReParser ( string str, LexSpan spn, AAST parent ) : System
RegEx ( ) : RegExTree
Simple ( ) : RegExTree
Term ( ) : RegExTree
UseLexCat ( ) : RegExTree
Warn ( int num, int idx, int len, string str ) : void
checkAndScan ( char ex ) : void
isEofString ( ) : bool
peek ( ) : char

Do lookahead one position in string buffer

scan ( ) : void