Skip to main content

Class: Lexer

lexure/src.Lexer

Constructors

constructor

new Lexer(options?)

Parameters

NameType
optionsOptions

Defined in

projects/utilities/packages/lexure/src/lib/lexer/Lexer.ts:8

Properties

quotes

Readonly quotes: readonly [open: string, close: string][]

Defined in

projects/utilities/packages/lexure/src/lib/lexer/Lexer.ts:5


separator

Readonly separator: string

Defined in

projects/utilities/packages/lexure/src/lib/lexer/Lexer.ts:6

Methods

raw

raw(input): TokenStream

Parameters

NameType
inputstring

Returns

TokenStream

Defined in

projects/utilities/packages/lexure/src/lib/lexer/Lexer.ts:17


run

run(input): ParameterStream

Parameters

NameType
inputstring

Returns

ParameterStream

Defined in

projects/utilities/packages/lexure/src/lib/lexer/Lexer.ts:13