Documentation
¶
Overview ¶
Package token contains the definition of the lexical tokens of the TypeScript programming language.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind int
Kind is the set of lexical tokens of the TypeScript programming language.
const ( // Special tokens. Illegal Kind = iota EOF // Comments. Comment // // or /* */ at the beginning of a line LineComment // // or /* */ at the end of a line // Identifiers and literals. Ident // main, const, extends, etc. Number // 12345 String // "abc" // Operators. Or // | Assign // = Minus // - // Delimiters and punctuation. LParen // ( RParen // ) LBrack // [ RBrack // ] LBrace // { RBrace // } LAngle // < RAngle // > Comma // , Dot // . Colon // : Semicolon // ; Question // ? )
Click to show internal directories.
Click to hide internal directories.