Definition at line 230 of file ast.py.
◆ __init__()
def cpp.ast._GenericDeclaration.__init__ |
( |
|
self, |
|
|
|
start, |
|
|
|
end, |
|
|
|
name, |
|
|
|
namespace |
|
) |
| |
Reimplemented from cpp.ast.Node.
Reimplemented in cpp.ast.Typedef, cpp.ast.Class, cpp.ast._NestedType, cpp.ast.Method, cpp.ast.Function, cpp.ast.Type, and cpp.ast.VariableDeclaration.
Definition at line 231 of file ast.py.
231 def __init__(self, start, end, name, namespace):
232 Node.__init__(self, start, end)
233 self.name = name
234 self.namespace = namespace[:]
235
◆ FullName()
def cpp.ast._GenericDeclaration.FullName |
( |
|
self | ) |
|
Definition at line 236 of file ast.py.
236 def FullName(self):
237 prefix = ''
238 if self.namespace and self.namespace[-1]:
239 prefix = '::'.join(self.namespace) + '::'
240 return prefix + self.name
241
◆ name
cpp.ast._GenericDeclaration.name |
◆ namespace
cpp.ast._GenericDeclaration.namespace |
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googlemock/scripts/generator/cpp/ast.py