Skip to main content

Class: Lexer

Constructors

new Lexer()

new Lexer(options: Options): Lexer

Parameters

ParameterType
optionsOptions

Returns

Lexer

Source

lib/lexer/Lexer.ts:8

Properties

quotes

readonly quotes: readonly [string, string][]

Source

lib/lexer/Lexer.ts:5


separator

readonly separator: string

Source

lib/lexer/Lexer.ts:6

Methods

raw()

raw(input: string): TokenStream

Parameters

ParameterType
inputstring

Returns

TokenStream

Source

lib/lexer/Lexer.ts:17


run()

run(input: string): ParameterStream

Parameters

ParameterType
inputstring

Returns

ParameterStream

Source

lib/lexer/Lexer.ts:13