Home | History | Annotate | Download | only in gn

Lines Matching defs:identifier

33 // identifier and places its range in |*identifier|, and updates |*i| to
40 base::StringPiece* identifier,
46 "I was expecting an identifier after the $.");
56 "I was expecting an identifier inside the ${...}.");
68 "$ not followed by an identifier char.",
75 // Find the first non-identifier char following the string.
88 *err = ErrInsideStringToken(token, *i, 1, "Not an identifier in string expansion.",
89 "The contents of ${...} should be an identifier. "
98 *identifier = base::StringPiece(&input[begin_offset],
105 const base::StringPiece& identifier,
108 const Value* value = scope->GetValue(identifier, true);
110 // We assume the identifier points inside the token.
112 token, identifier.data() - token.value().data() - 1, identifier.size(),
113 "Undefined identifier in string expansion.",
114 std::string("\"") + identifier + "\" is not currently in scope.");
154 base::StringPiece identifier;
155 if (!LocateInlineIdenfitier(literal, input, size, &i, &identifier, err))
157 if (!AppendIdentifierValue(scope, literal, identifier, &output, err))