ddc ~master (2020-05-01T11:40:35Z)
Dub
Repo
Srcpos
dmd
backend
cc
//////// Position in source file
extern (
C
++) @
nogc
nothrow
struct
Srcpos {
nothrow
uint
Slinnum
;
nothrow
uint
Scharnum
;
version(SCPP)
nothrow
Sfile
**
Sfilptr
;
version(SCPP)
nothrow
short
Sfilnum
;
version(SPP)
nothrow
Sfile
**
Sfilptr
;
version(SPP)
nothrow
short
Sfilnum
;
version(HTOD)
nothrow
Sfile
**
Sfilptr
;
version(HTOD)
nothrow
short
Sfilnum
;
version(MARS)
nothrow
const
(
char
)*
Sfilename
;
void
set
(
const
(
char
)*
filename
,
uint
linnum
,
int
charnum
)
;
}
Members
Functions
set
void
set
(
const
(
char
)*
filename
,
uint
linnum
,
int
charnum
)
Set fields of Srcpos
Meta
Source
See Implementation
dmd
backend
cc
aliases
BC
ClassDeclaration_
FL
enum_flags_t
mptr_flags_t
pflags_t
sfile_flags_t
struct_flags_t
functions
ehmethod
list_symbol
manifest constants
IDMAX
structs
BlockRange
Cstate
EEcontext
Pstate
Srcpos
Symbol
TME
TMF
TMNE
TMNF
baseclass_t
dt_t
meminit_t
symtab_t
template_t
//////// Position in source file