Token

constructor(type: T, start: Int, end: Int)(source)

Constructor for Token

Since

0.1.0

Parameters

type

the Token.type of the Token

start

the Token.start of the Token

end

the Token.end of the Token

See also


constructor(type: T, value: String?, start: Int, end: Int)(source)

Parameters

type

the Token.type of the Token

value

the Token.value of the Token

start

the Token.start of the Token

end

the Token.end of the Token