Lines Matching full:identifier
1 //===--- IdentifierTable.h - Hash table for identifier lookup ---*- C++ -*-===//
41 /// \brief A simple pair of identifier info and location.
45 /// One of these records is kept for each identifier that
49 /// set, and all tok::identifier tokens have a pointer to one of these.
51 unsigned TokenID : 9; // Front-end token ID or tok::identifier.
58 bool IsExtension : 1; // True if identifier is a lang extension.
59 bool IsCXX11CompatKeyword : 1; // True if identifier is a keyword in C++11.
60 bool IsPoisoned : 1; // True if identifier is poisoned.
63 bool IsFromAST : 1; // True if identifier was loaded (at least
65 bool ChangedAfterLoad : 1; // True if identifier has changed from the
70 // information about this identifier
88 /// \brief Return true if this is the identifier for the specified string.
97 /// identifier.
110 /// \brief Efficiently return the length of this identifier info.
124 /// \brief Return the actual identifier string.
129 /// \brief Return true if this identifier is \#defined to some other value.
144 /// \brief Returns true if this identifier was \#defined to some value at any
145 /// moment. In this case there should be an entry for the identifier in the
159 /// \brief Revert TokenID to tok::identifier; used for GNU libstdc++ 4.2
163 /// to tok::identifier for libstdc++ 4.2. Keep track of when this happens
166 assert(TokenID != tok::identifier && "Already at tok::identifier");
167 TokenID = tok::identifier;
171 /// \brief Return the preprocessor keyword ID for this identifier.
176 /// \brief Return the Objective-C keyword ID for the this identifier.
230 /// setIsPoisoned - Mark this identifier as poisoned. After poisoning, the
244 /// this identifier is a C++ alternate representation of an operator.
261 /// must be called on a token of this identifier. If this returns false, we
265 /// isFromAST - Return true if the identifier in its current state was loaded
271 /// \brief Determine whether this identifier has changed since it was loaded
277 /// \brief Note that this identifier has changed since it was loaded from
283 /// \brief Determine whether the information for this identifier is out of
287 /// \brief Set whether the information for this identifier is out of
301 /// \brief Set whether this identifier is the contextual keyword
314 /// example, it changes the "for" keyword token from tok::identifier to
327 /// \brief an RAII object for [un]poisoning an identifier
367 /// \brief Retrieve the next string in the identifier table and
370 /// \returns The next string in the identifier table. If there is
382 /// get - Return the identifier token info for the specified named identifier.
389 /// known to this identifier lookup source.
392 /// the identifier lookup, allowing access to the contents of the
401 /// \brief An abstract class used to resolve numerical identifier
408 /// \brief Return the identifier associated with the given ID number.
410 /// The ID 0 is associated with the NULL identifier.
417 /// piece of the code, as each occurrence of every identifier goes through
428 /// \brief Create the identifier table, populating it with info about the
433 /// \brief Set the external identifier lookup mechanism.
438 /// \brief Retrieve the external identifier lookup object, if any.
447 /// \brief Return the identifier token info for the specified named
448 /// identifier.
489 /// introduce or modify an identifier. If they called get(), they would
672 /// \brief Retrieve the identifier at a given position in the selector.
674 /// Note that the identifier pointer returned may be NULL. Clients that only
675 /// care about the text of the identifier string, and not the specific,
676 /// uniqued identifier pointer, should use \c getNameForSlot(), which returns
677 /// an empty string when the identifier pointer would be NULL.
679 /// \param argIndex The index for which we want to retrieve the identifier.
683 /// \returns the uniqued identifier for this slot, or NULL if this slot has
684 /// no corresponding identifier.
743 /// \brief Return the default setter name for the given identifier.
749 /// \brief Return the default setter selector for the given identifier.