
Public Member Functions | |
| def | __init__ |
| def | __repr__ |
| def | IsDeclaration |
| def | IsDefinition |
| def | IsExportable |
| def | Requires |
| def | XXX__str__ |
Public Attributes | |
| end | |
| start | |
Private Member Functions | |
| def | _StringHelper |
| def cpp.ast.Node.__init__ | ( | self, | |
| start, | |||
| end | |||
| ) |
| def cpp.ast.Node.__repr__ | ( | self | ) |
| def cpp.ast.Node._StringHelper | ( | self, | |
| name, | |||
| suffix | |||
| ) | [private] |
| def cpp.ast.Node.IsDeclaration | ( | self | ) |
Returns bool if this node is a declaration.
Reimplemented in cpp.ast.Type, cpp.ast.Function, and cpp.ast.Class.
| def cpp.ast.Node.IsDefinition | ( | self | ) |
Returns bool if this node is a definition.
Reimplemented in cpp.ast.Type, cpp.ast.Function, cpp.ast.Class, cpp.ast._NestedType, and cpp.ast.Typedef.
| def cpp.ast.Node.IsExportable | ( | self | ) |
Returns bool if this node exportable from a header file.
Reimplemented in cpp.ast.Type, cpp.ast.Function, cpp.ast.Class, cpp.ast._NestedType, and cpp.ast.Typedef.
| def cpp.ast.Node.Requires | ( | self, | |
| node | |||
| ) |
Does this AST node require the definition of the node passed in?
Reimplemented in cpp.ast.Function, cpp.ast.Class, cpp.ast.Typedef, cpp.ast.VariableDeclaration, cpp.ast.Parameter, and cpp.ast.Expr.
| def cpp.ast.Node.XXX__str__ | ( | self | ) |