ddc ~master (2022-05-11T07:34:37.0755476)
Dub
Repo
Loc
dmd
globals
Undocumented in source.
struct
Loc {
const
(
char
)*
filename
;
uint
linnum
;
uint
charnum
;
version(LocOffset)
uint
fileOffset
;
static immutable
Loc
initial
;
this
(const(char)* filename, uint linnum, uint charnum);
const
(
char
)*
toChars
(bool showColumns, ubyte messageStyle);
bool
equals
(const(Loc) loc);
bool
opEquals
(const(Loc) loc);
size_t
toHash
();
bool
isValid
();
}
Constructors
this
this
(const(char)* filename, uint linnum, uint charnum)
Undocumented in source.
Members
Functions
equals
bool
equals
(const(Loc) loc)
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool
isValid
()
opEquals
bool
opEquals
(const(Loc) loc)
Undocumented in source. Be warned that the author may not have intended to support it.
toChars
const
(
char
)*
toChars
(bool showColumns, ubyte messageStyle)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t
toHash
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
initial
Loc
initial
;
use for default initialization of const ref Loc's
Variables
charnum
uint
charnum
;
Undocumented in source.
fileOffset
uint
fileOffset
;
Undocumented in source.
filename
const
(
char
)*
filename
;
Undocumented in source.
linnum
uint
linnum
;
Undocumented in source.
Meta
Source
See Implementation
dmd
globals
aliases
StorageClass
d_int16
d_int32
d_int64
d_int8
d_uns16
d_uns32
d_uns64
d_uns8
dinteger_t
sinteger_t
structalign_t
uinteger_t
enums
CHECKACTION
CHECKENABLE
CPPMANGLE
CPU
CppStdRevision
CxxHeaderMode
DiagnosticReporting
FeatureState
JsonFieldFlags
LINK
MATCH
MessageStyle
PIC
PINLINE
TARGET
TargetOS
manifest constants
STRUCTALIGN_DEFAULT
static variables
global
structs
Global
Loc
Param
templates
xversion