Definition at line 153 of file ast.py.
◆ __init__()
def cpp.ast.Include.__init__ |
( |
|
self, |
|
|
|
start, |
|
|
|
end, |
|
|
|
filename, |
|
|
|
system |
|
) |
| |
Reimplemented from cpp.ast.Node.
Definition at line 154 of file ast.py.
154 def __init__(self, start, end, filename, system):
155 Node.__init__(self, start, end)
156 self.filename = filename
157 self.system = system
158
◆ __str__()
def cpp.ast.Include.__str__ |
( |
|
self | ) |
|
Definition at line 159 of file ast.py.
159 def __str__(self):
160 fmt = '"%s"'
161 if self.system:
162 fmt = '<%s>'
163 return self._StringHelper(self.__class__.__name__, fmt % self.filename)
164
165
◆ filename
◆ system
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