MCPcopy Create free account
hub / github.com/adamritter/fastgron / parseIdentifier

Method parseIdentifier

src/parse_path.cpp:243–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 }
242
243 void parseIdentifier(std::string &identifier)
244 {
245 skipWhitespace();
246 std::size_t start = index_;
247 while (index_ < input_.size() && isIdentifierChar(input_[index_]))
248 {
249 ++index_;
250 }
251 identifier = input_.substr(start, index_ - start);
252 }
253
254 bool tryParseInt(int &value)
255 {

Callers

nothing calls this directly

Calls 3

isIdentifierCharFunction · 0.85
substrMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected