clang  14.0.0git
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
generate_cxx_src_locs.Generator Class Reference
Inheritance diagram for generate_cxx_src_locs.Generator:
Inheritance graph
[legend]
Collaboration diagram for generate_cxx_src_locs.Generator:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, templateClasses)
 
def GeneratePrologue (self)
 
def GenerateBaseGetLocationsDeclaration (self, CladeName)
 
def GenerateSrcLocMethod (self, ClassName, ClassData, CreateLocalRecursionGuard)
 
def GenerateFiles (self, OutputFile)
 
def GenerateBaseGetLocationsFunction (self, ASTClassNames, ClassEntries, CladeName, InheritanceMap, CreateLocalRecursionGuard)
 
def GenerateBaseTypeLocVisit (self, ASTClassName, ClassEntries, RecursionGuardParam, InheritanceMap)
 
def GenerateDynNodeVisitor (self, CladeNames)
 
def GenerateEpilogue (self)
 

Public Attributes

 templateClasses
 

Static Public Attributes

string implementationContent = ''
 
dictionary RefClades
 

Detailed Description

Definition at line 11 of file generate_cxx_src_locs.py.

Constructor & Destructor Documentation

◆ __init__()

def generate_cxx_src_locs.Generator.__init__ (   self,
  templateClasses 
)

Definition at line 20 of file generate_cxx_src_locs.py.

Member Function Documentation

◆ GenerateBaseGetLocationsDeclaration()

def generate_cxx_src_locs.Generator.GenerateBaseGetLocationsDeclaration (   self,
  CladeName 
)

◆ GenerateBaseGetLocationsFunction()

def generate_cxx_src_locs.Generator.GenerateBaseGetLocationsFunction (   self,
  ASTClassNames,
  ClassEntries,
  CladeName,
  InheritanceMap,
  CreateLocalRecursionGuard 
)

◆ GenerateBaseTypeLocVisit()

def generate_cxx_src_locs.Generator.GenerateBaseTypeLocVisit (   self,
  ASTClassName,
  ClassEntries,
  RecursionGuardParam,
  InheritanceMap 
)

◆ GenerateDynNodeVisitor()

def generate_cxx_src_locs.Generator.GenerateDynNodeVisitor (   self,
  CladeNames 
)

◆ GenerateEpilogue()

def generate_cxx_src_locs.Generator.GenerateEpilogue (   self)

◆ GenerateFiles()

def generate_cxx_src_locs.Generator.GenerateFiles (   self,
  OutputFile 
)

◆ GeneratePrologue()

def generate_cxx_src_locs.Generator.GeneratePrologue (   self)

◆ GenerateSrcLocMethod()

def generate_cxx_src_locs.Generator.GenerateSrcLocMethod (   self,
  ClassName,
  ClassData,
  CreateLocalRecursionGuard 
)

Member Data Documentation

◆ implementationContent

string generate_cxx_src_locs.Generator.implementationContent = ''
static

◆ RefClades

dictionary generate_cxx_src_locs.Generator.RefClades
static
Initial value:
= {"DeclarationNameInfo",
"NestedNameSpecifierLoc",
"TemplateArgumentLoc",
"TypeLoc"}

Definition at line 15 of file generate_cxx_src_locs.py.

Referenced by generate_cxx_src_locs.Generator.GenerateBaseGetLocationsDeclaration(), generate_cxx_src_locs.Generator.GenerateBaseGetLocationsFunction(), and generate_cxx_src_locs.Generator.GenerateDynNodeVisitor().

◆ templateClasses

generate_cxx_src_locs.Generator.templateClasses

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