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

Public Member Functions

def __init__ (self, start, end, name, return_type, parameters, modifiers, 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

 body
 
 modifiers
 
 parameters
 
 return_type
 
 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 360 of file ast.py.

Constructor & Destructor Documentation

◆ __init__()

def cpp.ast.Function.__init__ (   self,
  start,
  end,
  name,
  return_type,
  parameters,
  modifiers,
  templated_types,
  body,
  namespace 
)

Definition at line 361 of file ast.py.

Member Function Documentation

◆ __str__()

def cpp.ast.Function.__str__ (   self)

Definition at line 391 of file ast.py.

◆ IsDeclaration()

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

Reimplemented from cpp.ast.Node.

Definition at line 371 of file ast.py.

◆ IsDefinition()

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

Reimplemented from cpp.ast.Node.

Definition at line 374 of file ast.py.

◆ IsExportable()

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

Reimplemented from cpp.ast.Node.

Definition at line 377 of file ast.py.

◆ Requires()

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

Reimplemented from cpp.ast.Node.

Definition at line 382 of file ast.py.

Member Data Documentation

◆ body

cpp.ast.Function.body

Definition at line 367 of file ast.py.

◆ modifiers

cpp.ast.Function.modifiers

Definition at line 366 of file ast.py.

◆ parameters

cpp.ast.Function.parameters

Definition at line 365 of file ast.py.

◆ return_type

cpp.ast.Function.return_type

Definition at line 364 of file ast.py.

◆ templated_types

cpp.ast.Function.templated_types

Definition at line 368 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