ddc ~master (2022-05-11T07:34:37.0755476)
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
isAnonymous
toChars
toHChars2
toString
static functions
create
generateAnonymousId
generateId
generateIdWithLoc
idPool
initTable
isValidIdentifier
lookup
Determine if string is a valid Identifier.