Lexer.this

Creates a Lexer.

class Lexer
this
(
const(char)* filename
,
const(char)* base
,
size_t begoffset
,
size_t endoffset
,,
)

Parameters

filename
Type: const(char)*

used for error messages

base
Type: const(char)*

source code, ending in a 0 byte

begoffset
Type: size_t

starting offset into base[]

endoffset
Type: size_t

last offset into base[]

doDocComment
Type: bool

handle documentation comments

commentToken
Type: bool

comments become TOKcomment's

Meta