60 Identifier (String::CharPointerType nameStart, String::CharPointerType nameEnd);
78 inline bool operator== (
const Identifier& other)
const noexcept {
return name.getCharPointer() == other.name.getCharPointer(); }
81 inline bool operator!= (
const Identifier& other)
const noexcept {
return name.getCharPointer() != other.name.getCharPointer(); }
84 inline bool operator== (
StringRef other)
const noexcept {
return name == other; }
87 inline bool operator!= (
StringRef other)
const noexcept {
return name != other; }
90 inline bool operator< (
StringRef other)
const noexcept {
return name < other; }
93 inline bool operator<= (
StringRef other)
const noexcept {
return name <= other; }
96 inline bool operator> (
StringRef other)
const noexcept {
return name > other; }
99 inline bool operator>= (
StringRef other)
const noexcept {
return name >= other; }
105 operator String::CharPointerType() const noexcept {
return name.
getCharPointer(); }
108 String::CharPointerType
getCharPointer() const noexcept {
return name.getCharPointer(); }
114 bool isValid() const noexcept {
return name.isNotEmpty(); }
117 bool isNull() const noexcept {
return name.isEmpty(); }
bool isNull() const noexcept
String::CharPointerType getCharPointer() const noexcept
bool isValid() const noexcept
const String & toString() const noexcept
static bool isValidIdentifier(const String &possibleIdentifier) noexcept
CharPointerType getCharPointer() const noexcept