C# Class at.jku.ssw.Coco.ParserGen

Inheritance: at.jku.ssw.Coco.AbstractParserGen
显示文件 Open project: Gl237man/mineroute Class Usage Examples

Public Properties

Property Type Description
usingPos Position

Public Methods

Method Description
CopySourcePart ( Position pos, int indent ) : void
GenCode ( Node p, int indent, BitArray isChecked ) : void
GenCodePragmas ( ) : void
GenCond ( BitArray s, Node p ) : void
GenErrorMsg ( int errTyp, Symbol sym ) : void
GenPragmas ( ) : void
GenProductions ( ) : void
GenTokens ( ) : void
Indent ( int n ) : void
InitSets ( ) : void
ParserGen ( Parser parser ) : System
PutCaseLabels ( BitArray s ) : void
WriteParser ( ) : void
WriteStatistics ( ) : void

Private Methods

Method Description
NewCondSet ( BitArray s ) : int
Overlaps ( BitArray s1, BitArray s2 ) : bool
UseSwitch ( Node p ) : bool

Method Details

CopySourcePart() public method

public CopySourcePart ( Position pos, int indent ) : void
pos Position
indent int
return void

GenCode() public method

public GenCode ( Node p, int indent, BitArray isChecked ) : void
p Node
indent int
isChecked System.Collections.BitArray
return void

GenCodePragmas() public method

public GenCodePragmas ( ) : void
return void

GenCond() public method

public GenCond ( BitArray s, Node p ) : void
s System.Collections.BitArray
p Node
return void

GenErrorMsg() public method

public GenErrorMsg ( int errTyp, Symbol sym ) : void
errTyp int
sym Symbol
return void

GenPragmas() public method

public GenPragmas ( ) : void
return void

GenProductions() public method

public GenProductions ( ) : void
return void

GenTokens() public method

public GenTokens ( ) : void
return void

Indent() public method

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

InitSets() public method

public InitSets ( ) : void
return void

ParserGen() public method

public ParserGen ( Parser parser ) : System
parser Parser
return System

PutCaseLabels() public method

public PutCaseLabels ( BitArray s ) : void
s System.Collections.BitArray
return void

WriteParser() public method

public WriteParser ( ) : void
return void

WriteStatistics() public method

public WriteStatistics ( ) : void
return void

Property Details

usingPos public_oe property

public Position,at.jku.ssw.Coco usingPos
return Position