dil ~master (2015-07-05T21:12:10Z)
Home
Dub
Repo
Highlighter.highlightTokens
dil
Highlighter
Highlighter
Highlights tokens in a string.
cstring
highlightTokens
(
cstring
text
,
cstring
filePath
,
out
uint
lines
)
class
Highlighter
cstring
highlightTokens
(
cstring
text
,
cstring
filePath
,
out
uint
lines
)
void
highlightTokens
(
Token
[]
tokens
,
bool
skipWS
=
false
)
void
highlightTokens
(
ref
CharArray
buffer
,
Token
[]
tokens
,
bool
skipWS
=
false
)
void
highlightTokens
(
cstring
filePath
,
bool
opt_printLines
)
Return Value
Type:
cstring
A string with the highlighted tokens.
Meta
Source
See Implementation
dil
Highlighter
Highlighter
constructors
this
functions
highlightSyntax
highlightTokens
print
printToken
printf
takeText
static functions
scanEscapeSequences
variables
buffer
cc
tags
Highlights tokens in a string.