C# Class Tools.Parser

显示文件 Open project: Ezakhiel/Donate-Money-For-Unicorns-ubbse2015 Class Usage Examples

Public Properties

Property Type Description
m_debug bool
m_lexer Lexer
m_stkdebug bool
m_symbols YyParser

Public Methods

Method Description
Create ( ) : void
Error ( int n, SYMBOL sym, string s ) : void
NextSym ( ) : SYMBOL
Parse ( CsReader inFile ) : SYMBOL
Parse ( StreamReader input ) : SYMBOL
Parse ( string buf ) : SYMBOL
Parser ( YyParser syms, Lexer lexer ) : System
StackAt ( int ix ) : ParseStackEntry

Protected Methods

Method Description
Error ( ParseStackEntry &top, string str ) : bool

Private Methods

Method Description
Parse ( ) : SYMBOL
Pop ( ParseStackEntry &elt, int depth, SYMBOL ns ) : void
Push ( ParseStackEntry elt ) : void

Method Details

Create() public method

public Create ( ) : void
return void

Error() protected method

protected Error ( ParseStackEntry &top, string str ) : bool
top ParseStackEntry
str string
return bool

Error() public method

public Error ( int n, SYMBOL sym, string s ) : void
n int
sym SYMBOL
s string
return void

NextSym() public method

public NextSym ( ) : SYMBOL
return SYMBOL

Parse() public method

public Parse ( CsReader inFile ) : SYMBOL
inFile CsReader
return SYMBOL

Parse() public method

public Parse ( StreamReader input ) : SYMBOL
input System.IO.StreamReader
return SYMBOL

Parse() public method

public Parse ( string buf ) : SYMBOL
buf string
return SYMBOL

Parser() public method

public Parser ( YyParser syms, Lexer lexer ) : System
syms YyParser
lexer Lexer
return System

StackAt() public method

public StackAt ( int ix ) : ParseStackEntry
ix int
return ParseStackEntry

Property Details

m_debug public_oe property

public bool m_debug
return bool

m_lexer public_oe property

public Lexer m_lexer
return Lexer

m_stkdebug public_oe property

public bool m_stkdebug
return bool

m_symbols public_oe property

public YyParser m_symbols
return YyParser