C# Class LLC.Parser

显示文件 Open project: Gl237man/mineroute Class Usage Examples

Public Properties

Property Type Description
errors Errors
gen CodeGenerator
la Token
scanner Scanner
t Token
tab SymbolTable

Public Methods

Method Description
Assign ( ) : void
CompareOp ( string &ID ) : void
CompareOpType ( string &optype ) : void
Const ( string &ID ) : void
Expect ( int n ) : void
ExpectWeak ( int n, int follow ) : void
Expresion ( string &ID ) : void
Get ( ) : void
Ident ( string &name ) : void
LogicOp ( string &ID ) : void
LogicOpType ( string &optype ) : void
MultOp ( string &ID ) : void
MultOpType ( string &optype ) : void
Parse ( ) : void
Parser ( Scanner scanner ) : System
PortDecl ( ) : void
SemErr ( string msg ) : void
SumOp ( string &ID ) : void
SumOpType ( string &optype ) : void
SynErr ( int n ) : void
Term ( string &ID ) : void
TrigDecl ( ) : void
UNOp ( string &ID ) : void
UnOpType ( string &optype ) : void
WireDecl ( ) : void
llc ( ) : void

Private Methods

Method Description
StartOf ( int s ) : bool
WeakSeparator ( int n, int syFol, int repFol ) : bool

Method Details

Assign() public method

public Assign ( ) : void
return void

CompareOp() public method

public CompareOp ( string &ID ) : void
ID string
return void

CompareOpType() public method

public CompareOpType ( string &optype ) : void
optype string
return void

Const() public method

public Const ( string &ID ) : void
ID string
return void

Expect() public method

public Expect ( int n ) : void
n int
return void

ExpectWeak() public method

public ExpectWeak ( int n, int follow ) : void
n int
follow int
return void

Expresion() public method

public Expresion ( string &ID ) : void
ID string
return void

Get() public method

public Get ( ) : void
return void

Ident() public method

public Ident ( string &name ) : void
name string
return void

LogicOp() public method

public LogicOp ( string &ID ) : void
ID string
return void

LogicOpType() public method

public LogicOpType ( string &optype ) : void
optype string
return void

MultOp() public method

public MultOp ( string &ID ) : void
ID string
return void

MultOpType() public method

public MultOpType ( string &optype ) : void
optype string
return void

Parse() public method

public Parse ( ) : void
return void

Parser() public method

public Parser ( Scanner scanner ) : System
scanner Scanner
return System

PortDecl() public method

public PortDecl ( ) : void
return void

SemErr() public method

public SemErr ( string msg ) : void
msg string
return void

SumOp() public method

public SumOp ( string &ID ) : void
ID string
return void

SumOpType() public method

public SumOpType ( string &optype ) : void
optype string
return void

SynErr() public method

public SynErr ( int n ) : void
n int
return void

Term() public method

public Term ( string &ID ) : void
ID string
return void

TrigDecl() public method

public TrigDecl ( ) : void
return void

UNOp() public method

public UNOp ( string &ID ) : void
ID string
return void

UnOpType() public method

public UnOpType ( string &optype ) : void
optype string
return void

WireDecl() public method

public WireDecl ( ) : void
return void

llc() public method

public llc ( ) : void
return void

Property Details

errors public_oe property

public Errors errors
return Errors

gen public_oe property

public CodeGenerator gen
return CodeGenerator

la public_oe property

public Token la
return Token

scanner public_oe property

public Scanner scanner
return Scanner

t public_oe property

public Token t
return Token

tab public_oe property

public SymbolTable tab
return SymbolTable