Home | History | Annotate | Download | only in AST

Lines Matching defs:Specifier

11 //  a C++ nested-name-specifier.
33 /// \brief Represents a C++ nested name specifier, such as
38 /// specifier. Nested name specifiers are made up of a sequence of
40 /// (for dependent names), decltype specifier, or the global specifier ('::').
42 /// nested-namespace-specifier.
53 /// \brief The nested name specifier that precedes this nested name
54 /// specifier.
56 /// The pointer is the nested-name-specifier that precedes this
61 /// \brief The last component in the nested name specifier, which
64 /// When the pointer is NULL, this specifier represents the global
65 /// specifier '::'. Otherwise, the pointer is one of
67 /// specifier as encoded within the prefix.
68 void* Specifier;
71 /// \brief The kind of specifier that completes this nested name
72 /// specifier.
85 /// \brief The global specifier '::'. There is no stored value.
90 /// \brief Builds the global specifier.
91 NestedNameSpecifier() : Prefix(0, StoredIdentifier), Specifier(0) { }
97 Specifier(Other.Specifier) {
103 /// \brief Either find or insert the given nested name specifier
109 /// \brief Builds a specifier combining a prefix and an identifier.
118 /// \brief Builds a nested name specifier that names a namespace.
123 /// \brief Builds a nested name specifier that names a namespace alias.
128 /// \brief Builds a nested name specifier that names a type.
133 /// \brief Builds a specifier that consists of just an identifier.
135 /// The nested-name-specifier is assumed to be dependent, but has no
137 /// nested name specifier, e.g., in "x->Base::f", the "x" has a dependent
142 /// \brief Returns the nested name specifier representing the global
146 /// \brief Return the prefix of this nested name specifier.
149 /// specifier that preced this current specifier. For example, for a
150 /// nested name specifier that represents "foo::bar::", the current
151 /// specifier will contain "bar::" and the prefix will contain
155 /// \brief Determine what kind of nested name specifier is stored.
159 /// specifier.
162 return (IdentifierInfo *)Specifier;
168 /// specifier.
172 /// specifier.
175 /// \brief Retrieve the type stored in this nested name specifier.
179 return (const Type *)Specifier;
184 /// \brief Whether this nested name specifier refers to a dependent
188 /// \brief Whether this nested name specifier involves a template
192 /// \brief Whether this nested-name-specifier contains an unexpanded
196 /// \brief Print this nested name specifier to the given output
202 ID.AddPointer(Specifier);
205 /// \brief Dump the nested name specifier to standard output to aid
210 /// \brief A C++ nested-name-specifier augmented with source location
217 /// given nested-name-specifier.
221 /// nested-name-specifier.
225 /// \brief Construct an empty nested-name-specifier.
228 /// \brief Construct a nested-name-specifier with source location information
233 /// \brief Evalutes true when this nested-name-specifier location is
237 /// \brief Retrieve the nested-name-specifier to which this instance
247 /// nested-name-specifier.
249 /// For example, if this instance refers to a nested-name-specifier
255 /// this nested-name-specifier, not including the prefix.
257 /// For example, if this instance refers to a nested-name-specifier
263 /// nested-name-specifier.
269 /// nested-name-specifier.
275 /// component of the nested-name-specifier.
281 /// nested-name-specifier.
286 /// \brief Return the prefix of this nested-name-specifier.
288 /// For example, if this instance refers to a nested-name-specifier
291 /// the nested-name-specifier.
299 /// \brief For a nested-name-specifier that refers to a type,
304 /// nested-name-specifier.
320 /// nested-name-specifier.
322 /// \brief The current representation of the nested-name-specifier we're
327 /// nested-name-specifier.
335 /// for the nested-name-specifier.
339 /// information for the nested-name-specifier.
356 /// \brief Retrieve the representation of the nested-name-specifier.
359 /// \brief Extend the current nested-name-specifier by another
360 /// nested-name-specifier component of the form 'type::'.
362 /// \param Context The AST context in which this nested-name-specifier
373 /// \brief Extend the current nested-name-specifier by another
374 /// nested-name-specifier component of the form 'identifier::'.
376 /// \param Context The AST context in which this nested-name-specifier
387 /// \brief Extend the current nested-name-specifier by another
388 /// nested-name-specifier component of the form 'namespace::'.
390 /// \param Context The AST context in which this nested-name-specifier
401 /// \brief Extend the current nested-name-specifier by another
402 /// nested-name-specifier component of the form 'namespace-alias::'.
404 /// \param Context The AST context in which this nested-name-specifier
416 /// \brief Turn this (empty) nested-name-specifier into the global
417 /// nested-name-specifier '::'.
420 /// \brief Make a new nested-name-specifier from incomplete source-location
424 /// need to synthesize a nested-name-specifier. Most code should instead use
429 /// \brief Adopt an existing nested-name-specifier (with source-range
433 /// \brief Retrieve the source range covered by this nested-name-specifier.
438 /// \brief Retrieve a nested-name-specifier with location information,
441 /// \param Context The context into which this nested-name-specifier will be
445 /// \brief Retrieve a nested-name-specifier with location
455 /// nested-name-specifier with source-location information.