View source code
Display the source code in dmd/lexer.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aBugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.

Struct dmd.lexer.CompileEnv

Values to use for various magic identifiers

struct CompileEnv;

Fields

NameTypeDescription
cCharLookupTable IdentifierCharLookupC identifier table (set to the lexer by the C parser)
date const(char)[]_DATE__
dCharLookupTable IdentifierCharLookupD identifier table
ddocOutput boolcollect embedded documentation comments
masm booluse MASM inline asm syntax
previewIn boolin means [ref] scope const, accepts rvalues
time const(char)[]_TIME__
timestamp const(char)[]_TIMESTAMP__
vendor const(char)[]_VENDOR__
versionNumber uint_VERSION__

Authors

Walter Bright

License

Boost License 1.0