C# Класс ICSharpCode.NRefactory.CSharp.Completion.CSharpCompletionEngineBase.MiniLexer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
IsFistNonWs bool
IsInChar bool
IsInMultiLineComment bool
IsInPreprocessorDirective bool
IsInSingleComment bool
IsInString bool
IsInVerbatimString bool

Открытые методы

Метод Описание
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.

Описание методов

MiniLexer() публичный Метод

public MiniLexer ( string text ) : System
text string
Результат System

Parse() публичный Метод

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.
Результат bool

Parse() публичный Метод

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.
Результат bool

Описание свойств

IsFistNonWs публичное свойство

public bool IsFistNonWs
Результат bool

IsInChar публичное свойство

public bool IsInChar
Результат bool

IsInMultiLineComment публичное свойство

public bool IsInMultiLineComment
Результат bool

IsInPreprocessorDirective публичное свойство

public bool IsInPreprocessorDirective
Результат bool

IsInSingleComment публичное свойство

public bool IsInSingleComment
Результат bool

IsInString публичное свойство

public bool IsInString
Результат bool

IsInVerbatimString публичное свойство

public bool IsInVerbatimString
Результат bool