Public Member Functions | |
Decl (const TreeRef &tree) | |
List< Param > | params () const |
Maybe< Expr > | return_type () 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 Decl | create (const SourceRange &range, const List< Param > ¶ms, const Maybe< Expr > &return_type) |
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 363 of file tree_views.h.