Tagscript

tagscript


Class: Lexer

Defined in: Interpreter/Lexer.ts:22

Represents the passed Tag.

Constructors

new Lexer()

new Lexer(input, limit, parenType): Lexer

Defined in: Interpreter/Lexer.ts:47

Parameters

input

string

limit

number = 2_000

parenType

ParenType = ParenType.Both

Returns

Lexer

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

Defined in: Interpreter/Lexer.ts:65

Returns

object

declaration

declaration: null | string

parameter

parameter: null | string

payload

payload: null | string

usedParenType

usedParenType: ParenType


toString()

toString(): string

Defined in: Interpreter/Lexer.ts:55

Returns

string

On this page