ddc ~loc-offset (2022-03-28T17:00:24.1812298)
Dub
Repo
Identifier.isValidIdentifier
dmd
identifier
Identifier
Determine if string is a valid Identifier.
bool
isValidIdentifier
(const(char)* str)
bool
isValidIdentifier
(const(char)[] str)
class
Identifier
nothrow extern (
D
) static
bool
isValidIdentifier
(
const
(
char
)[]
str
)
Parameters
str
const
(
char
)[]
string to check
Return Value
Type:
bool
false for invalid
Meta
Source
See Implementation
dmd
identifier
Identifier
constructors
this
functions
dyncast
getValue
toChars
toHChars2
toString
static functions
anonymous
create
generateId
generateIdWithLoc
idPool
initTable
isValidIdentifier
lookup
Determine if string is a valid Identifier.