tartar
/
com.github.adriantodt.tartar.extensions
/
makeToken
common
make
Token
fun
<
T
>
LexerContext
<
Token
<
T
>>
.
makeToken
(
type
:
T
,
offset
:
Int
= 1
)
:
Token
<
T
>
Content copied to clipboard
fun
<
T
>
LexerContext
<
Token
<
T
>>
.
makeToken
(
type
:
T
,
string
:
String
,
offset
:
Int
= 0
)
:
Token
<
T
>
Content copied to clipboard
Creates a token.
This function is deprecated and will be replaced by the
token
function.