Skip to content

Commit 399126f

Browse files
committed
Standardize indents in ruby.proto
1 parent 93a7e5e commit 399126f

1 file changed

Lines changed: 77 additions & 77 deletions

File tree

oss-fuzz/ruby.proto

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ message VarRef {
55
}
66

77
message ArrType {
8-
repeated Const elements = 1;
8+
repeated Const elements = 1;
99
}
1010

1111
message KVPair {
12-
required string key = 1;
13-
required string val = 2;
12+
required string key = 1;
13+
required string val = 2;
1414
}
1515

1616
message HashType {
17-
repeated KVPair keyval = 1;
17+
repeated KVPair keyval = 1;
1818
}
1919

2020
message StringExtNoArg {
@@ -35,18 +35,18 @@ message StringExtNoArg {
3535
}
3636

3737
message MathConst {
38-
enum MathConstLit {
39-
PI = 0;
40-
E = 1;
41-
}
42-
required MathConstLit math_const = 1;
38+
enum MathConstLit {
39+
PI = 0;
40+
E = 1;
41+
}
42+
required MathConstLit math_const = 1;
4343
}
4444

4545
message Const {
46-
oneof const_oneof {
47-
uint32 int_lit = 1;
48-
bool bool_val = 4;
49-
}
46+
oneof const_oneof {
47+
uint32 int_lit = 1;
48+
bool bool_val = 4;
49+
}
5050
}
5151

5252
message BinaryOp {
@@ -93,91 +93,91 @@ message IfElse {
9393

9494
//TODO: Add Switch statement
9595
//message Switch {
96-
// required Rvalue switch_var = 1;
97-
// repeated Rvalue cond = 2;
96+
// required Rvalue switch_var = 1;
97+
// repeated Rvalue cond = 2;
9898
//}
9999

100100
message Ternary {
101-
required Rvalue tern_cond = 1;
102-
required Rvalue t_branch = 2;
103-
required Rvalue f_branch = 3;
101+
required Rvalue tern_cond = 1;
102+
required Rvalue t_branch = 2;
103+
required Rvalue f_branch = 3;
104104
}
105105

106106
message ObjectSpace {
107-
enum OS_methods {
108-
COUNT = 1;
109-
}
110-
required OS_methods os_func = 1;
111-
required HashType os_arg = 2;
107+
enum OS_methods {
108+
COUNT = 1;
109+
}
110+
required OS_methods os_func = 1;
111+
required HashType os_arg = 2;
112112
}
113113

114114
message Time {
115-
enum T_methods {
116-
AT = 1;
117-
GM = 2;
118-
}
119-
required T_methods t_func = 1;
120-
required uint32 t_arg = 2;
115+
enum T_methods {
116+
AT = 1;
117+
GM = 2;
118+
}
119+
required T_methods t_func = 1;
120+
required uint32 t_arg = 2;
121121
}
122122

123123
message Array {
124-
enum Arr_methods {
125-
FLATTEN = 1;
126-
COMPACT = 2;
127-
FETCH = 3;
128-
FILL = 4;
129-
ROTATE = 5;
130-
ROTATE_E = 6;
131-
DELETEIF = 7;
132-
INSERT = 8;
133-
BSEARCH = 9;
134-
KEEPIF = 10;
135-
SELECT = 11;
136-
VALUES_AT = 12;
137-
BLOCK = 13;
138-
DIG = 14;
139-
SLICE = 15;
140-
PERM = 16;
141-
COMB = 17;
142-
ASSOC = 18;
143-
RASSOC = 19;
144-
}
145-
required Arr_methods arr_func = 1;
146-
required ArrType arr_arg = 2;
147-
required Rvalue val_arg = 3;
124+
enum Arr_methods {
125+
FLATTEN = 1;
126+
COMPACT = 2;
127+
FETCH = 3;
128+
FILL = 4;
129+
ROTATE = 5;
130+
ROTATE_E = 6;
131+
DELETEIF = 7;
132+
INSERT = 8;
133+
BSEARCH = 9;
134+
KEEPIF = 10;
135+
SELECT = 11;
136+
VALUES_AT = 12;
137+
BLOCK = 13;
138+
DIG = 14;
139+
SLICE = 15;
140+
PERM = 16;
141+
COMB = 17;
142+
ASSOC = 18;
143+
RASSOC = 19;
144+
}
145+
required Arr_methods arr_func = 1;
146+
required ArrType arr_arg = 2;
147+
required Rvalue val_arg = 3;
148148
}
149149

150150
message MathType {
151-
oneof math_arg_oneof {
152-
Rvalue math_rval = 2;
153-
MathConst math_const = 3;
154-
}
151+
oneof math_arg_oneof {
152+
Rvalue math_rval = 2;
153+
MathConst math_const = 3;
154+
}
155155
}
156156

157157
message MathOps {
158-
enum Mops {
159-
CBRT = 1;
160-
COS = 2;
161-
ERF = 3;
162-
ERFC = 4;
163-
LOG = 5;
164-
LOG10 = 6;
165-
LOG2 = 7;
166-
SIN = 8;
167-
SQRT = 9;
168-
TAN = 10;
169-
}
170-
required Mops math_op = 1;
171-
required MathType math_arg = 2;
158+
enum Mops {
159+
CBRT = 1;
160+
COS = 2;
161+
ERF = 3;
162+
ERFC = 4;
163+
LOG = 5;
164+
LOG10 = 6;
165+
LOG2 = 7;
166+
SIN = 8;
167+
SQRT = 9;
168+
TAN = 10;
169+
}
170+
required Mops math_op = 1;
171+
required MathType math_arg = 2;
172172
}
173173

174174
message BuiltinFuncs {
175-
oneof bifunc_oneof {
176-
ObjectSpace os = 1;
177-
Time time = 2;
178-
Array arr = 3;
179-
MathOps mops = 4;
180-
}
175+
oneof bifunc_oneof {
176+
ObjectSpace os = 1;
177+
Time time = 2;
178+
Array arr = 3;
179+
MathOps mops = 4;
180+
}
181181
}
182182

183183
message Statement {

0 commit comments

Comments
 (0)