tesseract v5.3.3.20231005
cpp.ast.Method Class Reference
Inheritance diagram for cpp.ast.Method:
cpp.ast.Function cpp.ast._GenericDeclaration cpp.ast.Node

Public Member Functions

def __init__ (self, start, end, name, in_class, return_type, parameters, modifiers, templated_types, body, namespace)
 
- Public Member Functions inherited from cpp.ast.Function
def __init__ (self, start, end, name, return_type, parameters, modifiers, templated_types, body, namespace)
 
def IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def __str__ (self)
 
- 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 IsDeclaration (self)
 
def IsDefinition (self)
 
def IsExportable (self)
 
def Requires (self, node)
 
def XXX__str__ (self)
 
def __repr__ (self)
 

Public Attributes

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

Detailed Description

Definition at line 397 of file ast.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from cpp.ast.Function.

Definition at line 398 of file ast.py.

399 modifiers, templated_types, body, namespace):
400 Function.__init__(self, start, end, name, return_type, parameters,
401 modifiers, templated_types, body, namespace)
402 # TODO(nnorwitz): in_class could also be a namespace which can
403 # mess up finding functions properly.
404 self.in_class = in_class
405
406

Member Data Documentation

◆ in_class

cpp.ast.Method.in_class

Definition at line 404 of file ast.py.


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