@@ -49,6 +49,11 @@ func TestParser_ParseOption(t *testing.T) {
4949 Line : 1 ,
5050 Column : 1 ,
5151 },
52+ LastPos : meta.Position {
53+ Offset : 39 ,
54+ Line : 1 ,
55+ Column : 40 ,
56+ },
5257 },
5358 },
5459 },
@@ -64,6 +69,11 @@ func TestParser_ParseOption(t *testing.T) {
6469 Line : 1 ,
6570 Column : 1 ,
6671 },
72+ LastPos : meta.Position {
73+ Offset : 27 ,
74+ Line : 1 ,
75+ Column : 28 ,
76+ },
6777 },
6878 },
6979 },
@@ -79,6 +89,11 @@ func TestParser_ParseOption(t *testing.T) {
7989 Line : 1 ,
8090 Column : 1 ,
8191 },
92+ LastPos : meta.Position {
93+ Offset : 47 ,
94+ Line : 1 ,
95+ Column : 48 ,
96+ },
8297 },
8398 },
8499 },
@@ -100,6 +115,11 @@ rest_collection:"projects.addresses"}`,
100115 Line : 2 ,
101116 Column : 1 ,
102117 },
118+ LastPos : meta.Position {
119+ Offset : 131 ,
120+ Line : 5 ,
121+ Column : 2 ,
122+ },
103123 },
104124 },
105125 },
@@ -121,6 +141,11 @@ option (google.api.http) = {
121141 Line : 2 ,
122142 Column : 1 ,
123143 },
144+ LastPos : meta.Position {
145+ Offset : 111 ,
146+ Line : 6 ,
147+ Column : 2 ,
148+ },
124149 },
125150 },
126151 },
@@ -143,6 +168,11 @@ option (google.api.http) = {
143168 Line : 2 ,
144169 Column : 1 ,
145170 },
171+ LastPos : meta.Position {
172+ Offset : 122 ,
173+ Line : 7 ,
174+ Column : 2 ,
175+ },
146176 },
147177 },
148178 },
@@ -165,6 +195,11 @@ option (google.api.http) = {
165195 Line : 2 ,
166196 Column : 1 ,
167197 },
198+ LastPos : meta.Position {
199+ Offset : 113 ,
200+ Line : 7 ,
201+ Column : 2 ,
202+ },
168203 },
169204 },
170205 },
@@ -185,6 +220,11 @@ option (google.api.http) = {
185220 Line : 2 ,
186221 Column : 1 ,
187222 },
223+ LastPos : meta.Position {
224+ Offset : 76 ,
225+ Line : 5 ,
226+ Column : 2 ,
227+ },
188228 },
189229 },
190230 },
@@ -207,6 +247,11 @@ option (opt) = {
207247 Line : 2 ,
208248 Column : 1 ,
209249 },
250+ LastPos : meta.Position {
251+ Offset : 76 ,
252+ Line : 7 ,
253+ Column : 2 ,
254+ },
210255 },
211256 },
212257 },
@@ -239,6 +284,11 @@ body:"*"}]}`,
239284 Line : 2 ,
240285 Column : 1 ,
241286 },
287+ LastPos : meta.Position {
288+ Offset : 265 ,
289+ Line : 14 ,
290+ Column : 2 ,
291+ },
242292 },
243293 },
244294 },
@@ -255,6 +305,11 @@ body:"*"}]}`,
255305 Line : 1 ,
256306 Column : 1 ,
257307 },
308+ LastPos : meta.Position {
309+ Offset : 31 ,
310+ Line : 1 ,
311+ Column : 32 ,
312+ },
258313 },
259314 },
260315 },
0 commit comments