Table of Contents

Class TypeScriptTokenizer

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

Represents a class that performs lexical analysis of specified TypeScript code.

public class TypeScriptTokenizer
Inheritance
TypeScriptTokenizer

Properties

Initialized
ParsedCount
Repository
TypeNameToken

Gets or sets token related to the type name.

Methods

AddSyntaxToken(TokenList, TextResolver, ClassifiedSpan)
AddSyntaxToken(TokenList, TextResolver, ClassifiedSpan, int)
AddSyntaxTokens(TokenList, TextResolver, IEnumerable<ClassifiedSpan>, TextSpan)
AddTokens(TokenList, bool)
AlreadyParsed(int)
Clear()
EnsureParsed(IStringList, int)
GetSyntaxToken(ClassifiedSpan)
GetTokens(IEnumerable<ClassifiedSpan>, TextResolver, int, TextSpan)

Performs lexical analysis for given ClassifiedSpan collection.

IsReswordToken(int)
Parse(IStringList, int, int)
ParseText(int, ref StringItemInfo[])

Performs lexical analysis of given text.

PositionChanged(int, int, int, int, char)

Changes positions of any tokens located next to the specified position.

UpdateTokens(ILexScheme)