dmdscript v2.1.0 (2021-12-16T21:42:33Z)
Dub
Repo
Lexer.locToSrcline
dmdscript
lexer
Lexer
Given source text, convert loc to a string for the corresponding line.
class
Lexer
static
d_string
locToSrcline
(
immutable
(
char
)*
src
,
Loc
loc
)
Meta
Source
See Implementation
dmdscript
lexer
Lexer
constructors
this
destructors
~this
functions
allocToken
error
escapeSequence
get
inc
insertSemicolon
nextToken
number
peek
regexp
rescan
scan
string
unicode
static functions
isKeyword
locToSrcline
static variables
inited
variables
base
currentline
end
errinfo
freelist
p
sourcename
stringbuffer
stringtable
token
useStringtable
Given source text, convert loc to a string for the corresponding line.