Class: Scanner
vendor/snippet/snippetParser.Scanner
Constructors
constructor
• new Scanner()
Properties
pos
• pos: number
= 0
Defined in
vendor/snippet/snippetParser.ts:62
value
• value: string
= ''
Defined in
vendor/snippet/snippetParser.ts:61
_table
▪ Static
Private
_table: Object
Index signature
▪ [ch: number
]: TokenType
Defined in
vendor/snippet/snippetParser.ts:37
Methods
next
▸ next(): Token
Returns
Defined in
vendor/snippet/snippetParser.ts:73
text
▸ text(value
): void
Parameters
Name | Type |
---|---|
value | string |
Returns
void
Defined in
vendor/snippet/snippetParser.ts:64
tokenText
▸ tokenText(token
): string
Parameters
Name | Type |
---|---|
token | Token |
Returns
string
Defined in
vendor/snippet/snippetParser.ts:69
isDigitCharacter
▸ Static
isDigitCharacter(ch
): boolean
Parameters
Name | Type |
---|---|
ch | number |
Returns
boolean
Defined in
vendor/snippet/snippetParser.ts:51
isVariableCharacter
▸ Static
isVariableCharacter(ch
): boolean
Parameters
Name | Type |
---|---|
ch | number |
Returns
boolean
Defined in
vendor/snippet/snippetParser.ts:55