Method ParseText
- Namespace
- Alternet.Syntax.Parsers.TypeScript
- Assembly
- Alternet.Syntax.Parsers.TypeScript.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
intSpecifies start lexical state.
line
intSpecifies current line within the text.
str
stringText to analyze.
colorData
StringItemInfo[]Receives color data representing lexical information of the given text.
Returns
- int
Final lexical state.