C# Class Alsing.SourceCode.SyntaxDocumentParsers.DefaultParser

Inheritance: IParser
Mostra file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
DefaultParser ( )

Init ( SyntaxDefinition syntaxDefinition ) : void

Init ( string SyntaxFile ) : void

Init ( string syntaxFile, string separators ) : void
ParsePreviewLine ( int RowIndex ) : void

ParseRow ( int index, bool ParseKeywords ) : void

Private Methods

Method Description
GetEndSegment ( Row Row, Span currentSpan, int StartPos ) : ScanResultSegment
GetNextChildSegment ( Row Row, Span currentSpan, int StartPos ) : ScanResultSegment
GetNextWord ( string Text, Span currentSpan, int StartPos, bool &HasComplex ) : ScanResultWord
InternalParseLine ( int index, bool ParseKeywords ) : void
IsSameButDifferent ( int RowIndex, Span oldStartSpan ) : bool
MakeSame ( int RowIndex ) : void
ParseText ( Row Row, Span currentSpan, string Text ) : void

Method Details

DefaultParser() public method

public DefaultParser ( )

Init() public method

public Init ( SyntaxDefinition syntaxDefinition ) : void
syntaxDefinition SyntaxDefinition
return void

Init() public method

public Init ( string SyntaxFile ) : void
SyntaxFile string
return void

Init() public method

public Init ( string syntaxFile, string separators ) : void
syntaxFile string
separators string
return void

ParsePreviewLine() public method

public ParsePreviewLine ( int RowIndex ) : void
RowIndex int
return void

ParseRow() public method

public ParseRow ( int index, bool ParseKeywords ) : void
index int
ParseKeywords bool
return void