Monero
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cpp.ast.Function Class Reference
Inheritance diagram for cpp.ast.Function:
Inheritance graph
[legend]
Collaboration diagram for cpp.ast.Function:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from cpp.ast._GenericDeclaration
 _TypeStringHelper (self, suffix)
 
- Protected Member Functions inherited from cpp.ast.Node
 _StringHelper (self, name, suffix)
 

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from cpp.ast._GenericDeclaration.

Reimplemented in cpp.ast.Method.

Member Function Documentation

◆ __str__()

cpp.ast.Function.__str__ ( self)

◆ IsDeclaration()

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

Reimplemented from cpp.ast.Node.

◆ IsDefinition()

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

Reimplemented from cpp.ast.Node.

◆ IsExportable()

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

Reimplemented from cpp.ast.Node.

◆ Requires()

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

Reimplemented from cpp.ast.Node.

Member Data Documentation

◆ body

cpp.ast.Function.body

◆ modifiers

cpp.ast.Function.modifiers

◆ name

cpp.ast.Function.name

◆ parameters

cpp.ast.Function.parameters

◆ return_type

cpp.ast.Function.return_type

◆ templated_types

cpp.ast.Function.templated_types

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