|
| __init__ (self, namespace_stack) |
|
| ToType (self, tokens) |
|
| DeclarationToParts (self, parts, needs_name_removed) |
|
| ToParameters (self, tokens) |
|
| CreateReturnType (self, return_type_seq) |
|
| GetTemplateIndices (self, names) |
|
|
| namespace_stack = namespace_stack |
|
|
| _GetTemplateEnd (self, tokens, start) |
|
◆ ToType()
cpp.ast.TypeConverter.ToType |
( |
| self, |
|
|
| tokens ) |
Convert [Token,...] to [Class(...), ] useful for base classes.
For example, code like class Foo : public Bar<x, y> { ... };
the "Bar<x, y>" portion gets converted to an AST.
Returns:
[Class(...), ...]
The documentation for this class was generated from the following file:
- googletest/lib/googlemock/scripts/generator/cpp/ast.py