clang  13.0.0git
Public Member Functions | List of all members
clang::DynTypedNodeList Class Reference

Container for either a single DynTypedNode or for an ArrayRef to DynTypedNode. More...

#include "clang/AST/ParentMapContext.h"

Public Member Functions

 DynTypedNodeList (const DynTypedNode &N)
 
 DynTypedNodeList (ArrayRef< DynTypedNode > A)
 
const DynTypedNodebegin () const
 
const DynTypedNodeend () const
 
size_t size () const
 
bool empty () const
 
const DynTypedNodeoperator[] (size_t N) const
 

Detailed Description

Container for either a single DynTypedNode or for an ArrayRef to DynTypedNode.

For use with ParentMap.

Definition at line 92 of file ParentMapContext.h.

Constructor & Destructor Documentation

◆ DynTypedNodeList() [1/2]

clang::DynTypedNodeList::DynTypedNodeList ( const DynTypedNode N)
inline

Definition at line 97 of file ParentMapContext.h.

◆ DynTypedNodeList() [2/2]

clang::DynTypedNodeList::DynTypedNodeList ( ArrayRef< DynTypedNode A)
inline

Definition at line 101 of file ParentMapContext.h.

Member Function Documentation

◆ begin()

const DynTypedNode* clang::DynTypedNodeList::begin ( ) const
inline

Definition at line 105 of file ParentMapContext.h.

Referenced by empty(), operator[](), and size().

◆ empty()

bool clang::DynTypedNodeList::empty ( ) const
inline

Definition at line 119 of file ParentMapContext.h.

References begin(), and end().

◆ end()

const DynTypedNode* clang::DynTypedNodeList::end ( ) const
inline

Definition at line 112 of file ParentMapContext.h.

Referenced by empty(), and size().

◆ operator[]()

const DynTypedNode& clang::DynTypedNodeList::operator[] ( size_t  N) const
inline

Definition at line 121 of file ParentMapContext.h.

References begin(), and size().

◆ size()

size_t clang::DynTypedNodeList::size ( ) const
inline

Definition at line 118 of file ParentMapContext.h.

References begin(), and end().

Referenced by operator[]().


The documentation for this class was generated from the following file: