Table of Contents

Method ParseText

Namespace
Alternet.Syntax.Parsers.Lsp
Assembly
Alternet.Syntax.Parsers.Lsp.v9.dll

ParseText(int, int, string, ref StringItemInfo[])

Performs lexical analysis of given text.

public override int ParseText(int state, int line, string str, ref StringItemInfo[] colorData)

Parameters

state int

Specifies start lexical state.

line int

Specifies current line within the text.

str string

Text to analyze.

colorData StringItemInfo[]

Receives color data representing lexical information of the given text.

Returns

int

Final lexical state.