Polly 23.0.0git
isl::ast_node Class Reference

#include <cpp.h>

Public Member Functions

 ast_node ()
 ast_node (const ast_node &obj)
ast_nodeoperator= (ast_node obj)
 ~ast_node ()
__isl_give isl_ast_nodecopy () const &
__isl_give isl_ast_nodecopy () &&=delete
__isl_keep isl_ast_nodeget () const
__isl_give isl_ast_noderelease ()
bool is_null () const
template<class T>
bool isa () const
template<class T>
as () const
isl::ctx ctx () const
isl::ast_node map_descendant_bottom_up (const std::function< isl::ast_node(isl::ast_node)> &fn) const
std::string to_C_str () const
isl::ast_node_list to_list () const
 ast_node ()
 ast_node (const ast_node &obj)
ast_nodeoperator= (ast_node obj)
 ~ast_node ()
__isl_give isl_ast_nodecopy () const &
__isl_give isl_ast_nodecopy () &&=delete
__isl_keep isl_ast_nodeget () const
__isl_give isl_ast_noderelease ()
bool is_null () const
template<class T>
boolean isa () const
template<class T>
as () const
isl::ctx ctx () const
isl::id annotation () const
isl::id get_annotation () const
std::string to_C_str () const
isl::ast_node_list to_list () const

Protected Member Functions

 ast_node (__isl_take isl_ast_node *ptr)
 ast_node (__isl_take isl_ast_node *ptr)

Protected Attributes

isl_ast_nodeptr = nullptr

Private Member Functions

template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_node_get_type(NULL)), const T>::value>::type>
bool isa_type (T subtype) const
template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_node_get_type(nullptr)), const T>::value>::type>
boolean isa_type (T subtype) const

Friends

ast_node manage (__isl_take isl_ast_node *ptr)
ast_node manage_copy (__isl_keep isl_ast_node *ptr)
ast_node manage (__isl_take isl_ast_node *ptr)
ast_node manage_copy (__isl_keep isl_ast_node *ptr)

Detailed Description

Definition at line 1267 of file include/isl/cpp.h.

Constructor & Destructor Documentation

◆ ast_node() [1/6]

isl::ast_node::ast_node ( __isl_take isl_ast_node * ptr)
inlineexplicitprotected

References __isl_take, and ptr.

Referenced by ast_node(), ctx(), operator=(), and to_list().

◆ ast_node() [2/6]

isl::ast_node::ast_node ( )
inline

◆ ast_node() [3/6]

isl::ast_node::ast_node ( const ast_node & obj)
inline

References ast_node(), and obj.

◆ ~ast_node() [1/2]

isl::ast_node::~ast_node ( )
inline

◆ ast_node() [4/6]

isl::ast_node::ast_node ( __isl_take isl_ast_node * ptr)
inlineexplicitprotected

References __isl_take, and ptr.

◆ ast_node() [5/6]

isl::ast_node::ast_node ( )
inline

◆ ast_node() [6/6]

isl::ast_node::ast_node ( const ast_node & obj)
inline

References ast_node(), and obj.

◆ ~ast_node() [2/2]

isl::ast_node::~ast_node ( )
inline

Member Function Documentation

◆ annotation()

isl::id isl::ast_node::annotation ( ) const
inline

◆ as() [1/2]

◆ as() [2/2]

template<class T>
T isl::ast_node::as ( ) const
inline

References as().

◆ copy() [1/4]

__isl_give isl_ast_node * isl::ast_node::copy ( ) &&
inlinedelete

References __isl_give, and copy().

◆ copy() [2/4]

__isl_give isl_ast_node * isl::ast_node::copy ( ) &&
inlinedelete

References __isl_give, and copy().

◆ copy() [3/4]

__isl_give isl_ast_node * isl::ast_node::copy ( ) const &
inline

References __isl_give.

Referenced by copy(), and map_descendant_bottom_up().

◆ copy() [4/4]

__isl_give isl_ast_node * isl::ast_node::copy ( ) const &
inline

References __isl_give.

◆ ctx() [1/2]

isl::ctx isl::ast_node::ctx ( ) const
inline

◆ ctx() [2/2]

isl::ctx isl::ast_node::ctx ( ) const
inline

References annotation(), ctx(), and get_annotation().

◆ get() [1/2]

__isl_keep isl_ast_node * isl::ast_node::get ( ) const
inline

References __isl_keep, and get().

Referenced by get().

◆ get() [2/2]

__isl_keep isl_ast_node * isl::ast_node::get ( ) const
inline

References __isl_keep, and get().

◆ get_annotation()

isl::id isl::ast_node::get_annotation ( ) const
inline

Definition at line 7409 of file isl-noexceptions.h.

References annotation().

Referenced by ctx().

◆ is_null() [1/2]

bool isl::ast_node::is_null ( ) const
inline

References is_null(), isl_ast_node_get_type(), and type.

Referenced by is_null().

◆ is_null() [2/2]

bool isl::ast_node::is_null ( ) const
inline

◆ isa() [1/2]

◆ isa() [2/2]

template<class T>
boolean isl::ast_node::isa ( ) const
inline

References isa().

◆ isa_type() [1/2]

template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_node_get_type(NULL)), const T>::value>::type>
bool isl::ast_node::isa_type ( T subtype) const
inlineprivate

References isa_type().

Referenced by isa_type().

◆ isa_type() [2/2]

template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_node_get_type(nullptr)), const T>::value>::type>
boolean isl::ast_node::isa_type ( T subtype) const
inlineprivate

References isa_type().

◆ map_descendant_bottom_up()

◆ operator=() [1/2]

ast_node & isl::ast_node::operator= ( ast_node obj)
inline

References ast_node(), and obj.

◆ operator=() [2/2]

ast_node & isl::ast_node::operator= ( ast_node obj)
inline

References ast_node(), and obj.

◆ release() [1/2]

__isl_give isl_ast_node * isl::ast_node::release ( )
inline

References __isl_give, and release().

Referenced by release().

◆ release() [2/2]

__isl_give isl_ast_node * isl::ast_node::release ( )
inline

References __isl_give, and release().

◆ to_C_str() [1/2]

std::string isl::ast_node::to_C_str ( ) const
inline

References to_C_str().

Referenced by to_C_str().

◆ to_C_str() [2/2]

std::string isl::ast_node::to_C_str ( ) const
inline

References to_C_str().

◆ to_list() [1/2]

isl::ast_node_list isl::ast_node::to_list ( ) const
inline

References to_list().

Referenced by to_list().

◆ to_list() [2/2]

isl::ast_node_list isl::ast_node::to_list ( ) const
inline

References ast_node(), and to_list().

◆ manage [1/2]

ast_node manage ( __isl_take isl_ast_node * ptr)
friend

Definition at line 6877 of file cpp-checked.h.

Referenced by map_descendant_bottom_up().

◆ manage [2/2]

ast_node manage ( __isl_take isl_ast_node * ptr)
friend

Definition at line 6877 of file cpp-checked.h.

◆ manage_copy [1/2]

ast_node manage_copy ( __isl_keep isl_ast_node * ptr)
friend

Definition at line 6880 of file cpp-checked.h.

◆ manage_copy [2/2]

ast_node manage_copy ( __isl_keep isl_ast_node * ptr)
friend

Definition at line 6880 of file cpp-checked.h.

Member Data Documentation

◆ ptr

isl_ast_node* isl::ast_node::ptr = nullptr
protected

Definition at line 1272 of file include/isl/cpp.h.

Referenced by ast_node(), and map_descendant_bottom_up().


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