Skip to main content

Class: Lexer

Defined in: lexer/Lexer.ts:4

Constructors

new Lexer()

new Lexer(options: Options): Lexer

Defined in: lexer/Lexer.ts:8

Parameters

ParameterType
optionsOptions

Returns

Lexer

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

Defined in: lexer/Lexer.ts:17

Parameters

ParameterType
inputstring

Returns

TokenStream


run()

run(input: string): ParameterStream

Defined in: lexer/Lexer.ts:13

Parameters

ParameterType
inputstring

Returns

ParameterStream