4 required int32 varnum = 1;
8 repeated Const elements = 1;
12 required string key = 1;
13 required string val = 2;
17 repeated KVPair keyval = 1;
20 message StringExtNoArg {
33 required StrExtOp str_op = 1;
34 required string str_arg = 2;
42 required MathConstLit math_const = 1;
71 required Rvalue left = 2;
72 required Rvalue right = 3;
83 message AssignmentStatement {
84 required Rvalue rvalue = 2;
89 required Rvalue cond = 1;
90 required StatementSeq if_body = 2;
91 required StatementSeq else_body = 3;
94 //TODO: Add Switch statement
96 // required Rvalue switch_var = 1;
97 // repeated Rvalue cond = 2;
101 required Rvalue tern_cond = 1;
102 required Rvalue t_branch = 2;
103 required Rvalue f_branch = 3;
106 message ObjectSpace {
110 required OS_methods os_func = 1;
111 required HashType os_arg = 2;
119 required T_methods t_func = 1;
120 required uint32 t_arg = 2;
145 required Arr_methods arr_func = 1;
146 required ArrType arr_arg = 2;
147 required Rvalue val_arg = 3;
151 oneof math_arg_oneof {
152 Rvalue math_rval = 2;
153 MathConst math_const = 3;
170 required Mops math_op = 1;
171 required MathType math_arg = 2;
174 message BuiltinFuncs {
185 AssignmentStatement assignment = 1;
187 Ternary ternary_stmt = 3;
188 BuiltinFuncs builtins = 4;
189 StatementSeq blockstmt = 5;
193 message StatementSeq {
194 repeated Statement statements = 1;
198 required StatementSeq statements = 1;