ddc v0.0.4+2.094.1 (2020-11-01T06:34:21Z)
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.