|
tesseract v5.3.3.20231005
|
Public Member Functions | |
| def | __init__ (self, start, end) |
| def | IsDeclaration (self) |
| def | IsDefinition (self) |
| def | IsExportable (self) |
| def | Requires (self, node) |
| def | XXX__str__ (self) |
| def | __repr__ (self) |
Public Attributes | |
| start | |
| end | |
| def cpp.ast.Node.__init__ | ( | self, | |
| start, | |||
| end | |||
| ) |
Reimplemented in cpp.ast.Expr, cpp.ast.Friend, cpp.ast.Include, cpp.ast.Goto, cpp.ast.Typedef, cpp.ast.Class, cpp.ast.Define, cpp.ast._NestedType, cpp.ast.Method, cpp.ast._GenericDeclaration, cpp.ast.Parameter, cpp.ast.Function, cpp.ast.Type, cpp.ast.VariableDeclaration, and cpp.ast.Using.
Definition at line 110 of file ast.py.
| def cpp.ast.Node.__repr__ | ( | self | ) |
| def cpp.ast.Node.IsDeclaration | ( | self | ) |
Returns bool if this node is a declaration.
Reimplemented in cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.
Definition at line 114 of file ast.py.
| def cpp.ast.Node.IsDefinition | ( | self | ) |
Returns bool if this node is a definition.
Reimplemented in cpp.ast.Typedef, cpp.ast._NestedType, cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.
Definition at line 118 of file ast.py.
| def cpp.ast.Node.IsExportable | ( | self | ) |
Returns bool if this node exportable from a header file.
Reimplemented in cpp.ast.Typedef, cpp.ast._NestedType, cpp.ast.Class, cpp.ast.Function, and cpp.ast.Type.
Definition at line 122 of file ast.py.
| def cpp.ast.Node.Requires | ( | self, | |
| node | |||
| ) |
Does this AST node require the definition of the node passed in?
Reimplemented in cpp.ast.Expr, cpp.ast.Parameter, cpp.ast.VariableDeclaration, cpp.ast.Typedef, cpp.ast.Class, and cpp.ast.Function.
Definition at line 126 of file ast.py.
| def cpp.ast.Node.XXX__str__ | ( | self | ) |