Table of Contents

Method GetTokens

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

GetTokens(int, bool)

Gets list of tokens suitable for specified line index.

public IList<TypeScriptTokenizer.LineToken> GetTokens(int index, bool add)

Parameters

index int

Index of line.

add bool

Indicates whether to extend token collection if necessary.

Returns

IList<TypeScriptTokenizer.LineToken>

List of LineToken at specified line.