Lexer
Class: Lexer
Defined in: Interpreter/Lexer.ts:22
Represents the passed Tag.
Constructors
Constructor
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: string | null
Defined in: Interpreter/Lexer.ts:25
parameter
parameter: string | null
Defined in: Interpreter/Lexer.ts:23
payload
payload: string | null
Defined in: Interpreter/Lexer.ts:27
Methods
toJSON()
toJSON(): object
Defined in: Interpreter/Lexer.ts:65
Returns
object
declaration
declaration: string | null
parameter
parameter: string | null
payload
payload: string | null
usedParenType
usedParenType: ParenType
toString()
toString(): string
Defined in: Interpreter/Lexer.ts:55
Returns
string