C# Class ICSharpCode.NRefactory.CSharp.Completion.CSharpCompletionEngineBase.MiniLexer

Afficher le fichier Open project: 0xd4d/NRefactory Class Usage Examples

Méthodes publiques

Свойство Type Description
IsFistNonWs bool
IsInChar bool
IsInMultiLineComment bool
IsInPreprocessorDirective bool
IsInSingleComment bool
IsInString bool
IsInVerbatimString bool

Méthodes publiques

Méthode Description
MiniLexer ( string text ) : System
Parse ( Func act = null ) : bool

Parsing all text and calling act delegate on almost every character. Skipping begining of comments, begining of verbatim strings and escaped characters.

Parse ( int start, int length, Func act = null ) : bool

Parsing text from start to start+length and calling act delegate on almost every character. Skipping begining of comments, begining of verbatim strings and escaped characters.

Method Details

MiniLexer() public méthode

public MiniLexer ( string text ) : System
text string
Résultat System

Parse() public méthode

Parsing all text and calling act delegate on almost every character. Skipping begining of comments, begining of verbatim strings and escaped characters.
public Parse ( Func act = null ) : bool
act Func Return true to abort parsing. Integer argument represent offset in text.
Résultat bool

Parse() public méthode

Parsing text from start to start+length and calling act delegate on almost every character. Skipping begining of comments, begining of verbatim strings and escaped characters.
public Parse ( int start, int length, Func act = null ) : bool
start int Start offset.
length int Lenght to parse.
act Func Return true to abort parsing. Integer argument represent offset in text.
Résultat bool

Property Details

IsFistNonWs public_oe property

public bool IsFistNonWs
Résultat bool

IsInChar public_oe property

public bool IsInChar
Résultat bool

IsInMultiLineComment public_oe property

public bool IsInMultiLineComment
Résultat bool

IsInPreprocessorDirective public_oe property

public bool IsInPreprocessorDirective
Résultat bool

IsInSingleComment public_oe property

public bool IsInSingleComment
Résultat bool

IsInString public_oe property

public bool IsInString
Résultat bool

IsInVerbatimString public_oe property

public bool IsInVerbatimString
Résultat bool