Public Member Functions | |
SchemaParser (const std::string &str) | |
FunctionSchema | parseDeclaration () |
std::vector< FunctionSchema > | parseDeclarations () |
TreeRef | parseIdent () |
Argument | parseArgument (size_t idx, bool is_return, bool kwarg_only) |
IValue | parseSingleConstant (TypeKind kind) |
IValue | convertToList (TypeKind kind, const SourceRange &range, std::vector< IValue > vs) |
IValue | parseConstantList (TypeKind kind) |
IValue | parseTensorDefault (const SourceRange &range) |
IValue | parseDefaultValue (const TypePtr &arg_type, c10::optional< int32_t > arg_N) |
void | parseList (int begin, int sep, int end, const std::function< void()> &callback) |
Data Fields | |
Lexer | L |
SchemaTypeParser | type_parser |
Definition at line 23 of file operator.cpp.