pyd v0.14.3 (2022-03-12T16:12:50Z)
Home
Dub
Repo
Replace.NextAt
pyd
util
replace
Replace
Undocumented in source.
template
Replace
(string base, T...)
template
NextAt (
string
base
string
longest_spec
size_t
_at0
size_t
_ti0
T
...
) {
static if
(
T.length == 0
)
static if
(
_at0 == -1
)
enum
size_t
at
;
static if
(
T.length == 0
)
static if
(
_at0 == -1
)
enum
size_t
ti
;
static if
(
T.length == 0
)
static if
(!(
_at0 == -1
))
enum
at
;
static if
(
T.length == 0
)
static if
(!(
_at0 == -1
))
enum
ti
;
static if
(!(
T.length == 0
))
enum
size_t
_at1
;
alias
N2
=
NextAt
!(
base
,
T
[$ -
2
],
_at1
,
T
.
length
-
2
,
T
[
0
..$ -
2
])
;
alias
N2
=
NextAt
!(
base
,
longest_spec
,
_at0
,
_ti0
,
T
[
0
..$ -
2
])
;
static if
(!(
T.length == 0
))
enum
at
;
static if
(!(
T.length == 0
))
enum
ti
;
}
Members
Aliases
N2
alias
N2
=
NextAt
!(
base
,
longest_spec
,
_at0
,
_ti0
,
T
[
0
..$ -
2
])
Undocumented in source.
N2
alias
N2
=
NextAt
!(
base
,
T
[$ -
2
],
_at1
,
T
.
length
-
2
,
T
[
0
..$ -
2
])
Undocumented in source.
Manifest constants
at
enum
at
;
Undocumented in source.
at
enum
at
;
Undocumented in source.
ti
enum
ti
;
Undocumented in source.
ti
enum
ti
;
Undocumented in source.
Variables
_at1
enum
size_t
_at1
;
Undocumented in source.
at
enum
size_t
at
;
Undocumented in source.
ti
enum
size_t
ti
;
Undocumented in source.
Meta
Source
See Implementation
pyd
util
replace
Replace
aliases
N
manifest constants
Replace
templates
NextAt