Options
All
  • Public
  • Public/Protected
  • All
Menu

Class asCTokenizer

Hierarchy

  • asCTokenizer

Index

Constructors

constructor

Properties

keywordTable

keywordTable: Map<string, TokenWord[]> = new Map<string, TokenWord[]>()

Methods

GetToken

  • GetToken(source: string): Token

IsComment

  • IsComment(source: string): Omit<Token, "tokenClass"> | null

IsConstant

  • IsConstant(source: string): Omit<Token, "tokenClass"> | null

IsDigitInRadix

  • IsDigitInRadix(ch: string, radix: number): boolean

IsIdentifier

  • IsIdentifier(source: string): Omit<Token, "tokenClass"> | null

IsKeyWord

  • IsKeyWord(source: string): Omit<Token, "tokenClass"> | null

IsWhiteSpace

  • IsWhiteSpace(source: string): Omit<Token, "tokenClass"> | null

ParseToken

  • ParseToken(source: string): Token

Static GetDefinition

  • GetDefinition(tokenType: number): string

Generated using TypeDoc