C# Class RDParser.RDMain

Entry point to the Recursive Descent Parser.
Show file Open project: realn0whereman/ScanGen Class Usage Examples

Public Methods

Method Description
CharClass ( ) : void
MergeIntoGiantNFA ( ) : Graph
RDMain ( string fileContents ) : System
doParse ( ) : Graph

Private Methods

Method Description
AddNewAcceptingVertex ( string transString, bool charClass ) : void
CharClass1 ( ) : void
CharSetList ( ) : void
CharSetTail ( ) : void
Charset ( ) : void
DefinedClass ( ) : string
ExcludeSet ( ) : void
ExcludeSetTail ( ) : void
RE_CHAR ( ) : bool
Regexp ( ) : void
Rexp ( ) : void
Rexp1 ( ) : void
Rexp1Prime ( ) : void
Rexp2 ( ) : void
Rexp2Tail ( ) : void
Rexp3 ( ) : void
RexpPrime ( ) : void
parseLine ( string line ) : Graph>.Tuple

Parse a line in the character class definition and token definition file

Method Details

CharClass() public method

public CharClass ( ) : void
return void

MergeIntoGiantNFA() public method

public MergeIntoGiantNFA ( ) : Graph
return GraphLibrary.Graph

RDMain() public method

public RDMain ( string fileContents ) : System
fileContents string
return System

doParse() public method

public doParse ( ) : Graph
return GraphLibrary.Graph