|
| __init__ (self, start, end, name, return_type, parameters, modifiers, templated_types, body, namespace) |
|
| IsDeclaration (self) |
|
| IsDefinition (self) |
|
| IsExportable (self) |
|
| Requires (self, node) |
|
| __str__ (self) |
|
| FullName (self) |
|
| XXX__str__ (self) |
|
| __repr__ (self) |
|
|
| return_type = converter.CreateReturnType(return_type) |
|
| parameters = converter.ToParameters(parameters) |
|
| modifiers = modifiers |
|
| body = body |
|
| templated_types = templated_types |
|
| name = name |
|
| namespace = namespace[:] |
|
list | namespace = [n or '<anonymous>' for n in self.namespace] |
|
| start = start |
|
| end = end |
|
|
| _TypeStringHelper (self, suffix) |
|
| _StringHelper (self, name, suffix) |
|
◆ __init__()
cpp.ast.Function.__init__ |
( |
| self, |
|
|
| start, |
|
|
| end, |
|
|
| name, |
|
|
| return_type, |
|
|
| parameters, |
|
|
| modifiers, |
|
|
| templated_types, |
|
|
| body, |
|
|
| namespace ) |
◆ 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.
The documentation for this class was generated from the following file:
- googletest/lib/googlemock/scripts/generator/cpp/ast.py