C# Class IronRuby.Tests.DefaultParserLogger

Inheritance: IParserLogger
Mostra file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
Attach ( Parser parser ) : void
Attach ( Parser parser, TextWriter output ) : void
BeforeGoto ( int stateId, int ruleId ) : void
BeforeReduction ( int ruleId, int rhsLength ) : void
BeforeShift ( int stateId, int tokenId, bool isErrorShift ) : void
DefaultParserLogger ( Parser parser, int verbosity, TextWriter output ) : System
NextToken ( int tokenId ) : void
StateEntered ( ) : void

Private Methods

Method Description
DumpStack ( ) : void
Log ( string format ) : void
LogRule ( string message, int ruleId ) : void
LogState ( string action, int stateId ) : void
LogToken ( string message, int tokenId ) : void

Method Details

Attach() public static method

public static Attach ( Parser parser ) : void
parser IronRuby.Compiler.Parser
return void

Attach() public static method

public static Attach ( Parser parser, TextWriter output ) : void
parser IronRuby.Compiler.Parser
output System.IO.TextWriter
return void

BeforeGoto() public method

public BeforeGoto ( int stateId, int ruleId ) : void
stateId int
ruleId int
return void

BeforeReduction() public method

public BeforeReduction ( int ruleId, int rhsLength ) : void
ruleId int
rhsLength int
return void

BeforeShift() public method

public BeforeShift ( int stateId, int tokenId, bool isErrorShift ) : void
stateId int
tokenId int
isErrorShift bool
return void

DefaultParserLogger() public method

public DefaultParserLogger ( Parser parser, int verbosity, TextWriter output ) : System
parser IronRuby.Compiler.Parser
verbosity int
output System.IO.TextWriter
return System

NextToken() public method

public NextToken ( int tokenId ) : void
tokenId int
return void

StateEntered() public method

public StateEntered ( ) : void
return void