C# Class Tools.CSymbol

Inheritance: TOKEN
Exibir arquivo Open project: Ezakhiel/Donate-Money-For-Unicorns-ubbse2015 Class Usage Examples

Public Properties

Property Type Description
m_defined bool
m_emitted bool
m_first SymbolSet
m_follow SymbolSet
m_initialisation string
m_parser SymbolsGen
m_prec Precedence
m_prod Production
m_prods ObjectList
m_refSymbol CSymbol
m_symtype SymType
m_yynum int

Public Methods

Method Description
AddFollow ( SymbolSet map ) : bool
AddStartItems ( ParseState pstate, SymbolSet follows ) : void
CSymbol ( Lexer yyl ) : System
CSymbol ( SymbolsGen yyp ) : System
IsNullable ( ) : bool
IsTerminal ( ) : bool
Matches ( string s ) : bool
Resolve ( ) : CSymbol
Serialise ( object o, Tools.Serialiser s ) : object
ShiftPrecedence ( Production prod, ParseState ps ) : Precedence.PrecType
TypeStr ( ) : string

Protected Methods

Method Description
CSymbol ( ) : System

Private Methods

Method Description
Next ( ParseState p ) : ParseState
Reduce ( ParseState p ) : Hashtable

Method Details

AddFollow() public method

public AddFollow ( SymbolSet map ) : bool
map SymbolSet
return bool

AddStartItems() public method

public AddStartItems ( ParseState pstate, SymbolSet follows ) : void
pstate ParseState
follows SymbolSet
return void

CSymbol() protected method

protected CSymbol ( ) : System
return System

CSymbol() public method

public CSymbol ( Lexer yyl ) : System
yyl Lexer
return System

CSymbol() public method

public CSymbol ( SymbolsGen yyp ) : System
yyp SymbolsGen
return System

IsNullable() public method

public IsNullable ( ) : bool
return bool

IsTerminal() public method

public IsTerminal ( ) : bool
return bool

Matches() public method

public Matches ( string s ) : bool
s string
return bool

Resolve() public method

public Resolve ( ) : CSymbol
return CSymbol

Serialise() public static method

public static Serialise ( object o, Tools.Serialiser s ) : object
o object
s Tools.Serialiser
return object

ShiftPrecedence() public method

public ShiftPrecedence ( Production prod, ParseState ps ) : Precedence.PrecType
prod Production
ps ParseState
return Precedence.PrecType

TypeStr() public method

public TypeStr ( ) : string
return string

Property Details

m_defined public_oe property

public bool m_defined
return bool

m_emitted public_oe property

public bool m_emitted
return bool

m_first public_oe property

public SymbolSet,Tools m_first
return SymbolSet

m_follow public_oe property

public SymbolSet,Tools m_follow
return SymbolSet

m_initialisation public_oe property

public string m_initialisation
return string

m_parser public_oe property

public SymbolsGen,Tools m_parser
return SymbolsGen

m_prec public_oe property

public Precedence,Tools m_prec
return Precedence

m_prod public_oe property

public Production,Tools m_prod
return Production

m_prods public_oe property

public ObjectList m_prods
return ObjectList

m_refSymbol public_oe property

public CSymbol,Tools m_refSymbol
return CSymbol

m_symtype public_oe property

public SymType m_symtype
return SymType

m_yynum public_oe property

public int m_yynum
return int