C# Class Irony.Parsing.Construction.ParserDataBuilder

ファイルを表示 Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
Build ( ) : void
CleanupStateData ( ) : void
ComputeLR0ItemSetKey ( LR0ItemSet items ) : string

Private Methods

Method Description
CompareLR0Items ( LR0Item x, LR0Item y ) : int
ComputeAndResolveConflicts ( ) : void
ComputeLookaheads ( ) : void
ComputeStatesExpectedTerminals ( ) : void
ComputeTransitions ( ) : void
CreateAcceptAction ( ParserState initialState, NonTerminal augmentedRoot ) : void
CreateInitialState ( NonTerminal augmentedRoot ) : ParserState
CreateLookbackTransitions ( LRItemSet sourceItems ) : TransitionList
CreateParserStates ( ) : void
CreateRemainingReduceActions ( ) : void
ExpandParserStateList ( int initialIndex ) : void
FindOrCreateState ( LR0ItemSet coreItems ) : ParserState
GetReduceItemsInInadequateState ( ) : LRItemSet
ParserDataBuilder ( LanguageData language ) : System
RemoveTerminals ( TerminalSet terms ) : void
ReportAndCreateDefaultActionsForConflicts ( ParserState state ) : void
ResolveConflictByHints ( ParserState state, Terminal conflict ) : void
ResolveConflictByPrecedence ( ParserState state, Terminal conflict ) : void
SelectNewItemsThatNeedLookback ( TransitionList transitions ) : LRItemSet

Method Details

Build() public method

public Build ( ) : void
return void

CleanupStateData() public method

public CleanupStateData ( ) : void
return void

ComputeLR0ItemSetKey() public static method

public static ComputeLR0ItemSetKey ( LR0ItemSet items ) : string
items LR0ItemSet
return string