C# Class AsmHighlighter.Lexer.Scanner

Inheritance: ScanBase, IColorScan
Exibir arquivo Open project: Trass3r/AsmHighlighter Class Usage Examples

Public Properties

Property Type Description
AsmHighlighterTokenProvider IAsmHighlighterTokenProvider
buffer ScanBuff

Private Properties

Property Type Description
BEGIN void
ECHO void
GetMaxParseToken int
Map sbyte
NextState int
NextState int
Recurse2 System.Result
Scan int
Scanner System
yy_clear_stack void
yy_pop_state void
yy_push_state void
yy_top_state int

Public Methods

Method Description
GetChr ( ) : void
GetNext ( int &state, int &start, int &end ) : int
MarkEnd ( ) : void
MarkToken ( ) : void
RestorePos ( Context ctx ) : void
RestoreStateAndPos ( Context ctx ) : void
SaveStateAndPos ( Context ctx ) : void
Scanner ( Stream file ) : System
SetSource ( string source, int offset ) : void
yyless ( int n ) : void
yylex ( ) : int

Private Methods

Method Description
BEGIN ( int next ) : void
ECHO ( ) : void
GetMaxParseToken ( ) : int
Map ( int chr ) : sbyte
NextState ( ) : int
NextState ( int qStat ) : int
Recurse2 ( Context ctx, int next ) : System.Result
Scan ( ) : int
Scanner ( ) : System
yy_clear_stack ( ) : void
yy_pop_state ( ) : void
yy_push_state ( int state ) : void
yy_top_state ( ) : int

Method Details

GetChr() public method

public GetChr ( ) : void
return void

GetNext() public method

public GetNext ( int &state, int &start, int &end ) : int
state int
start int
end int
return int

MarkEnd() public method

public MarkEnd ( ) : void
return void

MarkToken() public method

public MarkToken ( ) : void
return void

RestorePos() public method

public RestorePos ( Context ctx ) : void
ctx Context
return void

RestoreStateAndPos() public method

public RestoreStateAndPos ( Context ctx ) : void
ctx Context
return void

SaveStateAndPos() public method

public SaveStateAndPos ( Context ctx ) : void
ctx Context
return void

Scanner() public method

public Scanner ( Stream file ) : System
file Stream
return System

SetSource() public method

public SetSource ( string source, int offset ) : void
source string
offset int
return void

yyless() public method

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

yylex() public method

public yylex ( ) : int
return int

Property Details

AsmHighlighterTokenProvider public_oe property

public IAsmHighlighterTokenProvider AsmHighlighterTokenProvider
return IAsmHighlighterTokenProvider

buffer public_oe property

public ScanBuff,AsmHighlighter.Lexer buffer
return ScanBuff