C# Class IronRuby.Compiler.Parser

Datei anzeigen Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
ActionToString string
BuildStates IronRuby.Compiler.State[]
ClearInput void
DisableLogging void
DoDefaultAction void
DumpTables void
EnableLogging void
GetLocation Microsoft.Scripting.SourceSpan
GetNonTerminalName string
GetRuleLhsNonterminal int
GetRuleRhsLength int
GetSymbolName string
GetSyntaxErrorMessage string
GetValue IronRuby.Compiler.TokenValue
InitializeRulesMetadata void
InitializeTables void
LogBeforeGoto void
LogBeforeReduction void
LogBeforeShift void
LogNextToken void
LogStateEntered void
Parse bool
Reduce void
RuleToString string
Shift void
StopErrorRecovery void

Public Methods

Method Description
DiscardInvalidTokens ( ) : bool
ErrorRecovery ( ) : bool
FindErrorRecoveryState ( ) : bool
ShiftErrorToken ( ) : void

Private Methods

Method Description
ActionToString ( int action ) : string
BuildStates ( short data ) : IronRuby.Compiler.State[]
ClearInput ( ) : void
DisableLogging ( ) : void
DoDefaultAction ( ) : void
DumpTables ( TextWriter output ) : void
EnableLogging ( IParserLogger logger ) : void
GetLocation ( int depth ) : Microsoft.Scripting.SourceSpan
GetNonTerminalName ( int nonTerminal ) : string
GetRuleLhsNonterminal ( int ruleDef ) : int
GetRuleRhsLength ( int ruleDef ) : int
GetSymbolName ( int symbol ) : string
GetSyntaxErrorMessage ( ) : string
GetValue ( int depth ) : IronRuby.Compiler.TokenValue
InitializeRulesMetadata ( ParserTables tables ) : void
InitializeTables ( ) : void
LogBeforeGoto ( int stateId, int ruleId ) : void
LogBeforeReduction ( int ruleId, int rhsLength ) : void
LogBeforeShift ( int stateId, int tokenId, bool isErrorShift ) : void
LogNextToken ( int tokenId ) : void
LogStateEntered ( ) : void
Parse ( ) : bool
Reduce ( int ruleId ) : void
RuleToString ( int ruleIndex ) : string
Shift ( int stateId ) : void
StopErrorRecovery ( ) : void

Method Details

DiscardInvalidTokens() public method

public DiscardInvalidTokens ( ) : bool
return bool

ErrorRecovery() public method

public ErrorRecovery ( ) : bool
return bool

FindErrorRecoveryState() public method

public FindErrorRecoveryState ( ) : bool
return bool

ShiftErrorToken() public method

public ShiftErrorToken ( ) : void
return void