C# Class MakeScannerCS.MakeScanner

Mostrar archivo Open project: jamescurran/ShakespeareCompiler Class Usage Examples

Public Methods

Method Description
InsertFile ( string filename ) : void
MakeScanner ( string inc_path ) : System
RuleForWord ( string line, string token ) : void
RulesFromFile ( string filename, string token ) : void
WriteLine ( ) : void
WriteLine ( string text ) : void

Private Methods

Method Description
MakeRegExp ( string line ) : string
WriteTo ( TextWriter textWriter ) : void

Method Details

InsertFile() public method

public InsertFile ( string filename ) : void
filename string
return void

MakeScanner() public method

public MakeScanner ( string inc_path ) : System
inc_path string
return System

RuleForWord() public method

public RuleForWord ( string line, string token ) : void
line string
token string
return void

RulesFromFile() public method

public RulesFromFile ( string filename, string token ) : void
filename string
token string
return void

WriteLine() public method

public WriteLine ( ) : void
return void

WriteLine() public method

public WriteLine ( string text ) : void
text string
return void