Public Member Functions | |
ClassDef (const TreeRef &tree) | |
ClassDef | withName (std::string new_name) const |
Ident | name () const |
List< Def > | defs () const |
Public Member Functions inherited from torch::jit::script::TreeView | |
TreeView (TreeRef tree) | |
TreeRef | tree () const |
const SourceRange & | range () const |
operator TreeRef () const | |
const TreeRef & | get () const |
int | kind () const |
void | dump () const |
Static Public Member Functions | |
static ClassDef | create (const SourceRange &range, const Ident &name, const List< Def > &defs) |
Additional Inherited Members | |
Protected Member Functions inherited from torch::jit::script::TreeView | |
const TreeRef & | subtree (size_t i) const |
Protected Attributes inherited from torch::jit::script::TreeView | |
TreeRef | tree_ |
Definition at line 407 of file tree_views.h.