ddc ~master (2022-05-11T07:34:37.0755476)
Dub
Repo
isConst
dmd
constfold
int
isConst
(
Expression
e
)
Return Value
Type:
int
true if e is a constant
Meta
Source
See Implementation
dmd
constfold
functions
Add
And
ArrayLength
Cast
Cat
Cmp
Com
Div
Equal
Identity
Index
Min
Mod
Mul
Neg
Not
Or
Pow
Ptr
Shl
Shr
Slice
Ushr
Xor
cantExp
isConst
sliceAssignArrayLiteralFromString
sliceAssignStringFromArrayLiteral
sliceAssignStringFromString
sliceCmpStringWithArray
sliceCmpStringWithString