|
| type = var_type |
|
| initial_value = initial_value |
|
str | initial_value = ' = ' + self.initial_value |
|
| 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.VariableDeclaration.__init__ |
( |
| self, |
|
|
| start, |
|
|
| end, |
|
|
| name, |
|
|
| var_type, |
|
|
| initial_value, |
|
|
| namespace ) |
◆ Requires()
cpp.ast.VariableDeclaration.Requires |
( |
| self, |
|
|
| node ) |
Does this AST node require the definition of the node passed in?
Reimplemented from cpp.ast.Node.
◆ ToString()
cpp.ast.VariableDeclaration.ToString |
( |
| self | ) |
|
Return a string that tries to reconstitute the variable decl.
The documentation for this class was generated from the following file:
- googletest/lib/googlemock/scripts/generator/cpp/ast.py