Lexer.this

Creates a Lexer.

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

Parameters

filename const(char)*

used for error messages

base const(char)*

source code, ending in a 0 byte

begoffset size_t

starting offset into base[]

endoffset size_t

last offset into base[]

doDocComment bool

handle documentation comments

commentToken bool

comments become TOKcomment's

Meta