Tagscript

tagscript


Class: Lexer

Represents the passed Tag.

Constructors

new Lexer()

new Lexer(input, limit, parenType): Lexer

Parameters

input

string

limit

number = 2_000

parenType

ParenType = ParenType.Both

Returns

Lexer

Defined in

Interpreter/Lexer.ts:47

Properties

declaration

declaration: null | string

Defined in

Interpreter/Lexer.ts:25


parameter

parameter: null | string

Defined in

Interpreter/Lexer.ts:23


payload

payload: null | string

Defined in

Interpreter/Lexer.ts:27

Methods

toJSON()

toJSON(): object

Returns

object

declaration

declaration: null | string

parameter

parameter: null | string

payload

payload: null | string

usedParenType

usedParenType: ParenType

Defined in

Interpreter/Lexer.ts:65


toString()

toString(): string

Returns

string

Defined in

Interpreter/Lexer.ts:55

On this page