Skip to main content

Class: Lexer

Constructors​

new Lexer()​

new Lexer(options: Options): Lexer

Parameters​

ParameterType
optionsOptions

Returns​

Lexer

Defined in​

lexer/Lexer.ts:8

Properties​

quotes​

readonly quotes: readonly [string, string][]

Defined in​

lexer/Lexer.ts:5


separator​

readonly separator: string

Defined in​

lexer/Lexer.ts:6

Methods​

raw()​

raw(input: string): TokenStream

Parameters​

ParameterType
inputstring

Returns​

TokenStream

Defined in​

lexer/Lexer.ts:17


run()​

run(input: string): ParameterStream

Parameters​

ParameterType
inputstring

Returns​

ParameterStream

Defined in​

lexer/Lexer.ts:13