Struct to hold a combo OpDef and ArgDef for a given Op argument:
| 31 | |
| 32 | // Struct to hold a combo OpDef and ArgDef for a given Op argument: |
| 33 | struct ArgDefs { |
| 34 | ArgDefs(const OpDef::ArgDef& op_def_arg, const ApiDef::Arg& api_def_arg) |
| 35 | : op_def_arg(op_def_arg), api_def_arg(api_def_arg) {} |
| 36 | |
| 37 | const OpDef::ArgDef& op_def_arg; |
| 38 | const ApiDef::Arg& api_def_arg; |
| 39 | }; |
| 40 | |
| 41 | // Struct to hold a combo OpDef::AttrDef and ApiDef::Attr for an Op. |
| 42 | struct OpAttrs { |