Public Member Functions | Public Attributes | List of all members
cpp.ast.Class Class Reference
Inheritance diagram for cpp.ast.Class:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, start, end, name, bases, templated_types, body, namespace)
 
def __str__ (self)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
- Public Member Functions inherited from cpp.ast._GenericDeclaration
def __init__ (self, start, end, name, namespace)
 
def FullName (self)
 
- Public Member Functions inherited from cpp.ast.Node
def __init__ (self, start, end)
 
def __repr__ (self)
 
def XXX__str__ (self)
 

Public Attributes

 bases
 
 body
 
 templated_types
 
- Public Attributes inherited from cpp.ast._GenericDeclaration
 name
 
 namespace
 
- Public Attributes inherited from cpp.ast.Node
 end
 
 start
 

Detailed Description

Definition at line 321 of file ast.py.

Constructor & Destructor Documentation

◆ __init__()

def cpp.ast.Class.__init__ (   self,
  start,
  end,
  name,
  bases,
  templated_types,
  body,
  namespace 
)

Definition at line 322 of file ast.py.

Member Function Documentation

◆ __str__()

def cpp.ast.Class.__str__ (   self)

Definition at line 348 of file ast.py.

◆ IsDeclaration()

def cpp.ast.Class.IsDeclaration (   self)
Returns bool if this node is a declaration.

Reimplemented from cpp.ast.Node.

Definition at line 328 of file ast.py.

◆ IsDefinition()

def cpp.ast.Class.IsDefinition (   self)
Returns bool if this node is a definition.

Reimplemented from cpp.ast.Node.

Definition at line 331 of file ast.py.

◆ IsExportable()

def cpp.ast.Class.IsExportable (   self)
Returns bool if this node exportable from a header file.

Reimplemented from cpp.ast.Node.

Definition at line 334 of file ast.py.

◆ Requires()

def cpp.ast.Class.Requires (   self,
  node 
)
Does this AST node require the definition of the node passed in?

Reimplemented from cpp.ast.Node.

Definition at line 337 of file ast.py.

Member Data Documentation

◆ bases

cpp.ast.Class.bases

Definition at line 324 of file ast.py.

◆ body

cpp.ast.Class.body

Definition at line 325 of file ast.py.

◆ templated_types

cpp.ast.Class.templated_types

Definition at line 326 of file ast.py.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08