1 // Generated by Cap'n Proto compiler, DO NOT EDIT
2 // source: grammar.capnp
3 
4 #pragma once
5 
6 #include <capnp/generated-header-support.h>
7 #include <kj/windows-sanity.h>
8 
9 #if CAPNP_VERSION != 9000
10 #error "Version mismatch between generated code and library headers.  You must use the same version of the Cap'n Proto compiler and library."
11 #endif
12 
13 
14 CAPNP_BEGIN_HEADER
15 
16 namespace capnp {
17 namespace schemas {
18 
19 CAPNP_DECLARE_SCHEMA(e75816b56529d464);
20 CAPNP_DECLARE_SCHEMA(991c7a3693d62cf2);
21 CAPNP_DECLARE_SCHEMA(90f2a60678fd2367);
22 CAPNP_DECLARE_SCHEMA(8e207d4dfe54d0de);
23 CAPNP_DECLARE_SCHEMA(c90246b71adedbaa);
24 CAPNP_DECLARE_SCHEMA(aee8397040b0df7a);
25 CAPNP_DECLARE_SCHEMA(aa28e1400d793359);
26 CAPNP_DECLARE_SCHEMA(96efe787c17e83bb);
27 CAPNP_DECLARE_SCHEMA(d5e71144af1ce175);
28 CAPNP_DECLARE_SCHEMA(d00489d473826290);
29 CAPNP_DECLARE_SCHEMA(fb5aeed95cdf6af9);
30 CAPNP_DECLARE_SCHEMA(94099c3f9eb32d6b);
31 CAPNP_DECLARE_SCHEMA(b3f66e7a79d81bcd);
32 CAPNP_DECLARE_SCHEMA(fffe08a9a697d2a5);
33 CAPNP_DECLARE_SCHEMA(e5104515fd88ea47);
34 CAPNP_DECLARE_SCHEMA(89f0c973c103ae96);
35 CAPNP_DECLARE_SCHEMA(e93164a80bfe2ccf);
36 CAPNP_DECLARE_SCHEMA(b348322a8dcf0d0c);
37 CAPNP_DECLARE_SCHEMA(8f2622208fb358c8);
38 CAPNP_DECLARE_SCHEMA(d0d1a21de617951f);
39 CAPNP_DECLARE_SCHEMA(992a90eaf30235d3);
40 CAPNP_DECLARE_SCHEMA(eb971847d617c0b9);
41 CAPNP_DECLARE_SCHEMA(c6238c7d62d65173);
42 CAPNP_DECLARE_SCHEMA(9cb9e86e3198037f);
43 CAPNP_DECLARE_SCHEMA(84e4f3f5a807605c);
44 
45 }  // namespace schemas
46 }  // namespace capnp
47 
48 namespace capnp {
49 namespace compiler {
50 
51 struct LocatedText {
52   LocatedText() = delete;
53 
54   class Reader;
55   class Builder;
56   class Pipeline;
57 
58   struct _capnpPrivate {
59     CAPNP_DECLARE_STRUCT_HEADER(e75816b56529d464, 1, 1)
60     #if !CAPNP_LITE
brandLocatedText::_capnpPrivate61     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
62     #endif  // !CAPNP_LITE
63   };
64 };
65 
66 struct LocatedInteger {
67   LocatedInteger() = delete;
68 
69   class Reader;
70   class Builder;
71   class Pipeline;
72 
73   struct _capnpPrivate {
74     CAPNP_DECLARE_STRUCT_HEADER(991c7a3693d62cf2, 2, 0)
75     #if !CAPNP_LITE
brandLocatedInteger::_capnpPrivate76     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
77     #endif  // !CAPNP_LITE
78   };
79 };
80 
81 struct LocatedFloat {
82   LocatedFloat() = delete;
83 
84   class Reader;
85   class Builder;
86   class Pipeline;
87 
88   struct _capnpPrivate {
89     CAPNP_DECLARE_STRUCT_HEADER(90f2a60678fd2367, 2, 0)
90     #if !CAPNP_LITE
brandLocatedFloat::_capnpPrivate91     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
92     #endif  // !CAPNP_LITE
93   };
94 };
95 
96 struct Expression {
97   Expression() = delete;
98 
99   class Reader;
100   class Builder;
101   class Pipeline;
102   enum Which: uint16_t {
103     UNKNOWN,
104     POSITIVE_INT,
105     NEGATIVE_INT,
106     FLOAT,
107     STRING,
108     RELATIVE_NAME,
109     LIST,
110     TUPLE,
111     BINARY,
112     APPLICATION,
113     MEMBER,
114     ABSOLUTE_NAME,
115     IMPORT,
116     EMBED,
117   };
118   struct Param;
119   struct Application;
120   struct Member;
121 
122   struct _capnpPrivate {
123     CAPNP_DECLARE_STRUCT_HEADER(8e207d4dfe54d0de, 3, 2)
124     #if !CAPNP_LITE
brandExpression::_capnpPrivate125     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
126     #endif  // !CAPNP_LITE
127   };
128 };
129 
130 struct Expression::Param {
131   Param() = delete;
132 
133   class Reader;
134   class Builder;
135   class Pipeline;
136   enum Which: uint16_t {
137     UNNAMED,
138     NAMED,
139   };
140 
141   struct _capnpPrivate {
142     CAPNP_DECLARE_STRUCT_HEADER(c90246b71adedbaa, 1, 2)
143     #if !CAPNP_LITE
brandParam::_capnpPrivate144     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
145     #endif  // !CAPNP_LITE
146   };
147 };
148 
149 struct Expression::Application {
150   Application() = delete;
151 
152   class Reader;
153   class Builder;
154   class Pipeline;
155 
156   struct _capnpPrivate {
157     CAPNP_DECLARE_STRUCT_HEADER(aee8397040b0df7a, 3, 2)
158     #if !CAPNP_LITE
brandApplication::_capnpPrivate159     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
160     #endif  // !CAPNP_LITE
161   };
162 };
163 
164 struct Expression::Member {
165   Member() = delete;
166 
167   class Reader;
168   class Builder;
169   class Pipeline;
170 
171   struct _capnpPrivate {
172     CAPNP_DECLARE_STRUCT_HEADER(aa28e1400d793359, 3, 2)
173     #if !CAPNP_LITE
brandMember::_capnpPrivate174     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
175     #endif  // !CAPNP_LITE
176   };
177 };
178 
179 struct Declaration {
180   Declaration() = delete;
181 
182   class Reader;
183   class Builder;
184   class Pipeline;
185   enum Which: uint16_t {
186     FILE,
187     USING,
188     CONST,
189     ENUM,
190     ENUMERANT,
191     STRUCT,
192     FIELD,
193     UNION,
194     GROUP,
195     INTERFACE,
196     METHOD,
197     ANNOTATION,
198     NAKED_ID,
199     NAKED_ANNOTATION,
200     BUILTIN_VOID,
201     BUILTIN_BOOL,
202     BUILTIN_INT8,
203     BUILTIN_INT16,
204     BUILTIN_INT32,
205     BUILTIN_INT64,
206     BUILTIN_U_INT8,
207     BUILTIN_U_INT16,
208     BUILTIN_U_INT32,
209     BUILTIN_U_INT64,
210     BUILTIN_FLOAT32,
211     BUILTIN_FLOAT64,
212     BUILTIN_TEXT,
213     BUILTIN_DATA,
214     BUILTIN_LIST,
215     BUILTIN_OBJECT,
216     BUILTIN_ANY_POINTER,
217     BUILTIN_ANY_STRUCT,
218     BUILTIN_ANY_LIST,
219     BUILTIN_CAPABILITY,
220   };
221   struct BrandParameter;
222   struct AnnotationApplication;
223   struct ParamList;
224   struct Param;
225   struct Id;
226   struct Using;
227   struct Const;
228   struct Field;
229   struct Interface;
230   struct Method;
231   struct Annotation;
232 
233   struct _capnpPrivate {
234     CAPNP_DECLARE_STRUCT_HEADER(96efe787c17e83bb, 2, 8)
235     #if !CAPNP_LITE
brandDeclaration::_capnpPrivate236     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
237     #endif  // !CAPNP_LITE
238   };
239 };
240 
241 struct Declaration::BrandParameter {
242   BrandParameter() = delete;
243 
244   class Reader;
245   class Builder;
246   class Pipeline;
247 
248   struct _capnpPrivate {
249     CAPNP_DECLARE_STRUCT_HEADER(d5e71144af1ce175, 1, 1)
250     #if !CAPNP_LITE
brandBrandParameter::_capnpPrivate251     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
252     #endif  // !CAPNP_LITE
253   };
254 };
255 
256 struct Declaration::AnnotationApplication {
257   AnnotationApplication() = delete;
258 
259   class Reader;
260   class Builder;
261   class Pipeline;
262   struct Value;
263 
264   struct _capnpPrivate {
265     CAPNP_DECLARE_STRUCT_HEADER(d00489d473826290, 1, 2)
266     #if !CAPNP_LITE
brandAnnotationApplication::_capnpPrivate267     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
268     #endif  // !CAPNP_LITE
269   };
270 };
271 
272 struct Declaration::AnnotationApplication::Value {
273   Value() = delete;
274 
275   class Reader;
276   class Builder;
277   class Pipeline;
278   enum Which: uint16_t {
279     NONE,
280     EXPRESSION,
281   };
282 
283   struct _capnpPrivate {
284     CAPNP_DECLARE_STRUCT_HEADER(fb5aeed95cdf6af9, 1, 2)
285     #if !CAPNP_LITE
brandValue::_capnpPrivate286     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
287     #endif  // !CAPNP_LITE
288   };
289 };
290 
291 struct Declaration::ParamList {
292   ParamList() = delete;
293 
294   class Reader;
295   class Builder;
296   class Pipeline;
297   enum Which: uint16_t {
298     NAMED_LIST,
299     TYPE,
300     STREAM,
301   };
302 
303   struct _capnpPrivate {
304     CAPNP_DECLARE_STRUCT_HEADER(b3f66e7a79d81bcd, 2, 1)
305     #if !CAPNP_LITE
brandParamList::_capnpPrivate306     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
307     #endif  // !CAPNP_LITE
308   };
309 };
310 
311 struct Declaration::Param {
312   Param() = delete;
313 
314   class Reader;
315   class Builder;
316   class Pipeline;
317   struct DefaultValue;
318 
319   struct _capnpPrivate {
320     CAPNP_DECLARE_STRUCT_HEADER(fffe08a9a697d2a5, 2, 4)
321     #if !CAPNP_LITE
brandParam::_capnpPrivate322     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
323     #endif  // !CAPNP_LITE
324   };
325 };
326 
327 struct Declaration::Param::DefaultValue {
328   DefaultValue() = delete;
329 
330   class Reader;
331   class Builder;
332   class Pipeline;
333   enum Which: uint16_t {
334     NONE,
335     VALUE,
336   };
337 
338   struct _capnpPrivate {
339     CAPNP_DECLARE_STRUCT_HEADER(e5104515fd88ea47, 2, 4)
340     #if !CAPNP_LITE
brandDefaultValue::_capnpPrivate341     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
342     #endif  // !CAPNP_LITE
343   };
344 };
345 
346 struct Declaration::Id {
347   Id() = delete;
348 
349   class Reader;
350   class Builder;
351   class Pipeline;
352   enum Which: uint16_t {
353     UNSPECIFIED,
354     UID,
355     ORDINAL,
356   };
357 
358   struct _capnpPrivate {
359     CAPNP_DECLARE_STRUCT_HEADER(89f0c973c103ae96, 2, 8)
360     #if !CAPNP_LITE
brandId::_capnpPrivate361     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
362     #endif  // !CAPNP_LITE
363   };
364 };
365 
366 struct Declaration::Using {
367   Using() = delete;
368 
369   class Reader;
370   class Builder;
371   class Pipeline;
372 
373   struct _capnpPrivate {
374     CAPNP_DECLARE_STRUCT_HEADER(e93164a80bfe2ccf, 2, 8)
375     #if !CAPNP_LITE
brandUsing::_capnpPrivate376     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
377     #endif  // !CAPNP_LITE
378   };
379 };
380 
381 struct Declaration::Const {
382   Const() = delete;
383 
384   class Reader;
385   class Builder;
386   class Pipeline;
387 
388   struct _capnpPrivate {
389     CAPNP_DECLARE_STRUCT_HEADER(b348322a8dcf0d0c, 2, 8)
390     #if !CAPNP_LITE
brandConst::_capnpPrivate391     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
392     #endif  // !CAPNP_LITE
393   };
394 };
395 
396 struct Declaration::Field {
397   Field() = delete;
398 
399   class Reader;
400   class Builder;
401   class Pipeline;
402   struct DefaultValue;
403 
404   struct _capnpPrivate {
405     CAPNP_DECLARE_STRUCT_HEADER(8f2622208fb358c8, 2, 8)
406     #if !CAPNP_LITE
brandField::_capnpPrivate407     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
408     #endif  // !CAPNP_LITE
409   };
410 };
411 
412 struct Declaration::Field::DefaultValue {
413   DefaultValue() = delete;
414 
415   class Reader;
416   class Builder;
417   class Pipeline;
418   enum Which: uint16_t {
419     NONE,
420     VALUE,
421   };
422 
423   struct _capnpPrivate {
424     CAPNP_DECLARE_STRUCT_HEADER(d0d1a21de617951f, 2, 8)
425     #if !CAPNP_LITE
brandDefaultValue::_capnpPrivate426     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
427     #endif  // !CAPNP_LITE
428   };
429 };
430 
431 struct Declaration::Interface {
432   Interface() = delete;
433 
434   class Reader;
435   class Builder;
436   class Pipeline;
437 
438   struct _capnpPrivate {
439     CAPNP_DECLARE_STRUCT_HEADER(992a90eaf30235d3, 2, 8)
440     #if !CAPNP_LITE
brandInterface::_capnpPrivate441     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
442     #endif  // !CAPNP_LITE
443   };
444 };
445 
446 struct Declaration::Method {
447   Method() = delete;
448 
449   class Reader;
450   class Builder;
451   class Pipeline;
452   struct Results;
453 
454   struct _capnpPrivate {
455     CAPNP_DECLARE_STRUCT_HEADER(eb971847d617c0b9, 2, 8)
456     #if !CAPNP_LITE
brandMethod::_capnpPrivate457     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
458     #endif  // !CAPNP_LITE
459   };
460 };
461 
462 struct Declaration::Method::Results {
463   Results() = delete;
464 
465   class Reader;
466   class Builder;
467   class Pipeline;
468   enum Which: uint16_t {
469     NONE,
470     EXPLICIT,
471   };
472 
473   struct _capnpPrivate {
474     CAPNP_DECLARE_STRUCT_HEADER(c6238c7d62d65173, 2, 8)
475     #if !CAPNP_LITE
brandResults::_capnpPrivate476     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
477     #endif  // !CAPNP_LITE
478   };
479 };
480 
481 struct Declaration::Annotation {
482   Annotation() = delete;
483 
484   class Reader;
485   class Builder;
486   class Pipeline;
487 
488   struct _capnpPrivate {
489     CAPNP_DECLARE_STRUCT_HEADER(9cb9e86e3198037f, 2, 8)
490     #if !CAPNP_LITE
brandAnnotation::_capnpPrivate491     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
492     #endif  // !CAPNP_LITE
493   };
494 };
495 
496 struct ParsedFile {
497   ParsedFile() = delete;
498 
499   class Reader;
500   class Builder;
501   class Pipeline;
502 
503   struct _capnpPrivate {
504     CAPNP_DECLARE_STRUCT_HEADER(84e4f3f5a807605c, 0, 1)
505     #if !CAPNP_LITE
brandParsedFile::_capnpPrivate506     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
507     #endif  // !CAPNP_LITE
508   };
509 };
510 
511 // =======================================================================================
512 
513 class LocatedText::Reader {
514 public:
515   typedef LocatedText Reads;
516 
517   Reader() = default;
Reader(::capnp::_::StructReader base)518   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
519 
totalSize()520   inline ::capnp::MessageSize totalSize() const {
521     return _reader.totalSize().asPublic();
522   }
523 
524 #if !CAPNP_LITE
toString()525   inline ::kj::StringTree toString() const {
526     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
527   }
528 #endif  // !CAPNP_LITE
529 
530   inline bool hasValue() const;
531   inline  ::capnp::Text::Reader getValue() const;
532 
533   inline  ::uint32_t getStartByte() const;
534 
535   inline  ::uint32_t getEndByte() const;
536 
537 private:
538   ::capnp::_::StructReader _reader;
539   template <typename, ::capnp::Kind>
540   friend struct ::capnp::ToDynamic_;
541   template <typename, ::capnp::Kind>
542   friend struct ::capnp::_::PointerHelpers;
543   template <typename, ::capnp::Kind>
544   friend struct ::capnp::List;
545   friend class ::capnp::MessageBuilder;
546   friend class ::capnp::Orphanage;
547 };
548 
549 class LocatedText::Builder {
550 public:
551   typedef LocatedText Builds;
552 
553   Builder() = delete;  // Deleted to discourage incorrect usage.
554                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))555   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)556   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()557   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()558   inline Reader asReader() const { return *this; }
559 
totalSize()560   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
561 #if !CAPNP_LITE
toString()562   inline ::kj::StringTree toString() const { return asReader().toString(); }
563 #endif  // !CAPNP_LITE
564 
565   inline bool hasValue();
566   inline  ::capnp::Text::Builder getValue();
567   inline void setValue( ::capnp::Text::Reader value);
568   inline  ::capnp::Text::Builder initValue(unsigned int size);
569   inline void adoptValue(::capnp::Orphan< ::capnp::Text>&& value);
570   inline ::capnp::Orphan< ::capnp::Text> disownValue();
571 
572   inline  ::uint32_t getStartByte();
573   inline void setStartByte( ::uint32_t value);
574 
575   inline  ::uint32_t getEndByte();
576   inline void setEndByte( ::uint32_t value);
577 
578 private:
579   ::capnp::_::StructBuilder _builder;
580   template <typename, ::capnp::Kind>
581   friend struct ::capnp::ToDynamic_;
582   friend class ::capnp::Orphanage;
583   template <typename, ::capnp::Kind>
584   friend struct ::capnp::_::PointerHelpers;
585 };
586 
587 #if !CAPNP_LITE
588 class LocatedText::Pipeline {
589 public:
590   typedef LocatedText Pipelines;
591 
Pipeline(decltype (nullptr))592   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)593   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
594       : _typeless(kj::mv(typeless)) {}
595 
596 private:
597   ::capnp::AnyPointer::Pipeline _typeless;
598   friend class ::capnp::PipelineHook;
599   template <typename, ::capnp::Kind>
600   friend struct ::capnp::ToDynamic_;
601 };
602 #endif  // !CAPNP_LITE
603 
604 class LocatedInteger::Reader {
605 public:
606   typedef LocatedInteger Reads;
607 
608   Reader() = default;
Reader(::capnp::_::StructReader base)609   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
610 
totalSize()611   inline ::capnp::MessageSize totalSize() const {
612     return _reader.totalSize().asPublic();
613   }
614 
615 #if !CAPNP_LITE
toString()616   inline ::kj::StringTree toString() const {
617     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
618   }
619 #endif  // !CAPNP_LITE
620 
621   inline  ::uint64_t getValue() const;
622 
623   inline  ::uint32_t getStartByte() const;
624 
625   inline  ::uint32_t getEndByte() const;
626 
627 private:
628   ::capnp::_::StructReader _reader;
629   template <typename, ::capnp::Kind>
630   friend struct ::capnp::ToDynamic_;
631   template <typename, ::capnp::Kind>
632   friend struct ::capnp::_::PointerHelpers;
633   template <typename, ::capnp::Kind>
634   friend struct ::capnp::List;
635   friend class ::capnp::MessageBuilder;
636   friend class ::capnp::Orphanage;
637 };
638 
639 class LocatedInteger::Builder {
640 public:
641   typedef LocatedInteger Builds;
642 
643   Builder() = delete;  // Deleted to discourage incorrect usage.
644                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))645   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)646   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()647   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()648   inline Reader asReader() const { return *this; }
649 
totalSize()650   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
651 #if !CAPNP_LITE
toString()652   inline ::kj::StringTree toString() const { return asReader().toString(); }
653 #endif  // !CAPNP_LITE
654 
655   inline  ::uint64_t getValue();
656   inline void setValue( ::uint64_t value);
657 
658   inline  ::uint32_t getStartByte();
659   inline void setStartByte( ::uint32_t value);
660 
661   inline  ::uint32_t getEndByte();
662   inline void setEndByte( ::uint32_t value);
663 
664 private:
665   ::capnp::_::StructBuilder _builder;
666   template <typename, ::capnp::Kind>
667   friend struct ::capnp::ToDynamic_;
668   friend class ::capnp::Orphanage;
669   template <typename, ::capnp::Kind>
670   friend struct ::capnp::_::PointerHelpers;
671 };
672 
673 #if !CAPNP_LITE
674 class LocatedInteger::Pipeline {
675 public:
676   typedef LocatedInteger Pipelines;
677 
Pipeline(decltype (nullptr))678   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)679   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
680       : _typeless(kj::mv(typeless)) {}
681 
682 private:
683   ::capnp::AnyPointer::Pipeline _typeless;
684   friend class ::capnp::PipelineHook;
685   template <typename, ::capnp::Kind>
686   friend struct ::capnp::ToDynamic_;
687 };
688 #endif  // !CAPNP_LITE
689 
690 class LocatedFloat::Reader {
691 public:
692   typedef LocatedFloat Reads;
693 
694   Reader() = default;
Reader(::capnp::_::StructReader base)695   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
696 
totalSize()697   inline ::capnp::MessageSize totalSize() const {
698     return _reader.totalSize().asPublic();
699   }
700 
701 #if !CAPNP_LITE
toString()702   inline ::kj::StringTree toString() const {
703     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
704   }
705 #endif  // !CAPNP_LITE
706 
707   inline double getValue() const;
708 
709   inline  ::uint32_t getStartByte() const;
710 
711   inline  ::uint32_t getEndByte() const;
712 
713 private:
714   ::capnp::_::StructReader _reader;
715   template <typename, ::capnp::Kind>
716   friend struct ::capnp::ToDynamic_;
717   template <typename, ::capnp::Kind>
718   friend struct ::capnp::_::PointerHelpers;
719   template <typename, ::capnp::Kind>
720   friend struct ::capnp::List;
721   friend class ::capnp::MessageBuilder;
722   friend class ::capnp::Orphanage;
723 };
724 
725 class LocatedFloat::Builder {
726 public:
727   typedef LocatedFloat Builds;
728 
729   Builder() = delete;  // Deleted to discourage incorrect usage.
730                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))731   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)732   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()733   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()734   inline Reader asReader() const { return *this; }
735 
totalSize()736   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
737 #if !CAPNP_LITE
toString()738   inline ::kj::StringTree toString() const { return asReader().toString(); }
739 #endif  // !CAPNP_LITE
740 
741   inline double getValue();
742   inline void setValue(double value);
743 
744   inline  ::uint32_t getStartByte();
745   inline void setStartByte( ::uint32_t value);
746 
747   inline  ::uint32_t getEndByte();
748   inline void setEndByte( ::uint32_t value);
749 
750 private:
751   ::capnp::_::StructBuilder _builder;
752   template <typename, ::capnp::Kind>
753   friend struct ::capnp::ToDynamic_;
754   friend class ::capnp::Orphanage;
755   template <typename, ::capnp::Kind>
756   friend struct ::capnp::_::PointerHelpers;
757 };
758 
759 #if !CAPNP_LITE
760 class LocatedFloat::Pipeline {
761 public:
762   typedef LocatedFloat Pipelines;
763 
Pipeline(decltype (nullptr))764   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)765   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
766       : _typeless(kj::mv(typeless)) {}
767 
768 private:
769   ::capnp::AnyPointer::Pipeline _typeless;
770   friend class ::capnp::PipelineHook;
771   template <typename, ::capnp::Kind>
772   friend struct ::capnp::ToDynamic_;
773 };
774 #endif  // !CAPNP_LITE
775 
776 class Expression::Reader {
777 public:
778   typedef Expression Reads;
779 
780   Reader() = default;
Reader(::capnp::_::StructReader base)781   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
782 
totalSize()783   inline ::capnp::MessageSize totalSize() const {
784     return _reader.totalSize().asPublic();
785   }
786 
787 #if !CAPNP_LITE
toString()788   inline ::kj::StringTree toString() const {
789     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
790   }
791 #endif  // !CAPNP_LITE
792 
793   inline Which which() const;
794   inline bool isUnknown() const;
795   inline  ::capnp::Void getUnknown() const;
796 
797   inline bool isPositiveInt() const;
798   inline  ::uint64_t getPositiveInt() const;
799 
800   inline bool isNegativeInt() const;
801   inline  ::uint64_t getNegativeInt() const;
802 
803   inline bool isFloat() const;
804   inline double getFloat() const;
805 
806   inline bool isString() const;
807   inline bool hasString() const;
808   inline  ::capnp::Text::Reader getString() const;
809 
810   inline bool isRelativeName() const;
811   inline bool hasRelativeName() const;
812   inline  ::capnp::compiler::LocatedText::Reader getRelativeName() const;
813 
814   inline bool isList() const;
815   inline bool hasList() const;
816   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader getList() const;
817 
818   inline bool isTuple() const;
819   inline bool hasTuple() const;
820   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader getTuple() const;
821 
822   inline  ::uint32_t getStartByte() const;
823 
824   inline  ::uint32_t getEndByte() const;
825 
826   inline bool isBinary() const;
827   inline bool hasBinary() const;
828   inline  ::capnp::Data::Reader getBinary() const;
829 
830   inline bool isApplication() const;
831   inline typename Application::Reader getApplication() const;
832 
833   inline bool isMember() const;
834   inline typename Member::Reader getMember() const;
835 
836   inline bool isAbsoluteName() const;
837   inline bool hasAbsoluteName() const;
838   inline  ::capnp::compiler::LocatedText::Reader getAbsoluteName() const;
839 
840   inline bool isImport() const;
841   inline bool hasImport() const;
842   inline  ::capnp::compiler::LocatedText::Reader getImport() const;
843 
844   inline bool isEmbed() const;
845   inline bool hasEmbed() const;
846   inline  ::capnp::compiler::LocatedText::Reader getEmbed() const;
847 
848 private:
849   ::capnp::_::StructReader _reader;
850   template <typename, ::capnp::Kind>
851   friend struct ::capnp::ToDynamic_;
852   template <typename, ::capnp::Kind>
853   friend struct ::capnp::_::PointerHelpers;
854   template <typename, ::capnp::Kind>
855   friend struct ::capnp::List;
856   friend class ::capnp::MessageBuilder;
857   friend class ::capnp::Orphanage;
858 };
859 
860 class Expression::Builder {
861 public:
862   typedef Expression Builds;
863 
864   Builder() = delete;  // Deleted to discourage incorrect usage.
865                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))866   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)867   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()868   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()869   inline Reader asReader() const { return *this; }
870 
totalSize()871   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
872 #if !CAPNP_LITE
toString()873   inline ::kj::StringTree toString() const { return asReader().toString(); }
874 #endif  // !CAPNP_LITE
875 
876   inline Which which();
877   inline bool isUnknown();
878   inline  ::capnp::Void getUnknown();
879   inline void setUnknown( ::capnp::Void value = ::capnp::VOID);
880 
881   inline bool isPositiveInt();
882   inline  ::uint64_t getPositiveInt();
883   inline void setPositiveInt( ::uint64_t value);
884 
885   inline bool isNegativeInt();
886   inline  ::uint64_t getNegativeInt();
887   inline void setNegativeInt( ::uint64_t value);
888 
889   inline bool isFloat();
890   inline double getFloat();
891   inline void setFloat(double value);
892 
893   inline bool isString();
894   inline bool hasString();
895   inline  ::capnp::Text::Builder getString();
896   inline void setString( ::capnp::Text::Reader value);
897   inline  ::capnp::Text::Builder initString(unsigned int size);
898   inline void adoptString(::capnp::Orphan< ::capnp::Text>&& value);
899   inline ::capnp::Orphan< ::capnp::Text> disownString();
900 
901   inline bool isRelativeName();
902   inline bool hasRelativeName();
903   inline  ::capnp::compiler::LocatedText::Builder getRelativeName();
904   inline void setRelativeName( ::capnp::compiler::LocatedText::Reader value);
905   inline  ::capnp::compiler::LocatedText::Builder initRelativeName();
906   inline void adoptRelativeName(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
907   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownRelativeName();
908 
909   inline bool isList();
910   inline bool hasList();
911   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder getList();
912   inline void setList( ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader value);
913   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder initList(unsigned int size);
914   inline void adoptList(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>&& value);
915   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>> disownList();
916 
917   inline bool isTuple();
918   inline bool hasTuple();
919   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder getTuple();
920   inline void setTuple( ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader value);
921   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder initTuple(unsigned int size);
922   inline void adoptTuple(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>&& value);
923   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>> disownTuple();
924 
925   inline  ::uint32_t getStartByte();
926   inline void setStartByte( ::uint32_t value);
927 
928   inline  ::uint32_t getEndByte();
929   inline void setEndByte( ::uint32_t value);
930 
931   inline bool isBinary();
932   inline bool hasBinary();
933   inline  ::capnp::Data::Builder getBinary();
934   inline void setBinary( ::capnp::Data::Reader value);
935   inline  ::capnp::Data::Builder initBinary(unsigned int size);
936   inline void adoptBinary(::capnp::Orphan< ::capnp::Data>&& value);
937   inline ::capnp::Orphan< ::capnp::Data> disownBinary();
938 
939   inline bool isApplication();
940   inline typename Application::Builder getApplication();
941   inline typename Application::Builder initApplication();
942 
943   inline bool isMember();
944   inline typename Member::Builder getMember();
945   inline typename Member::Builder initMember();
946 
947   inline bool isAbsoluteName();
948   inline bool hasAbsoluteName();
949   inline  ::capnp::compiler::LocatedText::Builder getAbsoluteName();
950   inline void setAbsoluteName( ::capnp::compiler::LocatedText::Reader value);
951   inline  ::capnp::compiler::LocatedText::Builder initAbsoluteName();
952   inline void adoptAbsoluteName(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
953   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownAbsoluteName();
954 
955   inline bool isImport();
956   inline bool hasImport();
957   inline  ::capnp::compiler::LocatedText::Builder getImport();
958   inline void setImport( ::capnp::compiler::LocatedText::Reader value);
959   inline  ::capnp::compiler::LocatedText::Builder initImport();
960   inline void adoptImport(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
961   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownImport();
962 
963   inline bool isEmbed();
964   inline bool hasEmbed();
965   inline  ::capnp::compiler::LocatedText::Builder getEmbed();
966   inline void setEmbed( ::capnp::compiler::LocatedText::Reader value);
967   inline  ::capnp::compiler::LocatedText::Builder initEmbed();
968   inline void adoptEmbed(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
969   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownEmbed();
970 
971 private:
972   ::capnp::_::StructBuilder _builder;
973   template <typename, ::capnp::Kind>
974   friend struct ::capnp::ToDynamic_;
975   friend class ::capnp::Orphanage;
976   template <typename, ::capnp::Kind>
977   friend struct ::capnp::_::PointerHelpers;
978 };
979 
980 #if !CAPNP_LITE
981 class Expression::Pipeline {
982 public:
983   typedef Expression Pipelines;
984 
Pipeline(decltype (nullptr))985   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)986   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
987       : _typeless(kj::mv(typeless)) {}
988 
989 private:
990   ::capnp::AnyPointer::Pipeline _typeless;
991   friend class ::capnp::PipelineHook;
992   template <typename, ::capnp::Kind>
993   friend struct ::capnp::ToDynamic_;
994 };
995 #endif  // !CAPNP_LITE
996 
997 class Expression::Param::Reader {
998 public:
999   typedef Param Reads;
1000 
1001   Reader() = default;
Reader(::capnp::_::StructReader base)1002   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1003 
totalSize()1004   inline ::capnp::MessageSize totalSize() const {
1005     return _reader.totalSize().asPublic();
1006   }
1007 
1008 #if !CAPNP_LITE
toString()1009   inline ::kj::StringTree toString() const {
1010     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1011   }
1012 #endif  // !CAPNP_LITE
1013 
1014   inline Which which() const;
1015   inline bool isUnnamed() const;
1016   inline  ::capnp::Void getUnnamed() const;
1017 
1018   inline bool isNamed() const;
1019   inline bool hasNamed() const;
1020   inline  ::capnp::compiler::LocatedText::Reader getNamed() const;
1021 
1022   inline bool hasValue() const;
1023   inline  ::capnp::compiler::Expression::Reader getValue() const;
1024 
1025 private:
1026   ::capnp::_::StructReader _reader;
1027   template <typename, ::capnp::Kind>
1028   friend struct ::capnp::ToDynamic_;
1029   template <typename, ::capnp::Kind>
1030   friend struct ::capnp::_::PointerHelpers;
1031   template <typename, ::capnp::Kind>
1032   friend struct ::capnp::List;
1033   friend class ::capnp::MessageBuilder;
1034   friend class ::capnp::Orphanage;
1035 };
1036 
1037 class Expression::Param::Builder {
1038 public:
1039   typedef Param Builds;
1040 
1041   Builder() = delete;  // Deleted to discourage incorrect usage.
1042                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1043   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1044   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1045   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1046   inline Reader asReader() const { return *this; }
1047 
totalSize()1048   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1049 #if !CAPNP_LITE
toString()1050   inline ::kj::StringTree toString() const { return asReader().toString(); }
1051 #endif  // !CAPNP_LITE
1052 
1053   inline Which which();
1054   inline bool isUnnamed();
1055   inline  ::capnp::Void getUnnamed();
1056   inline void setUnnamed( ::capnp::Void value = ::capnp::VOID);
1057 
1058   inline bool isNamed();
1059   inline bool hasNamed();
1060   inline  ::capnp::compiler::LocatedText::Builder getNamed();
1061   inline void setNamed( ::capnp::compiler::LocatedText::Reader value);
1062   inline  ::capnp::compiler::LocatedText::Builder initNamed();
1063   inline void adoptNamed(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
1064   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownNamed();
1065 
1066   inline bool hasValue();
1067   inline  ::capnp::compiler::Expression::Builder getValue();
1068   inline void setValue( ::capnp::compiler::Expression::Reader value);
1069   inline  ::capnp::compiler::Expression::Builder initValue();
1070   inline void adoptValue(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
1071   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownValue();
1072 
1073 private:
1074   ::capnp::_::StructBuilder _builder;
1075   template <typename, ::capnp::Kind>
1076   friend struct ::capnp::ToDynamic_;
1077   friend class ::capnp::Orphanage;
1078   template <typename, ::capnp::Kind>
1079   friend struct ::capnp::_::PointerHelpers;
1080 };
1081 
1082 #if !CAPNP_LITE
1083 class Expression::Param::Pipeline {
1084 public:
1085   typedef Param Pipelines;
1086 
Pipeline(decltype (nullptr))1087   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1088   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1089       : _typeless(kj::mv(typeless)) {}
1090 
1091   inline  ::capnp::compiler::Expression::Pipeline getValue();
1092 private:
1093   ::capnp::AnyPointer::Pipeline _typeless;
1094   friend class ::capnp::PipelineHook;
1095   template <typename, ::capnp::Kind>
1096   friend struct ::capnp::ToDynamic_;
1097 };
1098 #endif  // !CAPNP_LITE
1099 
1100 class Expression::Application::Reader {
1101 public:
1102   typedef Application Reads;
1103 
1104   Reader() = default;
Reader(::capnp::_::StructReader base)1105   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1106 
totalSize()1107   inline ::capnp::MessageSize totalSize() const {
1108     return _reader.totalSize().asPublic();
1109   }
1110 
1111 #if !CAPNP_LITE
toString()1112   inline ::kj::StringTree toString() const {
1113     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1114   }
1115 #endif  // !CAPNP_LITE
1116 
1117   inline bool hasFunction() const;
1118   inline  ::capnp::compiler::Expression::Reader getFunction() const;
1119 
1120   inline bool hasParams() const;
1121   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader getParams() const;
1122 
1123 private:
1124   ::capnp::_::StructReader _reader;
1125   template <typename, ::capnp::Kind>
1126   friend struct ::capnp::ToDynamic_;
1127   template <typename, ::capnp::Kind>
1128   friend struct ::capnp::_::PointerHelpers;
1129   template <typename, ::capnp::Kind>
1130   friend struct ::capnp::List;
1131   friend class ::capnp::MessageBuilder;
1132   friend class ::capnp::Orphanage;
1133 };
1134 
1135 class Expression::Application::Builder {
1136 public:
1137   typedef Application Builds;
1138 
1139   Builder() = delete;  // Deleted to discourage incorrect usage.
1140                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1141   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1142   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1143   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1144   inline Reader asReader() const { return *this; }
1145 
totalSize()1146   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1147 #if !CAPNP_LITE
toString()1148   inline ::kj::StringTree toString() const { return asReader().toString(); }
1149 #endif  // !CAPNP_LITE
1150 
1151   inline bool hasFunction();
1152   inline  ::capnp::compiler::Expression::Builder getFunction();
1153   inline void setFunction( ::capnp::compiler::Expression::Reader value);
1154   inline  ::capnp::compiler::Expression::Builder initFunction();
1155   inline void adoptFunction(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
1156   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownFunction();
1157 
1158   inline bool hasParams();
1159   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder getParams();
1160   inline void setParams( ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader value);
1161   inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder initParams(unsigned int size);
1162   inline void adoptParams(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>&& value);
1163   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>> disownParams();
1164 
1165 private:
1166   ::capnp::_::StructBuilder _builder;
1167   template <typename, ::capnp::Kind>
1168   friend struct ::capnp::ToDynamic_;
1169   friend class ::capnp::Orphanage;
1170   template <typename, ::capnp::Kind>
1171   friend struct ::capnp::_::PointerHelpers;
1172 };
1173 
1174 #if !CAPNP_LITE
1175 class Expression::Application::Pipeline {
1176 public:
1177   typedef Application Pipelines;
1178 
Pipeline(decltype (nullptr))1179   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1180   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1181       : _typeless(kj::mv(typeless)) {}
1182 
1183   inline  ::capnp::compiler::Expression::Pipeline getFunction();
1184 private:
1185   ::capnp::AnyPointer::Pipeline _typeless;
1186   friend class ::capnp::PipelineHook;
1187   template <typename, ::capnp::Kind>
1188   friend struct ::capnp::ToDynamic_;
1189 };
1190 #endif  // !CAPNP_LITE
1191 
1192 class Expression::Member::Reader {
1193 public:
1194   typedef Member Reads;
1195 
1196   Reader() = default;
Reader(::capnp::_::StructReader base)1197   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1198 
totalSize()1199   inline ::capnp::MessageSize totalSize() const {
1200     return _reader.totalSize().asPublic();
1201   }
1202 
1203 #if !CAPNP_LITE
toString()1204   inline ::kj::StringTree toString() const {
1205     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1206   }
1207 #endif  // !CAPNP_LITE
1208 
1209   inline bool hasParent() const;
1210   inline  ::capnp::compiler::Expression::Reader getParent() const;
1211 
1212   inline bool hasName() const;
1213   inline  ::capnp::compiler::LocatedText::Reader getName() const;
1214 
1215 private:
1216   ::capnp::_::StructReader _reader;
1217   template <typename, ::capnp::Kind>
1218   friend struct ::capnp::ToDynamic_;
1219   template <typename, ::capnp::Kind>
1220   friend struct ::capnp::_::PointerHelpers;
1221   template <typename, ::capnp::Kind>
1222   friend struct ::capnp::List;
1223   friend class ::capnp::MessageBuilder;
1224   friend class ::capnp::Orphanage;
1225 };
1226 
1227 class Expression::Member::Builder {
1228 public:
1229   typedef Member Builds;
1230 
1231   Builder() = delete;  // Deleted to discourage incorrect usage.
1232                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1233   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1234   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1235   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1236   inline Reader asReader() const { return *this; }
1237 
totalSize()1238   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1239 #if !CAPNP_LITE
toString()1240   inline ::kj::StringTree toString() const { return asReader().toString(); }
1241 #endif  // !CAPNP_LITE
1242 
1243   inline bool hasParent();
1244   inline  ::capnp::compiler::Expression::Builder getParent();
1245   inline void setParent( ::capnp::compiler::Expression::Reader value);
1246   inline  ::capnp::compiler::Expression::Builder initParent();
1247   inline void adoptParent(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
1248   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownParent();
1249 
1250   inline bool hasName();
1251   inline  ::capnp::compiler::LocatedText::Builder getName();
1252   inline void setName( ::capnp::compiler::LocatedText::Reader value);
1253   inline  ::capnp::compiler::LocatedText::Builder initName();
1254   inline void adoptName(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
1255   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownName();
1256 
1257 private:
1258   ::capnp::_::StructBuilder _builder;
1259   template <typename, ::capnp::Kind>
1260   friend struct ::capnp::ToDynamic_;
1261   friend class ::capnp::Orphanage;
1262   template <typename, ::capnp::Kind>
1263   friend struct ::capnp::_::PointerHelpers;
1264 };
1265 
1266 #if !CAPNP_LITE
1267 class Expression::Member::Pipeline {
1268 public:
1269   typedef Member Pipelines;
1270 
Pipeline(decltype (nullptr))1271   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1272   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1273       : _typeless(kj::mv(typeless)) {}
1274 
1275   inline  ::capnp::compiler::Expression::Pipeline getParent();
1276   inline  ::capnp::compiler::LocatedText::Pipeline getName();
1277 private:
1278   ::capnp::AnyPointer::Pipeline _typeless;
1279   friend class ::capnp::PipelineHook;
1280   template <typename, ::capnp::Kind>
1281   friend struct ::capnp::ToDynamic_;
1282 };
1283 #endif  // !CAPNP_LITE
1284 
1285 class Declaration::Reader {
1286 public:
1287   typedef Declaration Reads;
1288 
1289   Reader() = default;
Reader(::capnp::_::StructReader base)1290   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1291 
totalSize()1292   inline ::capnp::MessageSize totalSize() const {
1293     return _reader.totalSize().asPublic();
1294   }
1295 
1296 #if !CAPNP_LITE
toString()1297   inline ::kj::StringTree toString() const {
1298     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1299   }
1300 #endif  // !CAPNP_LITE
1301 
1302   inline Which which() const;
1303   inline bool hasName() const;
1304   inline  ::capnp::compiler::LocatedText::Reader getName() const;
1305 
1306   inline typename Id::Reader getId() const;
1307 
1308   inline bool hasNestedDecls() const;
1309   inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Reader getNestedDecls() const;
1310 
1311   inline bool hasAnnotations() const;
1312   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
1313 
1314   inline  ::uint32_t getStartByte() const;
1315 
1316   inline  ::uint32_t getEndByte() const;
1317 
1318   inline bool hasDocComment() const;
1319   inline  ::capnp::Text::Reader getDocComment() const;
1320 
1321   inline bool isFile() const;
1322   inline  ::capnp::Void getFile() const;
1323 
1324   inline bool isUsing() const;
1325   inline typename Using::Reader getUsing() const;
1326 
1327   inline bool isConst() const;
1328   inline typename Const::Reader getConst() const;
1329 
1330   inline bool isEnum() const;
1331   inline  ::capnp::Void getEnum() const;
1332 
1333   inline bool isEnumerant() const;
1334   inline  ::capnp::Void getEnumerant() const;
1335 
1336   inline bool isStruct() const;
1337   inline  ::capnp::Void getStruct() const;
1338 
1339   inline bool isField() const;
1340   inline typename Field::Reader getField() const;
1341 
1342   inline bool isUnion() const;
1343   inline  ::capnp::Void getUnion() const;
1344 
1345   inline bool isGroup() const;
1346   inline  ::capnp::Void getGroup() const;
1347 
1348   inline bool isInterface() const;
1349   inline typename Interface::Reader getInterface() const;
1350 
1351   inline bool isMethod() const;
1352   inline typename Method::Reader getMethod() const;
1353 
1354   inline bool isAnnotation() const;
1355   inline typename Annotation::Reader getAnnotation() const;
1356 
1357   inline bool isNakedId() const;
1358   inline bool hasNakedId() const;
1359   inline  ::capnp::compiler::LocatedInteger::Reader getNakedId() const;
1360 
1361   inline bool isNakedAnnotation() const;
1362   inline bool hasNakedAnnotation() const;
1363   inline  ::capnp::compiler::Declaration::AnnotationApplication::Reader getNakedAnnotation() const;
1364 
1365   inline bool isBuiltinVoid() const;
1366   inline  ::capnp::Void getBuiltinVoid() const;
1367 
1368   inline bool isBuiltinBool() const;
1369   inline  ::capnp::Void getBuiltinBool() const;
1370 
1371   inline bool isBuiltinInt8() const;
1372   inline  ::capnp::Void getBuiltinInt8() const;
1373 
1374   inline bool isBuiltinInt16() const;
1375   inline  ::capnp::Void getBuiltinInt16() const;
1376 
1377   inline bool isBuiltinInt32() const;
1378   inline  ::capnp::Void getBuiltinInt32() const;
1379 
1380   inline bool isBuiltinInt64() const;
1381   inline  ::capnp::Void getBuiltinInt64() const;
1382 
1383   inline bool isBuiltinUInt8() const;
1384   inline  ::capnp::Void getBuiltinUInt8() const;
1385 
1386   inline bool isBuiltinUInt16() const;
1387   inline  ::capnp::Void getBuiltinUInt16() const;
1388 
1389   inline bool isBuiltinUInt32() const;
1390   inline  ::capnp::Void getBuiltinUInt32() const;
1391 
1392   inline bool isBuiltinUInt64() const;
1393   inline  ::capnp::Void getBuiltinUInt64() const;
1394 
1395   inline bool isBuiltinFloat32() const;
1396   inline  ::capnp::Void getBuiltinFloat32() const;
1397 
1398   inline bool isBuiltinFloat64() const;
1399   inline  ::capnp::Void getBuiltinFloat64() const;
1400 
1401   inline bool isBuiltinText() const;
1402   inline  ::capnp::Void getBuiltinText() const;
1403 
1404   inline bool isBuiltinData() const;
1405   inline  ::capnp::Void getBuiltinData() const;
1406 
1407   inline bool isBuiltinList() const;
1408   inline  ::capnp::Void getBuiltinList() const;
1409 
1410   inline bool isBuiltinObject() const;
1411   inline  ::capnp::Void getBuiltinObject() const;
1412 
1413   inline bool isBuiltinAnyPointer() const;
1414   inline  ::capnp::Void getBuiltinAnyPointer() const;
1415 
1416   inline bool hasParameters() const;
1417   inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Reader getParameters() const;
1418 
1419   inline bool isBuiltinAnyStruct() const;
1420   inline  ::capnp::Void getBuiltinAnyStruct() const;
1421 
1422   inline bool isBuiltinAnyList() const;
1423   inline  ::capnp::Void getBuiltinAnyList() const;
1424 
1425   inline bool isBuiltinCapability() const;
1426   inline  ::capnp::Void getBuiltinCapability() const;
1427 
1428 private:
1429   ::capnp::_::StructReader _reader;
1430   template <typename, ::capnp::Kind>
1431   friend struct ::capnp::ToDynamic_;
1432   template <typename, ::capnp::Kind>
1433   friend struct ::capnp::_::PointerHelpers;
1434   template <typename, ::capnp::Kind>
1435   friend struct ::capnp::List;
1436   friend class ::capnp::MessageBuilder;
1437   friend class ::capnp::Orphanage;
1438 };
1439 
1440 class Declaration::Builder {
1441 public:
1442   typedef Declaration Builds;
1443 
1444   Builder() = delete;  // Deleted to discourage incorrect usage.
1445                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1446   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1447   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1448   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1449   inline Reader asReader() const { return *this; }
1450 
totalSize()1451   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1452 #if !CAPNP_LITE
toString()1453   inline ::kj::StringTree toString() const { return asReader().toString(); }
1454 #endif  // !CAPNP_LITE
1455 
1456   inline Which which();
1457   inline bool hasName();
1458   inline  ::capnp::compiler::LocatedText::Builder getName();
1459   inline void setName( ::capnp::compiler::LocatedText::Reader value);
1460   inline  ::capnp::compiler::LocatedText::Builder initName();
1461   inline void adoptName(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
1462   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownName();
1463 
1464   inline typename Id::Builder getId();
1465   inline typename Id::Builder initId();
1466 
1467   inline bool hasNestedDecls();
1468   inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Builder getNestedDecls();
1469   inline void setNestedDecls( ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Reader value);
1470   inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Builder initNestedDecls(unsigned int size);
1471   inline void adoptNestedDecls(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>&& value);
1472   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>> disownNestedDecls();
1473 
1474   inline bool hasAnnotations();
1475   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder getAnnotations();
1476   inline void setAnnotations( ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader value);
1477   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
1478   inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>&& value);
1479   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>> disownAnnotations();
1480 
1481   inline  ::uint32_t getStartByte();
1482   inline void setStartByte( ::uint32_t value);
1483 
1484   inline  ::uint32_t getEndByte();
1485   inline void setEndByte( ::uint32_t value);
1486 
1487   inline bool hasDocComment();
1488   inline  ::capnp::Text::Builder getDocComment();
1489   inline void setDocComment( ::capnp::Text::Reader value);
1490   inline  ::capnp::Text::Builder initDocComment(unsigned int size);
1491   inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
1492   inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
1493 
1494   inline bool isFile();
1495   inline  ::capnp::Void getFile();
1496   inline void setFile( ::capnp::Void value = ::capnp::VOID);
1497 
1498   inline bool isUsing();
1499   inline typename Using::Builder getUsing();
1500   inline typename Using::Builder initUsing();
1501 
1502   inline bool isConst();
1503   inline typename Const::Builder getConst();
1504   inline typename Const::Builder initConst();
1505 
1506   inline bool isEnum();
1507   inline  ::capnp::Void getEnum();
1508   inline void setEnum( ::capnp::Void value = ::capnp::VOID);
1509 
1510   inline bool isEnumerant();
1511   inline  ::capnp::Void getEnumerant();
1512   inline void setEnumerant( ::capnp::Void value = ::capnp::VOID);
1513 
1514   inline bool isStruct();
1515   inline  ::capnp::Void getStruct();
1516   inline void setStruct( ::capnp::Void value = ::capnp::VOID);
1517 
1518   inline bool isField();
1519   inline typename Field::Builder getField();
1520   inline typename Field::Builder initField();
1521 
1522   inline bool isUnion();
1523   inline  ::capnp::Void getUnion();
1524   inline void setUnion( ::capnp::Void value = ::capnp::VOID);
1525 
1526   inline bool isGroup();
1527   inline  ::capnp::Void getGroup();
1528   inline void setGroup( ::capnp::Void value = ::capnp::VOID);
1529 
1530   inline bool isInterface();
1531   inline typename Interface::Builder getInterface();
1532   inline typename Interface::Builder initInterface();
1533 
1534   inline bool isMethod();
1535   inline typename Method::Builder getMethod();
1536   inline typename Method::Builder initMethod();
1537 
1538   inline bool isAnnotation();
1539   inline typename Annotation::Builder getAnnotation();
1540   inline typename Annotation::Builder initAnnotation();
1541 
1542   inline bool isNakedId();
1543   inline bool hasNakedId();
1544   inline  ::capnp::compiler::LocatedInteger::Builder getNakedId();
1545   inline void setNakedId( ::capnp::compiler::LocatedInteger::Reader value);
1546   inline  ::capnp::compiler::LocatedInteger::Builder initNakedId();
1547   inline void adoptNakedId(::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value);
1548   inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> disownNakedId();
1549 
1550   inline bool isNakedAnnotation();
1551   inline bool hasNakedAnnotation();
1552   inline  ::capnp::compiler::Declaration::AnnotationApplication::Builder getNakedAnnotation();
1553   inline void setNakedAnnotation( ::capnp::compiler::Declaration::AnnotationApplication::Reader value);
1554   inline  ::capnp::compiler::Declaration::AnnotationApplication::Builder initNakedAnnotation();
1555   inline void adoptNakedAnnotation(::capnp::Orphan< ::capnp::compiler::Declaration::AnnotationApplication>&& value);
1556   inline ::capnp::Orphan< ::capnp::compiler::Declaration::AnnotationApplication> disownNakedAnnotation();
1557 
1558   inline bool isBuiltinVoid();
1559   inline  ::capnp::Void getBuiltinVoid();
1560   inline void setBuiltinVoid( ::capnp::Void value = ::capnp::VOID);
1561 
1562   inline bool isBuiltinBool();
1563   inline  ::capnp::Void getBuiltinBool();
1564   inline void setBuiltinBool( ::capnp::Void value = ::capnp::VOID);
1565 
1566   inline bool isBuiltinInt8();
1567   inline  ::capnp::Void getBuiltinInt8();
1568   inline void setBuiltinInt8( ::capnp::Void value = ::capnp::VOID);
1569 
1570   inline bool isBuiltinInt16();
1571   inline  ::capnp::Void getBuiltinInt16();
1572   inline void setBuiltinInt16( ::capnp::Void value = ::capnp::VOID);
1573 
1574   inline bool isBuiltinInt32();
1575   inline  ::capnp::Void getBuiltinInt32();
1576   inline void setBuiltinInt32( ::capnp::Void value = ::capnp::VOID);
1577 
1578   inline bool isBuiltinInt64();
1579   inline  ::capnp::Void getBuiltinInt64();
1580   inline void setBuiltinInt64( ::capnp::Void value = ::capnp::VOID);
1581 
1582   inline bool isBuiltinUInt8();
1583   inline  ::capnp::Void getBuiltinUInt8();
1584   inline void setBuiltinUInt8( ::capnp::Void value = ::capnp::VOID);
1585 
1586   inline bool isBuiltinUInt16();
1587   inline  ::capnp::Void getBuiltinUInt16();
1588   inline void setBuiltinUInt16( ::capnp::Void value = ::capnp::VOID);
1589 
1590   inline bool isBuiltinUInt32();
1591   inline  ::capnp::Void getBuiltinUInt32();
1592   inline void setBuiltinUInt32( ::capnp::Void value = ::capnp::VOID);
1593 
1594   inline bool isBuiltinUInt64();
1595   inline  ::capnp::Void getBuiltinUInt64();
1596   inline void setBuiltinUInt64( ::capnp::Void value = ::capnp::VOID);
1597 
1598   inline bool isBuiltinFloat32();
1599   inline  ::capnp::Void getBuiltinFloat32();
1600   inline void setBuiltinFloat32( ::capnp::Void value = ::capnp::VOID);
1601 
1602   inline bool isBuiltinFloat64();
1603   inline  ::capnp::Void getBuiltinFloat64();
1604   inline void setBuiltinFloat64( ::capnp::Void value = ::capnp::VOID);
1605 
1606   inline bool isBuiltinText();
1607   inline  ::capnp::Void getBuiltinText();
1608   inline void setBuiltinText( ::capnp::Void value = ::capnp::VOID);
1609 
1610   inline bool isBuiltinData();
1611   inline  ::capnp::Void getBuiltinData();
1612   inline void setBuiltinData( ::capnp::Void value = ::capnp::VOID);
1613 
1614   inline bool isBuiltinList();
1615   inline  ::capnp::Void getBuiltinList();
1616   inline void setBuiltinList( ::capnp::Void value = ::capnp::VOID);
1617 
1618   inline bool isBuiltinObject();
1619   inline  ::capnp::Void getBuiltinObject();
1620   inline void setBuiltinObject( ::capnp::Void value = ::capnp::VOID);
1621 
1622   inline bool isBuiltinAnyPointer();
1623   inline  ::capnp::Void getBuiltinAnyPointer();
1624   inline void setBuiltinAnyPointer( ::capnp::Void value = ::capnp::VOID);
1625 
1626   inline bool hasParameters();
1627   inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Builder getParameters();
1628   inline void setParameters( ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Reader value);
1629   inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Builder initParameters(unsigned int size);
1630   inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>&& value);
1631   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>> disownParameters();
1632 
1633   inline bool isBuiltinAnyStruct();
1634   inline  ::capnp::Void getBuiltinAnyStruct();
1635   inline void setBuiltinAnyStruct( ::capnp::Void value = ::capnp::VOID);
1636 
1637   inline bool isBuiltinAnyList();
1638   inline  ::capnp::Void getBuiltinAnyList();
1639   inline void setBuiltinAnyList( ::capnp::Void value = ::capnp::VOID);
1640 
1641   inline bool isBuiltinCapability();
1642   inline  ::capnp::Void getBuiltinCapability();
1643   inline void setBuiltinCapability( ::capnp::Void value = ::capnp::VOID);
1644 
1645 private:
1646   ::capnp::_::StructBuilder _builder;
1647   template <typename, ::capnp::Kind>
1648   friend struct ::capnp::ToDynamic_;
1649   friend class ::capnp::Orphanage;
1650   template <typename, ::capnp::Kind>
1651   friend struct ::capnp::_::PointerHelpers;
1652 };
1653 
1654 #if !CAPNP_LITE
1655 class Declaration::Pipeline {
1656 public:
1657   typedef Declaration Pipelines;
1658 
Pipeline(decltype (nullptr))1659   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1660   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1661       : _typeless(kj::mv(typeless)) {}
1662 
1663   inline  ::capnp::compiler::LocatedText::Pipeline getName();
1664   inline typename Id::Pipeline getId();
1665 private:
1666   ::capnp::AnyPointer::Pipeline _typeless;
1667   friend class ::capnp::PipelineHook;
1668   template <typename, ::capnp::Kind>
1669   friend struct ::capnp::ToDynamic_;
1670 };
1671 #endif  // !CAPNP_LITE
1672 
1673 class Declaration::BrandParameter::Reader {
1674 public:
1675   typedef BrandParameter Reads;
1676 
1677   Reader() = default;
Reader(::capnp::_::StructReader base)1678   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1679 
totalSize()1680   inline ::capnp::MessageSize totalSize() const {
1681     return _reader.totalSize().asPublic();
1682   }
1683 
1684 #if !CAPNP_LITE
toString()1685   inline ::kj::StringTree toString() const {
1686     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1687   }
1688 #endif  // !CAPNP_LITE
1689 
1690   inline bool hasName() const;
1691   inline  ::capnp::Text::Reader getName() const;
1692 
1693   inline  ::uint32_t getStartByte() const;
1694 
1695   inline  ::uint32_t getEndByte() const;
1696 
1697 private:
1698   ::capnp::_::StructReader _reader;
1699   template <typename, ::capnp::Kind>
1700   friend struct ::capnp::ToDynamic_;
1701   template <typename, ::capnp::Kind>
1702   friend struct ::capnp::_::PointerHelpers;
1703   template <typename, ::capnp::Kind>
1704   friend struct ::capnp::List;
1705   friend class ::capnp::MessageBuilder;
1706   friend class ::capnp::Orphanage;
1707 };
1708 
1709 class Declaration::BrandParameter::Builder {
1710 public:
1711   typedef BrandParameter Builds;
1712 
1713   Builder() = delete;  // Deleted to discourage incorrect usage.
1714                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1715   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1716   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1717   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1718   inline Reader asReader() const { return *this; }
1719 
totalSize()1720   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1721 #if !CAPNP_LITE
toString()1722   inline ::kj::StringTree toString() const { return asReader().toString(); }
1723 #endif  // !CAPNP_LITE
1724 
1725   inline bool hasName();
1726   inline  ::capnp::Text::Builder getName();
1727   inline void setName( ::capnp::Text::Reader value);
1728   inline  ::capnp::Text::Builder initName(unsigned int size);
1729   inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
1730   inline ::capnp::Orphan< ::capnp::Text> disownName();
1731 
1732   inline  ::uint32_t getStartByte();
1733   inline void setStartByte( ::uint32_t value);
1734 
1735   inline  ::uint32_t getEndByte();
1736   inline void setEndByte( ::uint32_t value);
1737 
1738 private:
1739   ::capnp::_::StructBuilder _builder;
1740   template <typename, ::capnp::Kind>
1741   friend struct ::capnp::ToDynamic_;
1742   friend class ::capnp::Orphanage;
1743   template <typename, ::capnp::Kind>
1744   friend struct ::capnp::_::PointerHelpers;
1745 };
1746 
1747 #if !CAPNP_LITE
1748 class Declaration::BrandParameter::Pipeline {
1749 public:
1750   typedef BrandParameter Pipelines;
1751 
Pipeline(decltype (nullptr))1752   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1753   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1754       : _typeless(kj::mv(typeless)) {}
1755 
1756 private:
1757   ::capnp::AnyPointer::Pipeline _typeless;
1758   friend class ::capnp::PipelineHook;
1759   template <typename, ::capnp::Kind>
1760   friend struct ::capnp::ToDynamic_;
1761 };
1762 #endif  // !CAPNP_LITE
1763 
1764 class Declaration::AnnotationApplication::Reader {
1765 public:
1766   typedef AnnotationApplication Reads;
1767 
1768   Reader() = default;
Reader(::capnp::_::StructReader base)1769   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1770 
totalSize()1771   inline ::capnp::MessageSize totalSize() const {
1772     return _reader.totalSize().asPublic();
1773   }
1774 
1775 #if !CAPNP_LITE
toString()1776   inline ::kj::StringTree toString() const {
1777     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1778   }
1779 #endif  // !CAPNP_LITE
1780 
1781   inline bool hasName() const;
1782   inline  ::capnp::compiler::Expression::Reader getName() const;
1783 
1784   inline typename Value::Reader getValue() const;
1785 
1786 private:
1787   ::capnp::_::StructReader _reader;
1788   template <typename, ::capnp::Kind>
1789   friend struct ::capnp::ToDynamic_;
1790   template <typename, ::capnp::Kind>
1791   friend struct ::capnp::_::PointerHelpers;
1792   template <typename, ::capnp::Kind>
1793   friend struct ::capnp::List;
1794   friend class ::capnp::MessageBuilder;
1795   friend class ::capnp::Orphanage;
1796 };
1797 
1798 class Declaration::AnnotationApplication::Builder {
1799 public:
1800   typedef AnnotationApplication Builds;
1801 
1802   Builder() = delete;  // Deleted to discourage incorrect usage.
1803                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1804   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1805   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1806   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1807   inline Reader asReader() const { return *this; }
1808 
totalSize()1809   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1810 #if !CAPNP_LITE
toString()1811   inline ::kj::StringTree toString() const { return asReader().toString(); }
1812 #endif  // !CAPNP_LITE
1813 
1814   inline bool hasName();
1815   inline  ::capnp::compiler::Expression::Builder getName();
1816   inline void setName( ::capnp::compiler::Expression::Reader value);
1817   inline  ::capnp::compiler::Expression::Builder initName();
1818   inline void adoptName(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
1819   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownName();
1820 
1821   inline typename Value::Builder getValue();
1822   inline typename Value::Builder initValue();
1823 
1824 private:
1825   ::capnp::_::StructBuilder _builder;
1826   template <typename, ::capnp::Kind>
1827   friend struct ::capnp::ToDynamic_;
1828   friend class ::capnp::Orphanage;
1829   template <typename, ::capnp::Kind>
1830   friend struct ::capnp::_::PointerHelpers;
1831 };
1832 
1833 #if !CAPNP_LITE
1834 class Declaration::AnnotationApplication::Pipeline {
1835 public:
1836   typedef AnnotationApplication Pipelines;
1837 
Pipeline(decltype (nullptr))1838   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1839   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1840       : _typeless(kj::mv(typeless)) {}
1841 
1842   inline  ::capnp::compiler::Expression::Pipeline getName();
1843   inline typename Value::Pipeline getValue();
1844 private:
1845   ::capnp::AnyPointer::Pipeline _typeless;
1846   friend class ::capnp::PipelineHook;
1847   template <typename, ::capnp::Kind>
1848   friend struct ::capnp::ToDynamic_;
1849 };
1850 #endif  // !CAPNP_LITE
1851 
1852 class Declaration::AnnotationApplication::Value::Reader {
1853 public:
1854   typedef Value Reads;
1855 
1856   Reader() = default;
Reader(::capnp::_::StructReader base)1857   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1858 
totalSize()1859   inline ::capnp::MessageSize totalSize() const {
1860     return _reader.totalSize().asPublic();
1861   }
1862 
1863 #if !CAPNP_LITE
toString()1864   inline ::kj::StringTree toString() const {
1865     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1866   }
1867 #endif  // !CAPNP_LITE
1868 
1869   inline Which which() const;
1870   inline bool isNone() const;
1871   inline  ::capnp::Void getNone() const;
1872 
1873   inline bool isExpression() const;
1874   inline bool hasExpression() const;
1875   inline  ::capnp::compiler::Expression::Reader getExpression() const;
1876 
1877 private:
1878   ::capnp::_::StructReader _reader;
1879   template <typename, ::capnp::Kind>
1880   friend struct ::capnp::ToDynamic_;
1881   template <typename, ::capnp::Kind>
1882   friend struct ::capnp::_::PointerHelpers;
1883   template <typename, ::capnp::Kind>
1884   friend struct ::capnp::List;
1885   friend class ::capnp::MessageBuilder;
1886   friend class ::capnp::Orphanage;
1887 };
1888 
1889 class Declaration::AnnotationApplication::Value::Builder {
1890 public:
1891   typedef Value Builds;
1892 
1893   Builder() = delete;  // Deleted to discourage incorrect usage.
1894                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1895   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1896   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1897   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1898   inline Reader asReader() const { return *this; }
1899 
totalSize()1900   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1901 #if !CAPNP_LITE
toString()1902   inline ::kj::StringTree toString() const { return asReader().toString(); }
1903 #endif  // !CAPNP_LITE
1904 
1905   inline Which which();
1906   inline bool isNone();
1907   inline  ::capnp::Void getNone();
1908   inline void setNone( ::capnp::Void value = ::capnp::VOID);
1909 
1910   inline bool isExpression();
1911   inline bool hasExpression();
1912   inline  ::capnp::compiler::Expression::Builder getExpression();
1913   inline void setExpression( ::capnp::compiler::Expression::Reader value);
1914   inline  ::capnp::compiler::Expression::Builder initExpression();
1915   inline void adoptExpression(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
1916   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownExpression();
1917 
1918 private:
1919   ::capnp::_::StructBuilder _builder;
1920   template <typename, ::capnp::Kind>
1921   friend struct ::capnp::ToDynamic_;
1922   friend class ::capnp::Orphanage;
1923   template <typename, ::capnp::Kind>
1924   friend struct ::capnp::_::PointerHelpers;
1925 };
1926 
1927 #if !CAPNP_LITE
1928 class Declaration::AnnotationApplication::Value::Pipeline {
1929 public:
1930   typedef Value Pipelines;
1931 
Pipeline(decltype (nullptr))1932   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)1933   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1934       : _typeless(kj::mv(typeless)) {}
1935 
1936 private:
1937   ::capnp::AnyPointer::Pipeline _typeless;
1938   friend class ::capnp::PipelineHook;
1939   template <typename, ::capnp::Kind>
1940   friend struct ::capnp::ToDynamic_;
1941 };
1942 #endif  // !CAPNP_LITE
1943 
1944 class Declaration::ParamList::Reader {
1945 public:
1946   typedef ParamList Reads;
1947 
1948   Reader() = default;
Reader(::capnp::_::StructReader base)1949   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1950 
totalSize()1951   inline ::capnp::MessageSize totalSize() const {
1952     return _reader.totalSize().asPublic();
1953   }
1954 
1955 #if !CAPNP_LITE
toString()1956   inline ::kj::StringTree toString() const {
1957     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1958   }
1959 #endif  // !CAPNP_LITE
1960 
1961   inline Which which() const;
1962   inline bool isNamedList() const;
1963   inline bool hasNamedList() const;
1964   inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Reader getNamedList() const;
1965 
1966   inline bool isType() const;
1967   inline bool hasType() const;
1968   inline  ::capnp::compiler::Expression::Reader getType() const;
1969 
1970   inline  ::uint32_t getStartByte() const;
1971 
1972   inline  ::uint32_t getEndByte() const;
1973 
1974   inline bool isStream() const;
1975   inline  ::capnp::Void getStream() const;
1976 
1977 private:
1978   ::capnp::_::StructReader _reader;
1979   template <typename, ::capnp::Kind>
1980   friend struct ::capnp::ToDynamic_;
1981   template <typename, ::capnp::Kind>
1982   friend struct ::capnp::_::PointerHelpers;
1983   template <typename, ::capnp::Kind>
1984   friend struct ::capnp::List;
1985   friend class ::capnp::MessageBuilder;
1986   friend class ::capnp::Orphanage;
1987 };
1988 
1989 class Declaration::ParamList::Builder {
1990 public:
1991   typedef ParamList Builds;
1992 
1993   Builder() = delete;  // Deleted to discourage incorrect usage.
1994                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))1995   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)1996   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()1997   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()1998   inline Reader asReader() const { return *this; }
1999 
totalSize()2000   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2001 #if !CAPNP_LITE
toString()2002   inline ::kj::StringTree toString() const { return asReader().toString(); }
2003 #endif  // !CAPNP_LITE
2004 
2005   inline Which which();
2006   inline bool isNamedList();
2007   inline bool hasNamedList();
2008   inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Builder getNamedList();
2009   inline void setNamedList( ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Reader value);
2010   inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Builder initNamedList(unsigned int size);
2011   inline void adoptNamedList(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>&& value);
2012   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>> disownNamedList();
2013 
2014   inline bool isType();
2015   inline bool hasType();
2016   inline  ::capnp::compiler::Expression::Builder getType();
2017   inline void setType( ::capnp::compiler::Expression::Reader value);
2018   inline  ::capnp::compiler::Expression::Builder initType();
2019   inline void adoptType(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2020   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownType();
2021 
2022   inline  ::uint32_t getStartByte();
2023   inline void setStartByte( ::uint32_t value);
2024 
2025   inline  ::uint32_t getEndByte();
2026   inline void setEndByte( ::uint32_t value);
2027 
2028   inline bool isStream();
2029   inline  ::capnp::Void getStream();
2030   inline void setStream( ::capnp::Void value = ::capnp::VOID);
2031 
2032 private:
2033   ::capnp::_::StructBuilder _builder;
2034   template <typename, ::capnp::Kind>
2035   friend struct ::capnp::ToDynamic_;
2036   friend class ::capnp::Orphanage;
2037   template <typename, ::capnp::Kind>
2038   friend struct ::capnp::_::PointerHelpers;
2039 };
2040 
2041 #if !CAPNP_LITE
2042 class Declaration::ParamList::Pipeline {
2043 public:
2044   typedef ParamList Pipelines;
2045 
Pipeline(decltype (nullptr))2046   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2047   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2048       : _typeless(kj::mv(typeless)) {}
2049 
2050 private:
2051   ::capnp::AnyPointer::Pipeline _typeless;
2052   friend class ::capnp::PipelineHook;
2053   template <typename, ::capnp::Kind>
2054   friend struct ::capnp::ToDynamic_;
2055 };
2056 #endif  // !CAPNP_LITE
2057 
2058 class Declaration::Param::Reader {
2059 public:
2060   typedef Param Reads;
2061 
2062   Reader() = default;
Reader(::capnp::_::StructReader base)2063   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2064 
totalSize()2065   inline ::capnp::MessageSize totalSize() const {
2066     return _reader.totalSize().asPublic();
2067   }
2068 
2069 #if !CAPNP_LITE
toString()2070   inline ::kj::StringTree toString() const {
2071     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2072   }
2073 #endif  // !CAPNP_LITE
2074 
2075   inline bool hasName() const;
2076   inline  ::capnp::compiler::LocatedText::Reader getName() const;
2077 
2078   inline bool hasType() const;
2079   inline  ::capnp::compiler::Expression::Reader getType() const;
2080 
2081   inline bool hasAnnotations() const;
2082   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
2083 
2084   inline typename DefaultValue::Reader getDefaultValue() const;
2085 
2086   inline  ::uint32_t getStartByte() const;
2087 
2088   inline  ::uint32_t getEndByte() const;
2089 
2090 private:
2091   ::capnp::_::StructReader _reader;
2092   template <typename, ::capnp::Kind>
2093   friend struct ::capnp::ToDynamic_;
2094   template <typename, ::capnp::Kind>
2095   friend struct ::capnp::_::PointerHelpers;
2096   template <typename, ::capnp::Kind>
2097   friend struct ::capnp::List;
2098   friend class ::capnp::MessageBuilder;
2099   friend class ::capnp::Orphanage;
2100 };
2101 
2102 class Declaration::Param::Builder {
2103 public:
2104   typedef Param Builds;
2105 
2106   Builder() = delete;  // Deleted to discourage incorrect usage.
2107                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2108   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2109   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2110   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2111   inline Reader asReader() const { return *this; }
2112 
totalSize()2113   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2114 #if !CAPNP_LITE
toString()2115   inline ::kj::StringTree toString() const { return asReader().toString(); }
2116 #endif  // !CAPNP_LITE
2117 
2118   inline bool hasName();
2119   inline  ::capnp::compiler::LocatedText::Builder getName();
2120   inline void setName( ::capnp::compiler::LocatedText::Reader value);
2121   inline  ::capnp::compiler::LocatedText::Builder initName();
2122   inline void adoptName(::capnp::Orphan< ::capnp::compiler::LocatedText>&& value);
2123   inline ::capnp::Orphan< ::capnp::compiler::LocatedText> disownName();
2124 
2125   inline bool hasType();
2126   inline  ::capnp::compiler::Expression::Builder getType();
2127   inline void setType( ::capnp::compiler::Expression::Reader value);
2128   inline  ::capnp::compiler::Expression::Builder initType();
2129   inline void adoptType(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2130   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownType();
2131 
2132   inline bool hasAnnotations();
2133   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder getAnnotations();
2134   inline void setAnnotations( ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader value);
2135   inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
2136   inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>&& value);
2137   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>> disownAnnotations();
2138 
2139   inline typename DefaultValue::Builder getDefaultValue();
2140   inline typename DefaultValue::Builder initDefaultValue();
2141 
2142   inline  ::uint32_t getStartByte();
2143   inline void setStartByte( ::uint32_t value);
2144 
2145   inline  ::uint32_t getEndByte();
2146   inline void setEndByte( ::uint32_t value);
2147 
2148 private:
2149   ::capnp::_::StructBuilder _builder;
2150   template <typename, ::capnp::Kind>
2151   friend struct ::capnp::ToDynamic_;
2152   friend class ::capnp::Orphanage;
2153   template <typename, ::capnp::Kind>
2154   friend struct ::capnp::_::PointerHelpers;
2155 };
2156 
2157 #if !CAPNP_LITE
2158 class Declaration::Param::Pipeline {
2159 public:
2160   typedef Param Pipelines;
2161 
Pipeline(decltype (nullptr))2162   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2163   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2164       : _typeless(kj::mv(typeless)) {}
2165 
2166   inline  ::capnp::compiler::LocatedText::Pipeline getName();
2167   inline  ::capnp::compiler::Expression::Pipeline getType();
2168   inline typename DefaultValue::Pipeline getDefaultValue();
2169 private:
2170   ::capnp::AnyPointer::Pipeline _typeless;
2171   friend class ::capnp::PipelineHook;
2172   template <typename, ::capnp::Kind>
2173   friend struct ::capnp::ToDynamic_;
2174 };
2175 #endif  // !CAPNP_LITE
2176 
2177 class Declaration::Param::DefaultValue::Reader {
2178 public:
2179   typedef DefaultValue Reads;
2180 
2181   Reader() = default;
Reader(::capnp::_::StructReader base)2182   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2183 
totalSize()2184   inline ::capnp::MessageSize totalSize() const {
2185     return _reader.totalSize().asPublic();
2186   }
2187 
2188 #if !CAPNP_LITE
toString()2189   inline ::kj::StringTree toString() const {
2190     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2191   }
2192 #endif  // !CAPNP_LITE
2193 
2194   inline Which which() const;
2195   inline bool isNone() const;
2196   inline  ::capnp::Void getNone() const;
2197 
2198   inline bool isValue() const;
2199   inline bool hasValue() const;
2200   inline  ::capnp::compiler::Expression::Reader getValue() const;
2201 
2202 private:
2203   ::capnp::_::StructReader _reader;
2204   template <typename, ::capnp::Kind>
2205   friend struct ::capnp::ToDynamic_;
2206   template <typename, ::capnp::Kind>
2207   friend struct ::capnp::_::PointerHelpers;
2208   template <typename, ::capnp::Kind>
2209   friend struct ::capnp::List;
2210   friend class ::capnp::MessageBuilder;
2211   friend class ::capnp::Orphanage;
2212 };
2213 
2214 class Declaration::Param::DefaultValue::Builder {
2215 public:
2216   typedef DefaultValue Builds;
2217 
2218   Builder() = delete;  // Deleted to discourage incorrect usage.
2219                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2220   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2221   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2222   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2223   inline Reader asReader() const { return *this; }
2224 
totalSize()2225   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2226 #if !CAPNP_LITE
toString()2227   inline ::kj::StringTree toString() const { return asReader().toString(); }
2228 #endif  // !CAPNP_LITE
2229 
2230   inline Which which();
2231   inline bool isNone();
2232   inline  ::capnp::Void getNone();
2233   inline void setNone( ::capnp::Void value = ::capnp::VOID);
2234 
2235   inline bool isValue();
2236   inline bool hasValue();
2237   inline  ::capnp::compiler::Expression::Builder getValue();
2238   inline void setValue( ::capnp::compiler::Expression::Reader value);
2239   inline  ::capnp::compiler::Expression::Builder initValue();
2240   inline void adoptValue(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2241   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownValue();
2242 
2243 private:
2244   ::capnp::_::StructBuilder _builder;
2245   template <typename, ::capnp::Kind>
2246   friend struct ::capnp::ToDynamic_;
2247   friend class ::capnp::Orphanage;
2248   template <typename, ::capnp::Kind>
2249   friend struct ::capnp::_::PointerHelpers;
2250 };
2251 
2252 #if !CAPNP_LITE
2253 class Declaration::Param::DefaultValue::Pipeline {
2254 public:
2255   typedef DefaultValue Pipelines;
2256 
Pipeline(decltype (nullptr))2257   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2258   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2259       : _typeless(kj::mv(typeless)) {}
2260 
2261 private:
2262   ::capnp::AnyPointer::Pipeline _typeless;
2263   friend class ::capnp::PipelineHook;
2264   template <typename, ::capnp::Kind>
2265   friend struct ::capnp::ToDynamic_;
2266 };
2267 #endif  // !CAPNP_LITE
2268 
2269 class Declaration::Id::Reader {
2270 public:
2271   typedef Id Reads;
2272 
2273   Reader() = default;
Reader(::capnp::_::StructReader base)2274   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2275 
totalSize()2276   inline ::capnp::MessageSize totalSize() const {
2277     return _reader.totalSize().asPublic();
2278   }
2279 
2280 #if !CAPNP_LITE
toString()2281   inline ::kj::StringTree toString() const {
2282     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2283   }
2284 #endif  // !CAPNP_LITE
2285 
2286   inline Which which() const;
2287   inline bool isUnspecified() const;
2288   inline  ::capnp::Void getUnspecified() const;
2289 
2290   inline bool isUid() const;
2291   inline bool hasUid() const;
2292   inline  ::capnp::compiler::LocatedInteger::Reader getUid() const;
2293 
2294   inline bool isOrdinal() const;
2295   inline bool hasOrdinal() const;
2296   inline  ::capnp::compiler::LocatedInteger::Reader getOrdinal() const;
2297 
2298 private:
2299   ::capnp::_::StructReader _reader;
2300   template <typename, ::capnp::Kind>
2301   friend struct ::capnp::ToDynamic_;
2302   template <typename, ::capnp::Kind>
2303   friend struct ::capnp::_::PointerHelpers;
2304   template <typename, ::capnp::Kind>
2305   friend struct ::capnp::List;
2306   friend class ::capnp::MessageBuilder;
2307   friend class ::capnp::Orphanage;
2308 };
2309 
2310 class Declaration::Id::Builder {
2311 public:
2312   typedef Id Builds;
2313 
2314   Builder() = delete;  // Deleted to discourage incorrect usage.
2315                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2316   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2317   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2318   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2319   inline Reader asReader() const { return *this; }
2320 
totalSize()2321   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2322 #if !CAPNP_LITE
toString()2323   inline ::kj::StringTree toString() const { return asReader().toString(); }
2324 #endif  // !CAPNP_LITE
2325 
2326   inline Which which();
2327   inline bool isUnspecified();
2328   inline  ::capnp::Void getUnspecified();
2329   inline void setUnspecified( ::capnp::Void value = ::capnp::VOID);
2330 
2331   inline bool isUid();
2332   inline bool hasUid();
2333   inline  ::capnp::compiler::LocatedInteger::Builder getUid();
2334   inline void setUid( ::capnp::compiler::LocatedInteger::Reader value);
2335   inline  ::capnp::compiler::LocatedInteger::Builder initUid();
2336   inline void adoptUid(::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value);
2337   inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> disownUid();
2338 
2339   inline bool isOrdinal();
2340   inline bool hasOrdinal();
2341   inline  ::capnp::compiler::LocatedInteger::Builder getOrdinal();
2342   inline void setOrdinal( ::capnp::compiler::LocatedInteger::Reader value);
2343   inline  ::capnp::compiler::LocatedInteger::Builder initOrdinal();
2344   inline void adoptOrdinal(::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value);
2345   inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> disownOrdinal();
2346 
2347 private:
2348   ::capnp::_::StructBuilder _builder;
2349   template <typename, ::capnp::Kind>
2350   friend struct ::capnp::ToDynamic_;
2351   friend class ::capnp::Orphanage;
2352   template <typename, ::capnp::Kind>
2353   friend struct ::capnp::_::PointerHelpers;
2354 };
2355 
2356 #if !CAPNP_LITE
2357 class Declaration::Id::Pipeline {
2358 public:
2359   typedef Id Pipelines;
2360 
Pipeline(decltype (nullptr))2361   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2362   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2363       : _typeless(kj::mv(typeless)) {}
2364 
2365 private:
2366   ::capnp::AnyPointer::Pipeline _typeless;
2367   friend class ::capnp::PipelineHook;
2368   template <typename, ::capnp::Kind>
2369   friend struct ::capnp::ToDynamic_;
2370 };
2371 #endif  // !CAPNP_LITE
2372 
2373 class Declaration::Using::Reader {
2374 public:
2375   typedef Using Reads;
2376 
2377   Reader() = default;
Reader(::capnp::_::StructReader base)2378   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2379 
totalSize()2380   inline ::capnp::MessageSize totalSize() const {
2381     return _reader.totalSize().asPublic();
2382   }
2383 
2384 #if !CAPNP_LITE
toString()2385   inline ::kj::StringTree toString() const {
2386     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2387   }
2388 #endif  // !CAPNP_LITE
2389 
2390   inline bool hasTarget() const;
2391   inline  ::capnp::compiler::Expression::Reader getTarget() const;
2392 
2393 private:
2394   ::capnp::_::StructReader _reader;
2395   template <typename, ::capnp::Kind>
2396   friend struct ::capnp::ToDynamic_;
2397   template <typename, ::capnp::Kind>
2398   friend struct ::capnp::_::PointerHelpers;
2399   template <typename, ::capnp::Kind>
2400   friend struct ::capnp::List;
2401   friend class ::capnp::MessageBuilder;
2402   friend class ::capnp::Orphanage;
2403 };
2404 
2405 class Declaration::Using::Builder {
2406 public:
2407   typedef Using Builds;
2408 
2409   Builder() = delete;  // Deleted to discourage incorrect usage.
2410                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2411   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2412   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2413   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2414   inline Reader asReader() const { return *this; }
2415 
totalSize()2416   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2417 #if !CAPNP_LITE
toString()2418   inline ::kj::StringTree toString() const { return asReader().toString(); }
2419 #endif  // !CAPNP_LITE
2420 
2421   inline bool hasTarget();
2422   inline  ::capnp::compiler::Expression::Builder getTarget();
2423   inline void setTarget( ::capnp::compiler::Expression::Reader value);
2424   inline  ::capnp::compiler::Expression::Builder initTarget();
2425   inline void adoptTarget(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2426   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownTarget();
2427 
2428 private:
2429   ::capnp::_::StructBuilder _builder;
2430   template <typename, ::capnp::Kind>
2431   friend struct ::capnp::ToDynamic_;
2432   friend class ::capnp::Orphanage;
2433   template <typename, ::capnp::Kind>
2434   friend struct ::capnp::_::PointerHelpers;
2435 };
2436 
2437 #if !CAPNP_LITE
2438 class Declaration::Using::Pipeline {
2439 public:
2440   typedef Using Pipelines;
2441 
Pipeline(decltype (nullptr))2442   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2443   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2444       : _typeless(kj::mv(typeless)) {}
2445 
2446   inline  ::capnp::compiler::Expression::Pipeline getTarget();
2447 private:
2448   ::capnp::AnyPointer::Pipeline _typeless;
2449   friend class ::capnp::PipelineHook;
2450   template <typename, ::capnp::Kind>
2451   friend struct ::capnp::ToDynamic_;
2452 };
2453 #endif  // !CAPNP_LITE
2454 
2455 class Declaration::Const::Reader {
2456 public:
2457   typedef Const Reads;
2458 
2459   Reader() = default;
Reader(::capnp::_::StructReader base)2460   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2461 
totalSize()2462   inline ::capnp::MessageSize totalSize() const {
2463     return _reader.totalSize().asPublic();
2464   }
2465 
2466 #if !CAPNP_LITE
toString()2467   inline ::kj::StringTree toString() const {
2468     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2469   }
2470 #endif  // !CAPNP_LITE
2471 
2472   inline bool hasType() const;
2473   inline  ::capnp::compiler::Expression::Reader getType() const;
2474 
2475   inline bool hasValue() const;
2476   inline  ::capnp::compiler::Expression::Reader getValue() const;
2477 
2478 private:
2479   ::capnp::_::StructReader _reader;
2480   template <typename, ::capnp::Kind>
2481   friend struct ::capnp::ToDynamic_;
2482   template <typename, ::capnp::Kind>
2483   friend struct ::capnp::_::PointerHelpers;
2484   template <typename, ::capnp::Kind>
2485   friend struct ::capnp::List;
2486   friend class ::capnp::MessageBuilder;
2487   friend class ::capnp::Orphanage;
2488 };
2489 
2490 class Declaration::Const::Builder {
2491 public:
2492   typedef Const Builds;
2493 
2494   Builder() = delete;  // Deleted to discourage incorrect usage.
2495                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2496   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2497   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2498   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2499   inline Reader asReader() const { return *this; }
2500 
totalSize()2501   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2502 #if !CAPNP_LITE
toString()2503   inline ::kj::StringTree toString() const { return asReader().toString(); }
2504 #endif  // !CAPNP_LITE
2505 
2506   inline bool hasType();
2507   inline  ::capnp::compiler::Expression::Builder getType();
2508   inline void setType( ::capnp::compiler::Expression::Reader value);
2509   inline  ::capnp::compiler::Expression::Builder initType();
2510   inline void adoptType(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2511   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownType();
2512 
2513   inline bool hasValue();
2514   inline  ::capnp::compiler::Expression::Builder getValue();
2515   inline void setValue( ::capnp::compiler::Expression::Reader value);
2516   inline  ::capnp::compiler::Expression::Builder initValue();
2517   inline void adoptValue(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2518   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownValue();
2519 
2520 private:
2521   ::capnp::_::StructBuilder _builder;
2522   template <typename, ::capnp::Kind>
2523   friend struct ::capnp::ToDynamic_;
2524   friend class ::capnp::Orphanage;
2525   template <typename, ::capnp::Kind>
2526   friend struct ::capnp::_::PointerHelpers;
2527 };
2528 
2529 #if !CAPNP_LITE
2530 class Declaration::Const::Pipeline {
2531 public:
2532   typedef Const Pipelines;
2533 
Pipeline(decltype (nullptr))2534   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2535   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2536       : _typeless(kj::mv(typeless)) {}
2537 
2538   inline  ::capnp::compiler::Expression::Pipeline getType();
2539   inline  ::capnp::compiler::Expression::Pipeline getValue();
2540 private:
2541   ::capnp::AnyPointer::Pipeline _typeless;
2542   friend class ::capnp::PipelineHook;
2543   template <typename, ::capnp::Kind>
2544   friend struct ::capnp::ToDynamic_;
2545 };
2546 #endif  // !CAPNP_LITE
2547 
2548 class Declaration::Field::Reader {
2549 public:
2550   typedef Field Reads;
2551 
2552   Reader() = default;
Reader(::capnp::_::StructReader base)2553   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2554 
totalSize()2555   inline ::capnp::MessageSize totalSize() const {
2556     return _reader.totalSize().asPublic();
2557   }
2558 
2559 #if !CAPNP_LITE
toString()2560   inline ::kj::StringTree toString() const {
2561     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2562   }
2563 #endif  // !CAPNP_LITE
2564 
2565   inline bool hasType() const;
2566   inline  ::capnp::compiler::Expression::Reader getType() const;
2567 
2568   inline typename DefaultValue::Reader getDefaultValue() const;
2569 
2570 private:
2571   ::capnp::_::StructReader _reader;
2572   template <typename, ::capnp::Kind>
2573   friend struct ::capnp::ToDynamic_;
2574   template <typename, ::capnp::Kind>
2575   friend struct ::capnp::_::PointerHelpers;
2576   template <typename, ::capnp::Kind>
2577   friend struct ::capnp::List;
2578   friend class ::capnp::MessageBuilder;
2579   friend class ::capnp::Orphanage;
2580 };
2581 
2582 class Declaration::Field::Builder {
2583 public:
2584   typedef Field Builds;
2585 
2586   Builder() = delete;  // Deleted to discourage incorrect usage.
2587                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2588   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2589   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2590   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2591   inline Reader asReader() const { return *this; }
2592 
totalSize()2593   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2594 #if !CAPNP_LITE
toString()2595   inline ::kj::StringTree toString() const { return asReader().toString(); }
2596 #endif  // !CAPNP_LITE
2597 
2598   inline bool hasType();
2599   inline  ::capnp::compiler::Expression::Builder getType();
2600   inline void setType( ::capnp::compiler::Expression::Reader value);
2601   inline  ::capnp::compiler::Expression::Builder initType();
2602   inline void adoptType(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2603   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownType();
2604 
2605   inline typename DefaultValue::Builder getDefaultValue();
2606   inline typename DefaultValue::Builder initDefaultValue();
2607 
2608 private:
2609   ::capnp::_::StructBuilder _builder;
2610   template <typename, ::capnp::Kind>
2611   friend struct ::capnp::ToDynamic_;
2612   friend class ::capnp::Orphanage;
2613   template <typename, ::capnp::Kind>
2614   friend struct ::capnp::_::PointerHelpers;
2615 };
2616 
2617 #if !CAPNP_LITE
2618 class Declaration::Field::Pipeline {
2619 public:
2620   typedef Field Pipelines;
2621 
Pipeline(decltype (nullptr))2622   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2623   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2624       : _typeless(kj::mv(typeless)) {}
2625 
2626   inline  ::capnp::compiler::Expression::Pipeline getType();
2627   inline typename DefaultValue::Pipeline getDefaultValue();
2628 private:
2629   ::capnp::AnyPointer::Pipeline _typeless;
2630   friend class ::capnp::PipelineHook;
2631   template <typename, ::capnp::Kind>
2632   friend struct ::capnp::ToDynamic_;
2633 };
2634 #endif  // !CAPNP_LITE
2635 
2636 class Declaration::Field::DefaultValue::Reader {
2637 public:
2638   typedef DefaultValue Reads;
2639 
2640   Reader() = default;
Reader(::capnp::_::StructReader base)2641   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2642 
totalSize()2643   inline ::capnp::MessageSize totalSize() const {
2644     return _reader.totalSize().asPublic();
2645   }
2646 
2647 #if !CAPNP_LITE
toString()2648   inline ::kj::StringTree toString() const {
2649     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2650   }
2651 #endif  // !CAPNP_LITE
2652 
2653   inline Which which() const;
2654   inline bool isNone() const;
2655   inline  ::capnp::Void getNone() const;
2656 
2657   inline bool isValue() const;
2658   inline bool hasValue() const;
2659   inline  ::capnp::compiler::Expression::Reader getValue() const;
2660 
2661 private:
2662   ::capnp::_::StructReader _reader;
2663   template <typename, ::capnp::Kind>
2664   friend struct ::capnp::ToDynamic_;
2665   template <typename, ::capnp::Kind>
2666   friend struct ::capnp::_::PointerHelpers;
2667   template <typename, ::capnp::Kind>
2668   friend struct ::capnp::List;
2669   friend class ::capnp::MessageBuilder;
2670   friend class ::capnp::Orphanage;
2671 };
2672 
2673 class Declaration::Field::DefaultValue::Builder {
2674 public:
2675   typedef DefaultValue Builds;
2676 
2677   Builder() = delete;  // Deleted to discourage incorrect usage.
2678                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2679   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2680   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2681   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2682   inline Reader asReader() const { return *this; }
2683 
totalSize()2684   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2685 #if !CAPNP_LITE
toString()2686   inline ::kj::StringTree toString() const { return asReader().toString(); }
2687 #endif  // !CAPNP_LITE
2688 
2689   inline Which which();
2690   inline bool isNone();
2691   inline  ::capnp::Void getNone();
2692   inline void setNone( ::capnp::Void value = ::capnp::VOID);
2693 
2694   inline bool isValue();
2695   inline bool hasValue();
2696   inline  ::capnp::compiler::Expression::Builder getValue();
2697   inline void setValue( ::capnp::compiler::Expression::Reader value);
2698   inline  ::capnp::compiler::Expression::Builder initValue();
2699   inline void adoptValue(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
2700   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownValue();
2701 
2702 private:
2703   ::capnp::_::StructBuilder _builder;
2704   template <typename, ::capnp::Kind>
2705   friend struct ::capnp::ToDynamic_;
2706   friend class ::capnp::Orphanage;
2707   template <typename, ::capnp::Kind>
2708   friend struct ::capnp::_::PointerHelpers;
2709 };
2710 
2711 #if !CAPNP_LITE
2712 class Declaration::Field::DefaultValue::Pipeline {
2713 public:
2714   typedef DefaultValue Pipelines;
2715 
Pipeline(decltype (nullptr))2716   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2717   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2718       : _typeless(kj::mv(typeless)) {}
2719 
2720 private:
2721   ::capnp::AnyPointer::Pipeline _typeless;
2722   friend class ::capnp::PipelineHook;
2723   template <typename, ::capnp::Kind>
2724   friend struct ::capnp::ToDynamic_;
2725 };
2726 #endif  // !CAPNP_LITE
2727 
2728 class Declaration::Interface::Reader {
2729 public:
2730   typedef Interface Reads;
2731 
2732   Reader() = default;
Reader(::capnp::_::StructReader base)2733   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2734 
totalSize()2735   inline ::capnp::MessageSize totalSize() const {
2736     return _reader.totalSize().asPublic();
2737   }
2738 
2739 #if !CAPNP_LITE
toString()2740   inline ::kj::StringTree toString() const {
2741     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2742   }
2743 #endif  // !CAPNP_LITE
2744 
2745   inline bool hasSuperclasses() const;
2746   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader getSuperclasses() const;
2747 
2748 private:
2749   ::capnp::_::StructReader _reader;
2750   template <typename, ::capnp::Kind>
2751   friend struct ::capnp::ToDynamic_;
2752   template <typename, ::capnp::Kind>
2753   friend struct ::capnp::_::PointerHelpers;
2754   template <typename, ::capnp::Kind>
2755   friend struct ::capnp::List;
2756   friend class ::capnp::MessageBuilder;
2757   friend class ::capnp::Orphanage;
2758 };
2759 
2760 class Declaration::Interface::Builder {
2761 public:
2762   typedef Interface Builds;
2763 
2764   Builder() = delete;  // Deleted to discourage incorrect usage.
2765                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2766   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2767   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2768   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2769   inline Reader asReader() const { return *this; }
2770 
totalSize()2771   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2772 #if !CAPNP_LITE
toString()2773   inline ::kj::StringTree toString() const { return asReader().toString(); }
2774 #endif  // !CAPNP_LITE
2775 
2776   inline bool hasSuperclasses();
2777   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder getSuperclasses();
2778   inline void setSuperclasses( ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader value);
2779   inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder initSuperclasses(unsigned int size);
2780   inline void adoptSuperclasses(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>&& value);
2781   inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>> disownSuperclasses();
2782 
2783 private:
2784   ::capnp::_::StructBuilder _builder;
2785   template <typename, ::capnp::Kind>
2786   friend struct ::capnp::ToDynamic_;
2787   friend class ::capnp::Orphanage;
2788   template <typename, ::capnp::Kind>
2789   friend struct ::capnp::_::PointerHelpers;
2790 };
2791 
2792 #if !CAPNP_LITE
2793 class Declaration::Interface::Pipeline {
2794 public:
2795   typedef Interface Pipelines;
2796 
Pipeline(decltype (nullptr))2797   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2798   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2799       : _typeless(kj::mv(typeless)) {}
2800 
2801 private:
2802   ::capnp::AnyPointer::Pipeline _typeless;
2803   friend class ::capnp::PipelineHook;
2804   template <typename, ::capnp::Kind>
2805   friend struct ::capnp::ToDynamic_;
2806 };
2807 #endif  // !CAPNP_LITE
2808 
2809 class Declaration::Method::Reader {
2810 public:
2811   typedef Method Reads;
2812 
2813   Reader() = default;
Reader(::capnp::_::StructReader base)2814   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2815 
totalSize()2816   inline ::capnp::MessageSize totalSize() const {
2817     return _reader.totalSize().asPublic();
2818   }
2819 
2820 #if !CAPNP_LITE
toString()2821   inline ::kj::StringTree toString() const {
2822     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2823   }
2824 #endif  // !CAPNP_LITE
2825 
2826   inline bool hasParams() const;
2827   inline  ::capnp::compiler::Declaration::ParamList::Reader getParams() const;
2828 
2829   inline typename Results::Reader getResults() const;
2830 
2831 private:
2832   ::capnp::_::StructReader _reader;
2833   template <typename, ::capnp::Kind>
2834   friend struct ::capnp::ToDynamic_;
2835   template <typename, ::capnp::Kind>
2836   friend struct ::capnp::_::PointerHelpers;
2837   template <typename, ::capnp::Kind>
2838   friend struct ::capnp::List;
2839   friend class ::capnp::MessageBuilder;
2840   friend class ::capnp::Orphanage;
2841 };
2842 
2843 class Declaration::Method::Builder {
2844 public:
2845   typedef Method Builds;
2846 
2847   Builder() = delete;  // Deleted to discourage incorrect usage.
2848                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2849   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2850   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2851   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2852   inline Reader asReader() const { return *this; }
2853 
totalSize()2854   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2855 #if !CAPNP_LITE
toString()2856   inline ::kj::StringTree toString() const { return asReader().toString(); }
2857 #endif  // !CAPNP_LITE
2858 
2859   inline bool hasParams();
2860   inline  ::capnp::compiler::Declaration::ParamList::Builder getParams();
2861   inline void setParams( ::capnp::compiler::Declaration::ParamList::Reader value);
2862   inline  ::capnp::compiler::Declaration::ParamList::Builder initParams();
2863   inline void adoptParams(::capnp::Orphan< ::capnp::compiler::Declaration::ParamList>&& value);
2864   inline ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList> disownParams();
2865 
2866   inline typename Results::Builder getResults();
2867   inline typename Results::Builder initResults();
2868 
2869 private:
2870   ::capnp::_::StructBuilder _builder;
2871   template <typename, ::capnp::Kind>
2872   friend struct ::capnp::ToDynamic_;
2873   friend class ::capnp::Orphanage;
2874   template <typename, ::capnp::Kind>
2875   friend struct ::capnp::_::PointerHelpers;
2876 };
2877 
2878 #if !CAPNP_LITE
2879 class Declaration::Method::Pipeline {
2880 public:
2881   typedef Method Pipelines;
2882 
Pipeline(decltype (nullptr))2883   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2884   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2885       : _typeless(kj::mv(typeless)) {}
2886 
2887   inline  ::capnp::compiler::Declaration::ParamList::Pipeline getParams();
2888   inline typename Results::Pipeline getResults();
2889 private:
2890   ::capnp::AnyPointer::Pipeline _typeless;
2891   friend class ::capnp::PipelineHook;
2892   template <typename, ::capnp::Kind>
2893   friend struct ::capnp::ToDynamic_;
2894 };
2895 #endif  // !CAPNP_LITE
2896 
2897 class Declaration::Method::Results::Reader {
2898 public:
2899   typedef Results Reads;
2900 
2901   Reader() = default;
Reader(::capnp::_::StructReader base)2902   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2903 
totalSize()2904   inline ::capnp::MessageSize totalSize() const {
2905     return _reader.totalSize().asPublic();
2906   }
2907 
2908 #if !CAPNP_LITE
toString()2909   inline ::kj::StringTree toString() const {
2910     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2911   }
2912 #endif  // !CAPNP_LITE
2913 
2914   inline Which which() const;
2915   inline bool isNone() const;
2916   inline  ::capnp::Void getNone() const;
2917 
2918   inline bool isExplicit() const;
2919   inline bool hasExplicit() const;
2920   inline  ::capnp::compiler::Declaration::ParamList::Reader getExplicit() const;
2921 
2922 private:
2923   ::capnp::_::StructReader _reader;
2924   template <typename, ::capnp::Kind>
2925   friend struct ::capnp::ToDynamic_;
2926   template <typename, ::capnp::Kind>
2927   friend struct ::capnp::_::PointerHelpers;
2928   template <typename, ::capnp::Kind>
2929   friend struct ::capnp::List;
2930   friend class ::capnp::MessageBuilder;
2931   friend class ::capnp::Orphanage;
2932 };
2933 
2934 class Declaration::Method::Results::Builder {
2935 public:
2936   typedef Results Builds;
2937 
2938   Builder() = delete;  // Deleted to discourage incorrect usage.
2939                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))2940   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)2941   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()2942   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()2943   inline Reader asReader() const { return *this; }
2944 
totalSize()2945   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2946 #if !CAPNP_LITE
toString()2947   inline ::kj::StringTree toString() const { return asReader().toString(); }
2948 #endif  // !CAPNP_LITE
2949 
2950   inline Which which();
2951   inline bool isNone();
2952   inline  ::capnp::Void getNone();
2953   inline void setNone( ::capnp::Void value = ::capnp::VOID);
2954 
2955   inline bool isExplicit();
2956   inline bool hasExplicit();
2957   inline  ::capnp::compiler::Declaration::ParamList::Builder getExplicit();
2958   inline void setExplicit( ::capnp::compiler::Declaration::ParamList::Reader value);
2959   inline  ::capnp::compiler::Declaration::ParamList::Builder initExplicit();
2960   inline void adoptExplicit(::capnp::Orphan< ::capnp::compiler::Declaration::ParamList>&& value);
2961   inline ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList> disownExplicit();
2962 
2963 private:
2964   ::capnp::_::StructBuilder _builder;
2965   template <typename, ::capnp::Kind>
2966   friend struct ::capnp::ToDynamic_;
2967   friend class ::capnp::Orphanage;
2968   template <typename, ::capnp::Kind>
2969   friend struct ::capnp::_::PointerHelpers;
2970 };
2971 
2972 #if !CAPNP_LITE
2973 class Declaration::Method::Results::Pipeline {
2974 public:
2975   typedef Results Pipelines;
2976 
Pipeline(decltype (nullptr))2977   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)2978   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2979       : _typeless(kj::mv(typeless)) {}
2980 
2981 private:
2982   ::capnp::AnyPointer::Pipeline _typeless;
2983   friend class ::capnp::PipelineHook;
2984   template <typename, ::capnp::Kind>
2985   friend struct ::capnp::ToDynamic_;
2986 };
2987 #endif  // !CAPNP_LITE
2988 
2989 class Declaration::Annotation::Reader {
2990 public:
2991   typedef Annotation Reads;
2992 
2993   Reader() = default;
Reader(::capnp::_::StructReader base)2994   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2995 
totalSize()2996   inline ::capnp::MessageSize totalSize() const {
2997     return _reader.totalSize().asPublic();
2998   }
2999 
3000 #if !CAPNP_LITE
toString()3001   inline ::kj::StringTree toString() const {
3002     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3003   }
3004 #endif  // !CAPNP_LITE
3005 
3006   inline bool hasType() const;
3007   inline  ::capnp::compiler::Expression::Reader getType() const;
3008 
3009   inline bool getTargetsFile() const;
3010 
3011   inline bool getTargetsConst() const;
3012 
3013   inline bool getTargetsEnum() const;
3014 
3015   inline bool getTargetsEnumerant() const;
3016 
3017   inline bool getTargetsStruct() const;
3018 
3019   inline bool getTargetsField() const;
3020 
3021   inline bool getTargetsUnion() const;
3022 
3023   inline bool getTargetsGroup() const;
3024 
3025   inline bool getTargetsInterface() const;
3026 
3027   inline bool getTargetsMethod() const;
3028 
3029   inline bool getTargetsParam() const;
3030 
3031   inline bool getTargetsAnnotation() const;
3032 
3033 private:
3034   ::capnp::_::StructReader _reader;
3035   template <typename, ::capnp::Kind>
3036   friend struct ::capnp::ToDynamic_;
3037   template <typename, ::capnp::Kind>
3038   friend struct ::capnp::_::PointerHelpers;
3039   template <typename, ::capnp::Kind>
3040   friend struct ::capnp::List;
3041   friend class ::capnp::MessageBuilder;
3042   friend class ::capnp::Orphanage;
3043 };
3044 
3045 class Declaration::Annotation::Builder {
3046 public:
3047   typedef Annotation Builds;
3048 
3049   Builder() = delete;  // Deleted to discourage incorrect usage.
3050                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))3051   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)3052   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()3053   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()3054   inline Reader asReader() const { return *this; }
3055 
totalSize()3056   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3057 #if !CAPNP_LITE
toString()3058   inline ::kj::StringTree toString() const { return asReader().toString(); }
3059 #endif  // !CAPNP_LITE
3060 
3061   inline bool hasType();
3062   inline  ::capnp::compiler::Expression::Builder getType();
3063   inline void setType( ::capnp::compiler::Expression::Reader value);
3064   inline  ::capnp::compiler::Expression::Builder initType();
3065   inline void adoptType(::capnp::Orphan< ::capnp::compiler::Expression>&& value);
3066   inline ::capnp::Orphan< ::capnp::compiler::Expression> disownType();
3067 
3068   inline bool getTargetsFile();
3069   inline void setTargetsFile(bool value);
3070 
3071   inline bool getTargetsConst();
3072   inline void setTargetsConst(bool value);
3073 
3074   inline bool getTargetsEnum();
3075   inline void setTargetsEnum(bool value);
3076 
3077   inline bool getTargetsEnumerant();
3078   inline void setTargetsEnumerant(bool value);
3079 
3080   inline bool getTargetsStruct();
3081   inline void setTargetsStruct(bool value);
3082 
3083   inline bool getTargetsField();
3084   inline void setTargetsField(bool value);
3085 
3086   inline bool getTargetsUnion();
3087   inline void setTargetsUnion(bool value);
3088 
3089   inline bool getTargetsGroup();
3090   inline void setTargetsGroup(bool value);
3091 
3092   inline bool getTargetsInterface();
3093   inline void setTargetsInterface(bool value);
3094 
3095   inline bool getTargetsMethod();
3096   inline void setTargetsMethod(bool value);
3097 
3098   inline bool getTargetsParam();
3099   inline void setTargetsParam(bool value);
3100 
3101   inline bool getTargetsAnnotation();
3102   inline void setTargetsAnnotation(bool value);
3103 
3104 private:
3105   ::capnp::_::StructBuilder _builder;
3106   template <typename, ::capnp::Kind>
3107   friend struct ::capnp::ToDynamic_;
3108   friend class ::capnp::Orphanage;
3109   template <typename, ::capnp::Kind>
3110   friend struct ::capnp::_::PointerHelpers;
3111 };
3112 
3113 #if !CAPNP_LITE
3114 class Declaration::Annotation::Pipeline {
3115 public:
3116   typedef Annotation Pipelines;
3117 
Pipeline(decltype (nullptr))3118   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)3119   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3120       : _typeless(kj::mv(typeless)) {}
3121 
3122   inline  ::capnp::compiler::Expression::Pipeline getType();
3123 private:
3124   ::capnp::AnyPointer::Pipeline _typeless;
3125   friend class ::capnp::PipelineHook;
3126   template <typename, ::capnp::Kind>
3127   friend struct ::capnp::ToDynamic_;
3128 };
3129 #endif  // !CAPNP_LITE
3130 
3131 class ParsedFile::Reader {
3132 public:
3133   typedef ParsedFile Reads;
3134 
3135   Reader() = default;
Reader(::capnp::_::StructReader base)3136   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3137 
totalSize()3138   inline ::capnp::MessageSize totalSize() const {
3139     return _reader.totalSize().asPublic();
3140   }
3141 
3142 #if !CAPNP_LITE
toString()3143   inline ::kj::StringTree toString() const {
3144     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3145   }
3146 #endif  // !CAPNP_LITE
3147 
3148   inline bool hasRoot() const;
3149   inline  ::capnp::compiler::Declaration::Reader getRoot() const;
3150 
3151 private:
3152   ::capnp::_::StructReader _reader;
3153   template <typename, ::capnp::Kind>
3154   friend struct ::capnp::ToDynamic_;
3155   template <typename, ::capnp::Kind>
3156   friend struct ::capnp::_::PointerHelpers;
3157   template <typename, ::capnp::Kind>
3158   friend struct ::capnp::List;
3159   friend class ::capnp::MessageBuilder;
3160   friend class ::capnp::Orphanage;
3161 };
3162 
3163 class ParsedFile::Builder {
3164 public:
3165   typedef ParsedFile Builds;
3166 
3167   Builder() = delete;  // Deleted to discourage incorrect usage.
3168                        // You can explicitly initialize to nullptr instead.
Builder(decltype (nullptr))3169   inline Builder(decltype(nullptr)) {}
Builder(::capnp::_::StructBuilder base)3170   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
Reader()3171   inline operator Reader() const { return Reader(_builder.asReader()); }
asReader()3172   inline Reader asReader() const { return *this; }
3173 
totalSize()3174   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3175 #if !CAPNP_LITE
toString()3176   inline ::kj::StringTree toString() const { return asReader().toString(); }
3177 #endif  // !CAPNP_LITE
3178 
3179   inline bool hasRoot();
3180   inline  ::capnp::compiler::Declaration::Builder getRoot();
3181   inline void setRoot( ::capnp::compiler::Declaration::Reader value);
3182   inline  ::capnp::compiler::Declaration::Builder initRoot();
3183   inline void adoptRoot(::capnp::Orphan< ::capnp::compiler::Declaration>&& value);
3184   inline ::capnp::Orphan< ::capnp::compiler::Declaration> disownRoot();
3185 
3186 private:
3187   ::capnp::_::StructBuilder _builder;
3188   template <typename, ::capnp::Kind>
3189   friend struct ::capnp::ToDynamic_;
3190   friend class ::capnp::Orphanage;
3191   template <typename, ::capnp::Kind>
3192   friend struct ::capnp::_::PointerHelpers;
3193 };
3194 
3195 #if !CAPNP_LITE
3196 class ParsedFile::Pipeline {
3197 public:
3198   typedef ParsedFile Pipelines;
3199 
Pipeline(decltype (nullptr))3200   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
Pipeline(::capnp::AnyPointer::Pipeline && typeless)3201   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3202       : _typeless(kj::mv(typeless)) {}
3203 
3204   inline  ::capnp::compiler::Declaration::Pipeline getRoot();
3205 private:
3206   ::capnp::AnyPointer::Pipeline _typeless;
3207   friend class ::capnp::PipelineHook;
3208   template <typename, ::capnp::Kind>
3209   friend struct ::capnp::ToDynamic_;
3210 };
3211 #endif  // !CAPNP_LITE
3212 
3213 // =======================================================================================
3214 
hasValue()3215 inline bool LocatedText::Reader::hasValue() const {
3216   return !_reader.getPointerField(
3217       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3218 }
hasValue()3219 inline bool LocatedText::Builder::hasValue() {
3220   return !_builder.getPointerField(
3221       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3222 }
getValue()3223 inline  ::capnp::Text::Reader LocatedText::Reader::getValue() const {
3224   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
3225       ::capnp::bounded<0>() * ::capnp::POINTERS));
3226 }
getValue()3227 inline  ::capnp::Text::Builder LocatedText::Builder::getValue() {
3228   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
3229       ::capnp::bounded<0>() * ::capnp::POINTERS));
3230 }
setValue(::capnp::Text::Reader value)3231 inline void LocatedText::Builder::setValue( ::capnp::Text::Reader value) {
3232   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
3233       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3234 }
initValue(unsigned int size)3235 inline  ::capnp::Text::Builder LocatedText::Builder::initValue(unsigned int size) {
3236   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
3237       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
3238 }
adoptValue(::capnp::Orphan<::capnp::Text> && value)3239 inline void LocatedText::Builder::adoptValue(
3240     ::capnp::Orphan< ::capnp::Text>&& value) {
3241   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
3242       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3243 }
disownValue()3244 inline ::capnp::Orphan< ::capnp::Text> LocatedText::Builder::disownValue() {
3245   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
3246       ::capnp::bounded<0>() * ::capnp::POINTERS));
3247 }
3248 
getStartByte()3249 inline  ::uint32_t LocatedText::Reader::getStartByte() const {
3250   return _reader.getDataField< ::uint32_t>(
3251       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3252 }
3253 
getStartByte()3254 inline  ::uint32_t LocatedText::Builder::getStartByte() {
3255   return _builder.getDataField< ::uint32_t>(
3256       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3257 }
setStartByte(::uint32_t value)3258 inline void LocatedText::Builder::setStartByte( ::uint32_t value) {
3259   _builder.setDataField< ::uint32_t>(
3260       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
3261 }
3262 
getEndByte()3263 inline  ::uint32_t LocatedText::Reader::getEndByte() const {
3264   return _reader.getDataField< ::uint32_t>(
3265       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3266 }
3267 
getEndByte()3268 inline  ::uint32_t LocatedText::Builder::getEndByte() {
3269   return _builder.getDataField< ::uint32_t>(
3270       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3271 }
setEndByte(::uint32_t value)3272 inline void LocatedText::Builder::setEndByte( ::uint32_t value) {
3273   _builder.setDataField< ::uint32_t>(
3274       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
3275 }
3276 
getValue()3277 inline  ::uint64_t LocatedInteger::Reader::getValue() const {
3278   return _reader.getDataField< ::uint64_t>(
3279       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3280 }
3281 
getValue()3282 inline  ::uint64_t LocatedInteger::Builder::getValue() {
3283   return _builder.getDataField< ::uint64_t>(
3284       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3285 }
setValue(::uint64_t value)3286 inline void LocatedInteger::Builder::setValue( ::uint64_t value) {
3287   _builder.setDataField< ::uint64_t>(
3288       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
3289 }
3290 
getStartByte()3291 inline  ::uint32_t LocatedInteger::Reader::getStartByte() const {
3292   return _reader.getDataField< ::uint32_t>(
3293       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
3294 }
3295 
getStartByte()3296 inline  ::uint32_t LocatedInteger::Builder::getStartByte() {
3297   return _builder.getDataField< ::uint32_t>(
3298       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
3299 }
setStartByte(::uint32_t value)3300 inline void LocatedInteger::Builder::setStartByte( ::uint32_t value) {
3301   _builder.setDataField< ::uint32_t>(
3302       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
3303 }
3304 
getEndByte()3305 inline  ::uint32_t LocatedInteger::Reader::getEndByte() const {
3306   return _reader.getDataField< ::uint32_t>(
3307       ::capnp::bounded<3>() * ::capnp::ELEMENTS);
3308 }
3309 
getEndByte()3310 inline  ::uint32_t LocatedInteger::Builder::getEndByte() {
3311   return _builder.getDataField< ::uint32_t>(
3312       ::capnp::bounded<3>() * ::capnp::ELEMENTS);
3313 }
setEndByte(::uint32_t value)3314 inline void LocatedInteger::Builder::setEndByte( ::uint32_t value) {
3315   _builder.setDataField< ::uint32_t>(
3316       ::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
3317 }
3318 
getValue()3319 inline double LocatedFloat::Reader::getValue() const {
3320   return _reader.getDataField<double>(
3321       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3322 }
3323 
getValue()3324 inline double LocatedFloat::Builder::getValue() {
3325   return _builder.getDataField<double>(
3326       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3327 }
setValue(double value)3328 inline void LocatedFloat::Builder::setValue(double value) {
3329   _builder.setDataField<double>(
3330       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
3331 }
3332 
getStartByte()3333 inline  ::uint32_t LocatedFloat::Reader::getStartByte() const {
3334   return _reader.getDataField< ::uint32_t>(
3335       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
3336 }
3337 
getStartByte()3338 inline  ::uint32_t LocatedFloat::Builder::getStartByte() {
3339   return _builder.getDataField< ::uint32_t>(
3340       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
3341 }
setStartByte(::uint32_t value)3342 inline void LocatedFloat::Builder::setStartByte( ::uint32_t value) {
3343   _builder.setDataField< ::uint32_t>(
3344       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
3345 }
3346 
getEndByte()3347 inline  ::uint32_t LocatedFloat::Reader::getEndByte() const {
3348   return _reader.getDataField< ::uint32_t>(
3349       ::capnp::bounded<3>() * ::capnp::ELEMENTS);
3350 }
3351 
getEndByte()3352 inline  ::uint32_t LocatedFloat::Builder::getEndByte() {
3353   return _builder.getDataField< ::uint32_t>(
3354       ::capnp::bounded<3>() * ::capnp::ELEMENTS);
3355 }
setEndByte(::uint32_t value)3356 inline void LocatedFloat::Builder::setEndByte( ::uint32_t value) {
3357   _builder.setDataField< ::uint32_t>(
3358       ::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
3359 }
3360 
which()3361 inline  ::capnp::compiler::Expression::Which Expression::Reader::which() const {
3362   return _reader.getDataField<Which>(
3363       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3364 }
which()3365 inline  ::capnp::compiler::Expression::Which Expression::Builder::which() {
3366   return _builder.getDataField<Which>(
3367       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3368 }
3369 
isUnknown()3370 inline bool Expression::Reader::isUnknown() const {
3371   return which() == Expression::UNKNOWN;
3372 }
isUnknown()3373 inline bool Expression::Builder::isUnknown() {
3374   return which() == Expression::UNKNOWN;
3375 }
getUnknown()3376 inline  ::capnp::Void Expression::Reader::getUnknown() const {
3377   KJ_IREQUIRE((which() == Expression::UNKNOWN),
3378               "Must check which() before get()ing a union member.");
3379   return _reader.getDataField< ::capnp::Void>(
3380       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3381 }
3382 
getUnknown()3383 inline  ::capnp::Void Expression::Builder::getUnknown() {
3384   KJ_IREQUIRE((which() == Expression::UNKNOWN),
3385               "Must check which() before get()ing a union member.");
3386   return _builder.getDataField< ::capnp::Void>(
3387       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3388 }
setUnknown(::capnp::Void value)3389 inline void Expression::Builder::setUnknown( ::capnp::Void value) {
3390   _builder.setDataField<Expression::Which>(
3391       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::UNKNOWN);
3392   _builder.setDataField< ::capnp::Void>(
3393       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
3394 }
3395 
isPositiveInt()3396 inline bool Expression::Reader::isPositiveInt() const {
3397   return which() == Expression::POSITIVE_INT;
3398 }
isPositiveInt()3399 inline bool Expression::Builder::isPositiveInt() {
3400   return which() == Expression::POSITIVE_INT;
3401 }
getPositiveInt()3402 inline  ::uint64_t Expression::Reader::getPositiveInt() const {
3403   KJ_IREQUIRE((which() == Expression::POSITIVE_INT),
3404               "Must check which() before get()ing a union member.");
3405   return _reader.getDataField< ::uint64_t>(
3406       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3407 }
3408 
getPositiveInt()3409 inline  ::uint64_t Expression::Builder::getPositiveInt() {
3410   KJ_IREQUIRE((which() == Expression::POSITIVE_INT),
3411               "Must check which() before get()ing a union member.");
3412   return _builder.getDataField< ::uint64_t>(
3413       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3414 }
setPositiveInt(::uint64_t value)3415 inline void Expression::Builder::setPositiveInt( ::uint64_t value) {
3416   _builder.setDataField<Expression::Which>(
3417       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::POSITIVE_INT);
3418   _builder.setDataField< ::uint64_t>(
3419       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
3420 }
3421 
isNegativeInt()3422 inline bool Expression::Reader::isNegativeInt() const {
3423   return which() == Expression::NEGATIVE_INT;
3424 }
isNegativeInt()3425 inline bool Expression::Builder::isNegativeInt() {
3426   return which() == Expression::NEGATIVE_INT;
3427 }
getNegativeInt()3428 inline  ::uint64_t Expression::Reader::getNegativeInt() const {
3429   KJ_IREQUIRE((which() == Expression::NEGATIVE_INT),
3430               "Must check which() before get()ing a union member.");
3431   return _reader.getDataField< ::uint64_t>(
3432       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3433 }
3434 
getNegativeInt()3435 inline  ::uint64_t Expression::Builder::getNegativeInt() {
3436   KJ_IREQUIRE((which() == Expression::NEGATIVE_INT),
3437               "Must check which() before get()ing a union member.");
3438   return _builder.getDataField< ::uint64_t>(
3439       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3440 }
setNegativeInt(::uint64_t value)3441 inline void Expression::Builder::setNegativeInt( ::uint64_t value) {
3442   _builder.setDataField<Expression::Which>(
3443       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::NEGATIVE_INT);
3444   _builder.setDataField< ::uint64_t>(
3445       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
3446 }
3447 
isFloat()3448 inline bool Expression::Reader::isFloat() const {
3449   return which() == Expression::FLOAT;
3450 }
isFloat()3451 inline bool Expression::Builder::isFloat() {
3452   return which() == Expression::FLOAT;
3453 }
getFloat()3454 inline double Expression::Reader::getFloat() const {
3455   KJ_IREQUIRE((which() == Expression::FLOAT),
3456               "Must check which() before get()ing a union member.");
3457   return _reader.getDataField<double>(
3458       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3459 }
3460 
getFloat()3461 inline double Expression::Builder::getFloat() {
3462   KJ_IREQUIRE((which() == Expression::FLOAT),
3463               "Must check which() before get()ing a union member.");
3464   return _builder.getDataField<double>(
3465       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3466 }
setFloat(double value)3467 inline void Expression::Builder::setFloat(double value) {
3468   _builder.setDataField<Expression::Which>(
3469       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::FLOAT);
3470   _builder.setDataField<double>(
3471       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
3472 }
3473 
isString()3474 inline bool Expression::Reader::isString() const {
3475   return which() == Expression::STRING;
3476 }
isString()3477 inline bool Expression::Builder::isString() {
3478   return which() == Expression::STRING;
3479 }
hasString()3480 inline bool Expression::Reader::hasString() const {
3481   if (which() != Expression::STRING) return false;
3482   return !_reader.getPointerField(
3483       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3484 }
hasString()3485 inline bool Expression::Builder::hasString() {
3486   if (which() != Expression::STRING) return false;
3487   return !_builder.getPointerField(
3488       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3489 }
getString()3490 inline  ::capnp::Text::Reader Expression::Reader::getString() const {
3491   KJ_IREQUIRE((which() == Expression::STRING),
3492               "Must check which() before get()ing a union member.");
3493   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
3494       ::capnp::bounded<0>() * ::capnp::POINTERS));
3495 }
getString()3496 inline  ::capnp::Text::Builder Expression::Builder::getString() {
3497   KJ_IREQUIRE((which() == Expression::STRING),
3498               "Must check which() before get()ing a union member.");
3499   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
3500       ::capnp::bounded<0>() * ::capnp::POINTERS));
3501 }
setString(::capnp::Text::Reader value)3502 inline void Expression::Builder::setString( ::capnp::Text::Reader value) {
3503   _builder.setDataField<Expression::Which>(
3504       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::STRING);
3505   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
3506       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3507 }
initString(unsigned int size)3508 inline  ::capnp::Text::Builder Expression::Builder::initString(unsigned int size) {
3509   _builder.setDataField<Expression::Which>(
3510       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::STRING);
3511   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
3512       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
3513 }
adoptString(::capnp::Orphan<::capnp::Text> && value)3514 inline void Expression::Builder::adoptString(
3515     ::capnp::Orphan< ::capnp::Text>&& value) {
3516   _builder.setDataField<Expression::Which>(
3517       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::STRING);
3518   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
3519       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3520 }
disownString()3521 inline ::capnp::Orphan< ::capnp::Text> Expression::Builder::disownString() {
3522   KJ_IREQUIRE((which() == Expression::STRING),
3523               "Must check which() before get()ing a union member.");
3524   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
3525       ::capnp::bounded<0>() * ::capnp::POINTERS));
3526 }
3527 
isRelativeName()3528 inline bool Expression::Reader::isRelativeName() const {
3529   return which() == Expression::RELATIVE_NAME;
3530 }
isRelativeName()3531 inline bool Expression::Builder::isRelativeName() {
3532   return which() == Expression::RELATIVE_NAME;
3533 }
hasRelativeName()3534 inline bool Expression::Reader::hasRelativeName() const {
3535   if (which() != Expression::RELATIVE_NAME) return false;
3536   return !_reader.getPointerField(
3537       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3538 }
hasRelativeName()3539 inline bool Expression::Builder::hasRelativeName() {
3540   if (which() != Expression::RELATIVE_NAME) return false;
3541   return !_builder.getPointerField(
3542       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3543 }
getRelativeName()3544 inline  ::capnp::compiler::LocatedText::Reader Expression::Reader::getRelativeName() const {
3545   KJ_IREQUIRE((which() == Expression::RELATIVE_NAME),
3546               "Must check which() before get()ing a union member.");
3547   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
3548       ::capnp::bounded<0>() * ::capnp::POINTERS));
3549 }
getRelativeName()3550 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::getRelativeName() {
3551   KJ_IREQUIRE((which() == Expression::RELATIVE_NAME),
3552               "Must check which() before get()ing a union member.");
3553   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
3554       ::capnp::bounded<0>() * ::capnp::POINTERS));
3555 }
setRelativeName(::capnp::compiler::LocatedText::Reader value)3556 inline void Expression::Builder::setRelativeName( ::capnp::compiler::LocatedText::Reader value) {
3557   _builder.setDataField<Expression::Which>(
3558       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::RELATIVE_NAME);
3559   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
3560       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3561 }
initRelativeName()3562 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::initRelativeName() {
3563   _builder.setDataField<Expression::Which>(
3564       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::RELATIVE_NAME);
3565   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
3566       ::capnp::bounded<0>() * ::capnp::POINTERS));
3567 }
adoptRelativeName(::capnp::Orphan<::capnp::compiler::LocatedText> && value)3568 inline void Expression::Builder::adoptRelativeName(
3569     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
3570   _builder.setDataField<Expression::Which>(
3571       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::RELATIVE_NAME);
3572   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
3573       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3574 }
disownRelativeName()3575 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Builder::disownRelativeName() {
3576   KJ_IREQUIRE((which() == Expression::RELATIVE_NAME),
3577               "Must check which() before get()ing a union member.");
3578   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
3579       ::capnp::bounded<0>() * ::capnp::POINTERS));
3580 }
3581 
isList()3582 inline bool Expression::Reader::isList() const {
3583   return which() == Expression::LIST;
3584 }
isList()3585 inline bool Expression::Builder::isList() {
3586   return which() == Expression::LIST;
3587 }
hasList()3588 inline bool Expression::Reader::hasList() const {
3589   if (which() != Expression::LIST) return false;
3590   return !_reader.getPointerField(
3591       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3592 }
hasList()3593 inline bool Expression::Builder::hasList() {
3594   if (which() != Expression::LIST) return false;
3595   return !_builder.getPointerField(
3596       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3597 }
getList()3598 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader Expression::Reader::getList() const {
3599   KJ_IREQUIRE((which() == Expression::LIST),
3600               "Must check which() before get()ing a union member.");
3601   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
3602       ::capnp::bounded<0>() * ::capnp::POINTERS));
3603 }
getList()3604 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder Expression::Builder::getList() {
3605   KJ_IREQUIRE((which() == Expression::LIST),
3606               "Must check which() before get()ing a union member.");
3607   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
3608       ::capnp::bounded<0>() * ::capnp::POINTERS));
3609 }
setList(::capnp::List<::capnp::compiler::Expression,::capnp::Kind::STRUCT>::Reader value)3610 inline void Expression::Builder::setList( ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader value) {
3611   _builder.setDataField<Expression::Which>(
3612       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::LIST);
3613   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
3614       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3615 }
initList(unsigned int size)3616 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder Expression::Builder::initList(unsigned int size) {
3617   _builder.setDataField<Expression::Which>(
3618       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::LIST);
3619   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
3620       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
3621 }
adoptList(::capnp::Orphan<::capnp::List<::capnp::compiler::Expression,::capnp::Kind::STRUCT>> && value)3622 inline void Expression::Builder::adoptList(
3623     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>&& value) {
3624   _builder.setDataField<Expression::Which>(
3625       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::LIST);
3626   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
3627       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3628 }
disownList()3629 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>> Expression::Builder::disownList() {
3630   KJ_IREQUIRE((which() == Expression::LIST),
3631               "Must check which() before get()ing a union member.");
3632   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
3633       ::capnp::bounded<0>() * ::capnp::POINTERS));
3634 }
3635 
isTuple()3636 inline bool Expression::Reader::isTuple() const {
3637   return which() == Expression::TUPLE;
3638 }
isTuple()3639 inline bool Expression::Builder::isTuple() {
3640   return which() == Expression::TUPLE;
3641 }
hasTuple()3642 inline bool Expression::Reader::hasTuple() const {
3643   if (which() != Expression::TUPLE) return false;
3644   return !_reader.getPointerField(
3645       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3646 }
hasTuple()3647 inline bool Expression::Builder::hasTuple() {
3648   if (which() != Expression::TUPLE) return false;
3649   return !_builder.getPointerField(
3650       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3651 }
getTuple()3652 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader Expression::Reader::getTuple() const {
3653   KJ_IREQUIRE((which() == Expression::TUPLE),
3654               "Must check which() before get()ing a union member.");
3655   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
3656       ::capnp::bounded<0>() * ::capnp::POINTERS));
3657 }
getTuple()3658 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder Expression::Builder::getTuple() {
3659   KJ_IREQUIRE((which() == Expression::TUPLE),
3660               "Must check which() before get()ing a union member.");
3661   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
3662       ::capnp::bounded<0>() * ::capnp::POINTERS));
3663 }
setTuple(::capnp::List<::capnp::compiler::Expression::Param,::capnp::Kind::STRUCT>::Reader value)3664 inline void Expression::Builder::setTuple( ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader value) {
3665   _builder.setDataField<Expression::Which>(
3666       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::TUPLE);
3667   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
3668       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3669 }
initTuple(unsigned int size)3670 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder Expression::Builder::initTuple(unsigned int size) {
3671   _builder.setDataField<Expression::Which>(
3672       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::TUPLE);
3673   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
3674       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
3675 }
adoptTuple(::capnp::Orphan<::capnp::List<::capnp::compiler::Expression::Param,::capnp::Kind::STRUCT>> && value)3676 inline void Expression::Builder::adoptTuple(
3677     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>&& value) {
3678   _builder.setDataField<Expression::Which>(
3679       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::TUPLE);
3680   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
3681       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3682 }
disownTuple()3683 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>> Expression::Builder::disownTuple() {
3684   KJ_IREQUIRE((which() == Expression::TUPLE),
3685               "Must check which() before get()ing a union member.");
3686   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
3687       ::capnp::bounded<0>() * ::capnp::POINTERS));
3688 }
3689 
getStartByte()3690 inline  ::uint32_t Expression::Reader::getStartByte() const {
3691   return _reader.getDataField< ::uint32_t>(
3692       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3693 }
3694 
getStartByte()3695 inline  ::uint32_t Expression::Builder::getStartByte() {
3696   return _builder.getDataField< ::uint32_t>(
3697       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
3698 }
setStartByte(::uint32_t value)3699 inline void Expression::Builder::setStartByte( ::uint32_t value) {
3700   _builder.setDataField< ::uint32_t>(
3701       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
3702 }
3703 
getEndByte()3704 inline  ::uint32_t Expression::Reader::getEndByte() const {
3705   return _reader.getDataField< ::uint32_t>(
3706       ::capnp::bounded<4>() * ::capnp::ELEMENTS);
3707 }
3708 
getEndByte()3709 inline  ::uint32_t Expression::Builder::getEndByte() {
3710   return _builder.getDataField< ::uint32_t>(
3711       ::capnp::bounded<4>() * ::capnp::ELEMENTS);
3712 }
setEndByte(::uint32_t value)3713 inline void Expression::Builder::setEndByte( ::uint32_t value) {
3714   _builder.setDataField< ::uint32_t>(
3715       ::capnp::bounded<4>() * ::capnp::ELEMENTS, value);
3716 }
3717 
isBinary()3718 inline bool Expression::Reader::isBinary() const {
3719   return which() == Expression::BINARY;
3720 }
isBinary()3721 inline bool Expression::Builder::isBinary() {
3722   return which() == Expression::BINARY;
3723 }
hasBinary()3724 inline bool Expression::Reader::hasBinary() const {
3725   if (which() != Expression::BINARY) return false;
3726   return !_reader.getPointerField(
3727       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3728 }
hasBinary()3729 inline bool Expression::Builder::hasBinary() {
3730   if (which() != Expression::BINARY) return false;
3731   return !_builder.getPointerField(
3732       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3733 }
getBinary()3734 inline  ::capnp::Data::Reader Expression::Reader::getBinary() const {
3735   KJ_IREQUIRE((which() == Expression::BINARY),
3736               "Must check which() before get()ing a union member.");
3737   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
3738       ::capnp::bounded<0>() * ::capnp::POINTERS));
3739 }
getBinary()3740 inline  ::capnp::Data::Builder Expression::Builder::getBinary() {
3741   KJ_IREQUIRE((which() == Expression::BINARY),
3742               "Must check which() before get()ing a union member.");
3743   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
3744       ::capnp::bounded<0>() * ::capnp::POINTERS));
3745 }
setBinary(::capnp::Data::Reader value)3746 inline void Expression::Builder::setBinary( ::capnp::Data::Reader value) {
3747   _builder.setDataField<Expression::Which>(
3748       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::BINARY);
3749   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
3750       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3751 }
initBinary(unsigned int size)3752 inline  ::capnp::Data::Builder Expression::Builder::initBinary(unsigned int size) {
3753   _builder.setDataField<Expression::Which>(
3754       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::BINARY);
3755   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
3756       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
3757 }
adoptBinary(::capnp::Orphan<::capnp::Data> && value)3758 inline void Expression::Builder::adoptBinary(
3759     ::capnp::Orphan< ::capnp::Data>&& value) {
3760   _builder.setDataField<Expression::Which>(
3761       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::BINARY);
3762   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
3763       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3764 }
disownBinary()3765 inline ::capnp::Orphan< ::capnp::Data> Expression::Builder::disownBinary() {
3766   KJ_IREQUIRE((which() == Expression::BINARY),
3767               "Must check which() before get()ing a union member.");
3768   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
3769       ::capnp::bounded<0>() * ::capnp::POINTERS));
3770 }
3771 
isApplication()3772 inline bool Expression::Reader::isApplication() const {
3773   return which() == Expression::APPLICATION;
3774 }
isApplication()3775 inline bool Expression::Builder::isApplication() {
3776   return which() == Expression::APPLICATION;
3777 }
getApplication()3778 inline typename Expression::Application::Reader Expression::Reader::getApplication() const {
3779   KJ_IREQUIRE((which() == Expression::APPLICATION),
3780               "Must check which() before get()ing a union member.");
3781   return typename Expression::Application::Reader(_reader);
3782 }
getApplication()3783 inline typename Expression::Application::Builder Expression::Builder::getApplication() {
3784   KJ_IREQUIRE((which() == Expression::APPLICATION),
3785               "Must check which() before get()ing a union member.");
3786   return typename Expression::Application::Builder(_builder);
3787 }
initApplication()3788 inline typename Expression::Application::Builder Expression::Builder::initApplication() {
3789   _builder.setDataField<Expression::Which>(
3790       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::APPLICATION);
3791   _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
3792   _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
3793   return typename Expression::Application::Builder(_builder);
3794 }
isMember()3795 inline bool Expression::Reader::isMember() const {
3796   return which() == Expression::MEMBER;
3797 }
isMember()3798 inline bool Expression::Builder::isMember() {
3799   return which() == Expression::MEMBER;
3800 }
getMember()3801 inline typename Expression::Member::Reader Expression::Reader::getMember() const {
3802   KJ_IREQUIRE((which() == Expression::MEMBER),
3803               "Must check which() before get()ing a union member.");
3804   return typename Expression::Member::Reader(_reader);
3805 }
getMember()3806 inline typename Expression::Member::Builder Expression::Builder::getMember() {
3807   KJ_IREQUIRE((which() == Expression::MEMBER),
3808               "Must check which() before get()ing a union member.");
3809   return typename Expression::Member::Builder(_builder);
3810 }
initMember()3811 inline typename Expression::Member::Builder Expression::Builder::initMember() {
3812   _builder.setDataField<Expression::Which>(
3813       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::MEMBER);
3814   _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
3815   _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
3816   return typename Expression::Member::Builder(_builder);
3817 }
isAbsoluteName()3818 inline bool Expression::Reader::isAbsoluteName() const {
3819   return which() == Expression::ABSOLUTE_NAME;
3820 }
isAbsoluteName()3821 inline bool Expression::Builder::isAbsoluteName() {
3822   return which() == Expression::ABSOLUTE_NAME;
3823 }
hasAbsoluteName()3824 inline bool Expression::Reader::hasAbsoluteName() const {
3825   if (which() != Expression::ABSOLUTE_NAME) return false;
3826   return !_reader.getPointerField(
3827       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3828 }
hasAbsoluteName()3829 inline bool Expression::Builder::hasAbsoluteName() {
3830   if (which() != Expression::ABSOLUTE_NAME) return false;
3831   return !_builder.getPointerField(
3832       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3833 }
getAbsoluteName()3834 inline  ::capnp::compiler::LocatedText::Reader Expression::Reader::getAbsoluteName() const {
3835   KJ_IREQUIRE((which() == Expression::ABSOLUTE_NAME),
3836               "Must check which() before get()ing a union member.");
3837   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
3838       ::capnp::bounded<0>() * ::capnp::POINTERS));
3839 }
getAbsoluteName()3840 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::getAbsoluteName() {
3841   KJ_IREQUIRE((which() == Expression::ABSOLUTE_NAME),
3842               "Must check which() before get()ing a union member.");
3843   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
3844       ::capnp::bounded<0>() * ::capnp::POINTERS));
3845 }
setAbsoluteName(::capnp::compiler::LocatedText::Reader value)3846 inline void Expression::Builder::setAbsoluteName( ::capnp::compiler::LocatedText::Reader value) {
3847   _builder.setDataField<Expression::Which>(
3848       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::ABSOLUTE_NAME);
3849   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
3850       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3851 }
initAbsoluteName()3852 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::initAbsoluteName() {
3853   _builder.setDataField<Expression::Which>(
3854       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::ABSOLUTE_NAME);
3855   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
3856       ::capnp::bounded<0>() * ::capnp::POINTERS));
3857 }
adoptAbsoluteName(::capnp::Orphan<::capnp::compiler::LocatedText> && value)3858 inline void Expression::Builder::adoptAbsoluteName(
3859     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
3860   _builder.setDataField<Expression::Which>(
3861       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::ABSOLUTE_NAME);
3862   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
3863       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3864 }
disownAbsoluteName()3865 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Builder::disownAbsoluteName() {
3866   KJ_IREQUIRE((which() == Expression::ABSOLUTE_NAME),
3867               "Must check which() before get()ing a union member.");
3868   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
3869       ::capnp::bounded<0>() * ::capnp::POINTERS));
3870 }
3871 
isImport()3872 inline bool Expression::Reader::isImport() const {
3873   return which() == Expression::IMPORT;
3874 }
isImport()3875 inline bool Expression::Builder::isImport() {
3876   return which() == Expression::IMPORT;
3877 }
hasImport()3878 inline bool Expression::Reader::hasImport() const {
3879   if (which() != Expression::IMPORT) return false;
3880   return !_reader.getPointerField(
3881       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3882 }
hasImport()3883 inline bool Expression::Builder::hasImport() {
3884   if (which() != Expression::IMPORT) return false;
3885   return !_builder.getPointerField(
3886       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3887 }
getImport()3888 inline  ::capnp::compiler::LocatedText::Reader Expression::Reader::getImport() const {
3889   KJ_IREQUIRE((which() == Expression::IMPORT),
3890               "Must check which() before get()ing a union member.");
3891   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
3892       ::capnp::bounded<0>() * ::capnp::POINTERS));
3893 }
getImport()3894 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::getImport() {
3895   KJ_IREQUIRE((which() == Expression::IMPORT),
3896               "Must check which() before get()ing a union member.");
3897   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
3898       ::capnp::bounded<0>() * ::capnp::POINTERS));
3899 }
setImport(::capnp::compiler::LocatedText::Reader value)3900 inline void Expression::Builder::setImport( ::capnp::compiler::LocatedText::Reader value) {
3901   _builder.setDataField<Expression::Which>(
3902       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::IMPORT);
3903   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
3904       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3905 }
initImport()3906 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::initImport() {
3907   _builder.setDataField<Expression::Which>(
3908       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::IMPORT);
3909   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
3910       ::capnp::bounded<0>() * ::capnp::POINTERS));
3911 }
adoptImport(::capnp::Orphan<::capnp::compiler::LocatedText> && value)3912 inline void Expression::Builder::adoptImport(
3913     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
3914   _builder.setDataField<Expression::Which>(
3915       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::IMPORT);
3916   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
3917       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3918 }
disownImport()3919 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Builder::disownImport() {
3920   KJ_IREQUIRE((which() == Expression::IMPORT),
3921               "Must check which() before get()ing a union member.");
3922   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
3923       ::capnp::bounded<0>() * ::capnp::POINTERS));
3924 }
3925 
isEmbed()3926 inline bool Expression::Reader::isEmbed() const {
3927   return which() == Expression::EMBED;
3928 }
isEmbed()3929 inline bool Expression::Builder::isEmbed() {
3930   return which() == Expression::EMBED;
3931 }
hasEmbed()3932 inline bool Expression::Reader::hasEmbed() const {
3933   if (which() != Expression::EMBED) return false;
3934   return !_reader.getPointerField(
3935       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3936 }
hasEmbed()3937 inline bool Expression::Builder::hasEmbed() {
3938   if (which() != Expression::EMBED) return false;
3939   return !_builder.getPointerField(
3940       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
3941 }
getEmbed()3942 inline  ::capnp::compiler::LocatedText::Reader Expression::Reader::getEmbed() const {
3943   KJ_IREQUIRE((which() == Expression::EMBED),
3944               "Must check which() before get()ing a union member.");
3945   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
3946       ::capnp::bounded<0>() * ::capnp::POINTERS));
3947 }
getEmbed()3948 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::getEmbed() {
3949   KJ_IREQUIRE((which() == Expression::EMBED),
3950               "Must check which() before get()ing a union member.");
3951   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
3952       ::capnp::bounded<0>() * ::capnp::POINTERS));
3953 }
setEmbed(::capnp::compiler::LocatedText::Reader value)3954 inline void Expression::Builder::setEmbed( ::capnp::compiler::LocatedText::Reader value) {
3955   _builder.setDataField<Expression::Which>(
3956       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::EMBED);
3957   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
3958       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
3959 }
initEmbed()3960 inline  ::capnp::compiler::LocatedText::Builder Expression::Builder::initEmbed() {
3961   _builder.setDataField<Expression::Which>(
3962       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::EMBED);
3963   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
3964       ::capnp::bounded<0>() * ::capnp::POINTERS));
3965 }
adoptEmbed(::capnp::Orphan<::capnp::compiler::LocatedText> && value)3966 inline void Expression::Builder::adoptEmbed(
3967     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
3968   _builder.setDataField<Expression::Which>(
3969       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::EMBED);
3970   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
3971       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
3972 }
disownEmbed()3973 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Builder::disownEmbed() {
3974   KJ_IREQUIRE((which() == Expression::EMBED),
3975               "Must check which() before get()ing a union member.");
3976   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
3977       ::capnp::bounded<0>() * ::capnp::POINTERS));
3978 }
3979 
which()3980 inline  ::capnp::compiler::Expression::Param::Which Expression::Param::Reader::which() const {
3981   return _reader.getDataField<Which>(
3982       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3983 }
which()3984 inline  ::capnp::compiler::Expression::Param::Which Expression::Param::Builder::which() {
3985   return _builder.getDataField<Which>(
3986       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
3987 }
3988 
isUnnamed()3989 inline bool Expression::Param::Reader::isUnnamed() const {
3990   return which() == Expression::Param::UNNAMED;
3991 }
isUnnamed()3992 inline bool Expression::Param::Builder::isUnnamed() {
3993   return which() == Expression::Param::UNNAMED;
3994 }
getUnnamed()3995 inline  ::capnp::Void Expression::Param::Reader::getUnnamed() const {
3996   KJ_IREQUIRE((which() == Expression::Param::UNNAMED),
3997               "Must check which() before get()ing a union member.");
3998   return _reader.getDataField< ::capnp::Void>(
3999       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4000 }
4001 
getUnnamed()4002 inline  ::capnp::Void Expression::Param::Builder::getUnnamed() {
4003   KJ_IREQUIRE((which() == Expression::Param::UNNAMED),
4004               "Must check which() before get()ing a union member.");
4005   return _builder.getDataField< ::capnp::Void>(
4006       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4007 }
setUnnamed(::capnp::Void value)4008 inline void Expression::Param::Builder::setUnnamed( ::capnp::Void value) {
4009   _builder.setDataField<Expression::Param::Which>(
4010       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::Param::UNNAMED);
4011   _builder.setDataField< ::capnp::Void>(
4012       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4013 }
4014 
isNamed()4015 inline bool Expression::Param::Reader::isNamed() const {
4016   return which() == Expression::Param::NAMED;
4017 }
isNamed()4018 inline bool Expression::Param::Builder::isNamed() {
4019   return which() == Expression::Param::NAMED;
4020 }
hasNamed()4021 inline bool Expression::Param::Reader::hasNamed() const {
4022   if (which() != Expression::Param::NAMED) return false;
4023   return !_reader.getPointerField(
4024       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4025 }
hasNamed()4026 inline bool Expression::Param::Builder::hasNamed() {
4027   if (which() != Expression::Param::NAMED) return false;
4028   return !_builder.getPointerField(
4029       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4030 }
getNamed()4031 inline  ::capnp::compiler::LocatedText::Reader Expression::Param::Reader::getNamed() const {
4032   KJ_IREQUIRE((which() == Expression::Param::NAMED),
4033               "Must check which() before get()ing a union member.");
4034   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
4035       ::capnp::bounded<0>() * ::capnp::POINTERS));
4036 }
getNamed()4037 inline  ::capnp::compiler::LocatedText::Builder Expression::Param::Builder::getNamed() {
4038   KJ_IREQUIRE((which() == Expression::Param::NAMED),
4039               "Must check which() before get()ing a union member.");
4040   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
4041       ::capnp::bounded<0>() * ::capnp::POINTERS));
4042 }
setNamed(::capnp::compiler::LocatedText::Reader value)4043 inline void Expression::Param::Builder::setNamed( ::capnp::compiler::LocatedText::Reader value) {
4044   _builder.setDataField<Expression::Param::Which>(
4045       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::Param::NAMED);
4046   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
4047       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4048 }
initNamed()4049 inline  ::capnp::compiler::LocatedText::Builder Expression::Param::Builder::initNamed() {
4050   _builder.setDataField<Expression::Param::Which>(
4051       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::Param::NAMED);
4052   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
4053       ::capnp::bounded<0>() * ::capnp::POINTERS));
4054 }
adoptNamed(::capnp::Orphan<::capnp::compiler::LocatedText> && value)4055 inline void Expression::Param::Builder::adoptNamed(
4056     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
4057   _builder.setDataField<Expression::Param::Which>(
4058       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Expression::Param::NAMED);
4059   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
4060       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4061 }
disownNamed()4062 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Param::Builder::disownNamed() {
4063   KJ_IREQUIRE((which() == Expression::Param::NAMED),
4064               "Must check which() before get()ing a union member.");
4065   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
4066       ::capnp::bounded<0>() * ::capnp::POINTERS));
4067 }
4068 
hasValue()4069 inline bool Expression::Param::Reader::hasValue() const {
4070   return !_reader.getPointerField(
4071       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4072 }
hasValue()4073 inline bool Expression::Param::Builder::hasValue() {
4074   return !_builder.getPointerField(
4075       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4076 }
getValue()4077 inline  ::capnp::compiler::Expression::Reader Expression::Param::Reader::getValue() const {
4078   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
4079       ::capnp::bounded<1>() * ::capnp::POINTERS));
4080 }
getValue()4081 inline  ::capnp::compiler::Expression::Builder Expression::Param::Builder::getValue() {
4082   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
4083       ::capnp::bounded<1>() * ::capnp::POINTERS));
4084 }
4085 #if !CAPNP_LITE
getValue()4086 inline  ::capnp::compiler::Expression::Pipeline Expression::Param::Pipeline::getValue() {
4087   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(1));
4088 }
4089 #endif  // !CAPNP_LITE
setValue(::capnp::compiler::Expression::Reader value)4090 inline void Expression::Param::Builder::setValue( ::capnp::compiler::Expression::Reader value) {
4091   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
4092       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4093 }
initValue()4094 inline  ::capnp::compiler::Expression::Builder Expression::Param::Builder::initValue() {
4095   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
4096       ::capnp::bounded<1>() * ::capnp::POINTERS));
4097 }
adoptValue(::capnp::Orphan<::capnp::compiler::Expression> && value)4098 inline void Expression::Param::Builder::adoptValue(
4099     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
4100   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
4101       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4102 }
disownValue()4103 inline ::capnp::Orphan< ::capnp::compiler::Expression> Expression::Param::Builder::disownValue() {
4104   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
4105       ::capnp::bounded<1>() * ::capnp::POINTERS));
4106 }
4107 
hasFunction()4108 inline bool Expression::Application::Reader::hasFunction() const {
4109   return !_reader.getPointerField(
4110       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4111 }
hasFunction()4112 inline bool Expression::Application::Builder::hasFunction() {
4113   return !_builder.getPointerField(
4114       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4115 }
getFunction()4116 inline  ::capnp::compiler::Expression::Reader Expression::Application::Reader::getFunction() const {
4117   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
4118       ::capnp::bounded<0>() * ::capnp::POINTERS));
4119 }
getFunction()4120 inline  ::capnp::compiler::Expression::Builder Expression::Application::Builder::getFunction() {
4121   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
4122       ::capnp::bounded<0>() * ::capnp::POINTERS));
4123 }
4124 #if !CAPNP_LITE
getFunction()4125 inline  ::capnp::compiler::Expression::Pipeline Expression::Application::Pipeline::getFunction() {
4126   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(0));
4127 }
4128 #endif  // !CAPNP_LITE
setFunction(::capnp::compiler::Expression::Reader value)4129 inline void Expression::Application::Builder::setFunction( ::capnp::compiler::Expression::Reader value) {
4130   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
4131       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4132 }
initFunction()4133 inline  ::capnp::compiler::Expression::Builder Expression::Application::Builder::initFunction() {
4134   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
4135       ::capnp::bounded<0>() * ::capnp::POINTERS));
4136 }
adoptFunction(::capnp::Orphan<::capnp::compiler::Expression> && value)4137 inline void Expression::Application::Builder::adoptFunction(
4138     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
4139   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
4140       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4141 }
disownFunction()4142 inline ::capnp::Orphan< ::capnp::compiler::Expression> Expression::Application::Builder::disownFunction() {
4143   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
4144       ::capnp::bounded<0>() * ::capnp::POINTERS));
4145 }
4146 
hasParams()4147 inline bool Expression::Application::Reader::hasParams() const {
4148   return !_reader.getPointerField(
4149       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4150 }
hasParams()4151 inline bool Expression::Application::Builder::hasParams() {
4152   return !_builder.getPointerField(
4153       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4154 }
getParams()4155 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader Expression::Application::Reader::getParams() const {
4156   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4157       ::capnp::bounded<1>() * ::capnp::POINTERS));
4158 }
getParams()4159 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder Expression::Application::Builder::getParams() {
4160   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4161       ::capnp::bounded<1>() * ::capnp::POINTERS));
4162 }
setParams(::capnp::List<::capnp::compiler::Expression::Param,::capnp::Kind::STRUCT>::Reader value)4163 inline void Expression::Application::Builder::setParams( ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Reader value) {
4164   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4165       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4166 }
initParams(unsigned int size)4167 inline  ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>::Builder Expression::Application::Builder::initParams(unsigned int size) {
4168   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4169       ::capnp::bounded<1>() * ::capnp::POINTERS), size);
4170 }
adoptParams(::capnp::Orphan<::capnp::List<::capnp::compiler::Expression::Param,::capnp::Kind::STRUCT>> && value)4171 inline void Expression::Application::Builder::adoptParams(
4172     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>&& value) {
4173   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4174       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4175 }
disownParams()4176 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>> Expression::Application::Builder::disownParams() {
4177   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression::Param,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4178       ::capnp::bounded<1>() * ::capnp::POINTERS));
4179 }
4180 
hasParent()4181 inline bool Expression::Member::Reader::hasParent() const {
4182   return !_reader.getPointerField(
4183       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4184 }
hasParent()4185 inline bool Expression::Member::Builder::hasParent() {
4186   return !_builder.getPointerField(
4187       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4188 }
getParent()4189 inline  ::capnp::compiler::Expression::Reader Expression::Member::Reader::getParent() const {
4190   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
4191       ::capnp::bounded<0>() * ::capnp::POINTERS));
4192 }
getParent()4193 inline  ::capnp::compiler::Expression::Builder Expression::Member::Builder::getParent() {
4194   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
4195       ::capnp::bounded<0>() * ::capnp::POINTERS));
4196 }
4197 #if !CAPNP_LITE
getParent()4198 inline  ::capnp::compiler::Expression::Pipeline Expression::Member::Pipeline::getParent() {
4199   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(0));
4200 }
4201 #endif  // !CAPNP_LITE
setParent(::capnp::compiler::Expression::Reader value)4202 inline void Expression::Member::Builder::setParent( ::capnp::compiler::Expression::Reader value) {
4203   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
4204       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4205 }
initParent()4206 inline  ::capnp::compiler::Expression::Builder Expression::Member::Builder::initParent() {
4207   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
4208       ::capnp::bounded<0>() * ::capnp::POINTERS));
4209 }
adoptParent(::capnp::Orphan<::capnp::compiler::Expression> && value)4210 inline void Expression::Member::Builder::adoptParent(
4211     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
4212   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
4213       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4214 }
disownParent()4215 inline ::capnp::Orphan< ::capnp::compiler::Expression> Expression::Member::Builder::disownParent() {
4216   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
4217       ::capnp::bounded<0>() * ::capnp::POINTERS));
4218 }
4219 
hasName()4220 inline bool Expression::Member::Reader::hasName() const {
4221   return !_reader.getPointerField(
4222       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4223 }
hasName()4224 inline bool Expression::Member::Builder::hasName() {
4225   return !_builder.getPointerField(
4226       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4227 }
getName()4228 inline  ::capnp::compiler::LocatedText::Reader Expression::Member::Reader::getName() const {
4229   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
4230       ::capnp::bounded<1>() * ::capnp::POINTERS));
4231 }
getName()4232 inline  ::capnp::compiler::LocatedText::Builder Expression::Member::Builder::getName() {
4233   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
4234       ::capnp::bounded<1>() * ::capnp::POINTERS));
4235 }
4236 #if !CAPNP_LITE
getName()4237 inline  ::capnp::compiler::LocatedText::Pipeline Expression::Member::Pipeline::getName() {
4238   return  ::capnp::compiler::LocatedText::Pipeline(_typeless.getPointerField(1));
4239 }
4240 #endif  // !CAPNP_LITE
setName(::capnp::compiler::LocatedText::Reader value)4241 inline void Expression::Member::Builder::setName( ::capnp::compiler::LocatedText::Reader value) {
4242   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
4243       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4244 }
initName()4245 inline  ::capnp::compiler::LocatedText::Builder Expression::Member::Builder::initName() {
4246   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
4247       ::capnp::bounded<1>() * ::capnp::POINTERS));
4248 }
adoptName(::capnp::Orphan<::capnp::compiler::LocatedText> && value)4249 inline void Expression::Member::Builder::adoptName(
4250     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
4251   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
4252       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4253 }
disownName()4254 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Expression::Member::Builder::disownName() {
4255   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
4256       ::capnp::bounded<1>() * ::capnp::POINTERS));
4257 }
4258 
which()4259 inline  ::capnp::compiler::Declaration::Which Declaration::Reader::which() const {
4260   return _reader.getDataField<Which>(
4261       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
4262 }
which()4263 inline  ::capnp::compiler::Declaration::Which Declaration::Builder::which() {
4264   return _builder.getDataField<Which>(
4265       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
4266 }
4267 
hasName()4268 inline bool Declaration::Reader::hasName() const {
4269   return !_reader.getPointerField(
4270       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4271 }
hasName()4272 inline bool Declaration::Builder::hasName() {
4273   return !_builder.getPointerField(
4274       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4275 }
getName()4276 inline  ::capnp::compiler::LocatedText::Reader Declaration::Reader::getName() const {
4277   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
4278       ::capnp::bounded<0>() * ::capnp::POINTERS));
4279 }
getName()4280 inline  ::capnp::compiler::LocatedText::Builder Declaration::Builder::getName() {
4281   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
4282       ::capnp::bounded<0>() * ::capnp::POINTERS));
4283 }
4284 #if !CAPNP_LITE
getName()4285 inline  ::capnp::compiler::LocatedText::Pipeline Declaration::Pipeline::getName() {
4286   return  ::capnp::compiler::LocatedText::Pipeline(_typeless.getPointerField(0));
4287 }
4288 #endif  // !CAPNP_LITE
setName(::capnp::compiler::LocatedText::Reader value)4289 inline void Declaration::Builder::setName( ::capnp::compiler::LocatedText::Reader value) {
4290   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
4291       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4292 }
initName()4293 inline  ::capnp::compiler::LocatedText::Builder Declaration::Builder::initName() {
4294   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
4295       ::capnp::bounded<0>() * ::capnp::POINTERS));
4296 }
adoptName(::capnp::Orphan<::capnp::compiler::LocatedText> && value)4297 inline void Declaration::Builder::adoptName(
4298     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
4299   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
4300       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4301 }
disownName()4302 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Declaration::Builder::disownName() {
4303   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
4304       ::capnp::bounded<0>() * ::capnp::POINTERS));
4305 }
4306 
getId()4307 inline typename Declaration::Id::Reader Declaration::Reader::getId() const {
4308   return typename Declaration::Id::Reader(_reader);
4309 }
getId()4310 inline typename Declaration::Id::Builder Declaration::Builder::getId() {
4311   return typename Declaration::Id::Builder(_builder);
4312 }
4313 #if !CAPNP_LITE
getId()4314 inline typename Declaration::Id::Pipeline Declaration::Pipeline::getId() {
4315   return typename Declaration::Id::Pipeline(_typeless.noop());
4316 }
4317 #endif  // !CAPNP_LITE
initId()4318 inline typename Declaration::Id::Builder Declaration::Builder::initId() {
4319   _builder.setDataField< ::uint16_t>(::capnp::bounded<0>() * ::capnp::ELEMENTS, 0);
4320   _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
4321   return typename Declaration::Id::Builder(_builder);
4322 }
hasNestedDecls()4323 inline bool Declaration::Reader::hasNestedDecls() const {
4324   return !_reader.getPointerField(
4325       ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
4326 }
hasNestedDecls()4327 inline bool Declaration::Builder::hasNestedDecls() {
4328   return !_builder.getPointerField(
4329       ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
4330 }
getNestedDecls()4331 inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Reader Declaration::Reader::getNestedDecls() const {
4332   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4333       ::capnp::bounded<2>() * ::capnp::POINTERS));
4334 }
getNestedDecls()4335 inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::getNestedDecls() {
4336   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4337       ::capnp::bounded<2>() * ::capnp::POINTERS));
4338 }
setNestedDecls(::capnp::List<::capnp::compiler::Declaration,::capnp::Kind::STRUCT>::Reader value)4339 inline void Declaration::Builder::setNestedDecls( ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Reader value) {
4340   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4341       ::capnp::bounded<2>() * ::capnp::POINTERS), value);
4342 }
initNestedDecls(unsigned int size)4343 inline  ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::initNestedDecls(unsigned int size) {
4344   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4345       ::capnp::bounded<2>() * ::capnp::POINTERS), size);
4346 }
adoptNestedDecls(::capnp::Orphan<::capnp::List<::capnp::compiler::Declaration,::capnp::Kind::STRUCT>> && value)4347 inline void Declaration::Builder::adoptNestedDecls(
4348     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>&& value) {
4349   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4350       ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
4351 }
disownNestedDecls()4352 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>> Declaration::Builder::disownNestedDecls() {
4353   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4354       ::capnp::bounded<2>() * ::capnp::POINTERS));
4355 }
4356 
hasAnnotations()4357 inline bool Declaration::Reader::hasAnnotations() const {
4358   return !_reader.getPointerField(
4359       ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
4360 }
hasAnnotations()4361 inline bool Declaration::Builder::hasAnnotations() {
4362   return !_builder.getPointerField(
4363       ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
4364 }
getAnnotations()4365 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader Declaration::Reader::getAnnotations() const {
4366   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4367       ::capnp::bounded<3>() * ::capnp::POINTERS));
4368 }
getAnnotations()4369 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::getAnnotations() {
4370   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4371       ::capnp::bounded<3>() * ::capnp::POINTERS));
4372 }
setAnnotations(::capnp::List<::capnp::compiler::Declaration::AnnotationApplication,::capnp::Kind::STRUCT>::Reader value)4373 inline void Declaration::Builder::setAnnotations( ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader value) {
4374   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4375       ::capnp::bounded<3>() * ::capnp::POINTERS), value);
4376 }
initAnnotations(unsigned int size)4377 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::initAnnotations(unsigned int size) {
4378   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4379       ::capnp::bounded<3>() * ::capnp::POINTERS), size);
4380 }
adoptAnnotations(::capnp::Orphan<::capnp::List<::capnp::compiler::Declaration::AnnotationApplication,::capnp::Kind::STRUCT>> && value)4381 inline void Declaration::Builder::adoptAnnotations(
4382     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>&& value) {
4383   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4384       ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
4385 }
disownAnnotations()4386 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>> Declaration::Builder::disownAnnotations() {
4387   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4388       ::capnp::bounded<3>() * ::capnp::POINTERS));
4389 }
4390 
getStartByte()4391 inline  ::uint32_t Declaration::Reader::getStartByte() const {
4392   return _reader.getDataField< ::uint32_t>(
4393       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
4394 }
4395 
getStartByte()4396 inline  ::uint32_t Declaration::Builder::getStartByte() {
4397   return _builder.getDataField< ::uint32_t>(
4398       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
4399 }
setStartByte(::uint32_t value)4400 inline void Declaration::Builder::setStartByte( ::uint32_t value) {
4401   _builder.setDataField< ::uint32_t>(
4402       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
4403 }
4404 
getEndByte()4405 inline  ::uint32_t Declaration::Reader::getEndByte() const {
4406   return _reader.getDataField< ::uint32_t>(
4407       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4408 }
4409 
getEndByte()4410 inline  ::uint32_t Declaration::Builder::getEndByte() {
4411   return _builder.getDataField< ::uint32_t>(
4412       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4413 }
setEndByte(::uint32_t value)4414 inline void Declaration::Builder::setEndByte( ::uint32_t value) {
4415   _builder.setDataField< ::uint32_t>(
4416       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
4417 }
4418 
hasDocComment()4419 inline bool Declaration::Reader::hasDocComment() const {
4420   return !_reader.getPointerField(
4421       ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
4422 }
hasDocComment()4423 inline bool Declaration::Builder::hasDocComment() {
4424   return !_builder.getPointerField(
4425       ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
4426 }
getDocComment()4427 inline  ::capnp::Text::Reader Declaration::Reader::getDocComment() const {
4428   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4429       ::capnp::bounded<4>() * ::capnp::POINTERS));
4430 }
getDocComment()4431 inline  ::capnp::Text::Builder Declaration::Builder::getDocComment() {
4432   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4433       ::capnp::bounded<4>() * ::capnp::POINTERS));
4434 }
setDocComment(::capnp::Text::Reader value)4435 inline void Declaration::Builder::setDocComment( ::capnp::Text::Reader value) {
4436   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4437       ::capnp::bounded<4>() * ::capnp::POINTERS), value);
4438 }
initDocComment(unsigned int size)4439 inline  ::capnp::Text::Builder Declaration::Builder::initDocComment(unsigned int size) {
4440   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4441       ::capnp::bounded<4>() * ::capnp::POINTERS), size);
4442 }
adoptDocComment(::capnp::Orphan<::capnp::Text> && value)4443 inline void Declaration::Builder::adoptDocComment(
4444     ::capnp::Orphan< ::capnp::Text>&& value) {
4445   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4446       ::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
4447 }
disownDocComment()4448 inline ::capnp::Orphan< ::capnp::Text> Declaration::Builder::disownDocComment() {
4449   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4450       ::capnp::bounded<4>() * ::capnp::POINTERS));
4451 }
4452 
isFile()4453 inline bool Declaration::Reader::isFile() const {
4454   return which() == Declaration::FILE;
4455 }
isFile()4456 inline bool Declaration::Builder::isFile() {
4457   return which() == Declaration::FILE;
4458 }
getFile()4459 inline  ::capnp::Void Declaration::Reader::getFile() const {
4460   KJ_IREQUIRE((which() == Declaration::FILE),
4461               "Must check which() before get()ing a union member.");
4462   return _reader.getDataField< ::capnp::Void>(
4463       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4464 }
4465 
getFile()4466 inline  ::capnp::Void Declaration::Builder::getFile() {
4467   KJ_IREQUIRE((which() == Declaration::FILE),
4468               "Must check which() before get()ing a union member.");
4469   return _builder.getDataField< ::capnp::Void>(
4470       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4471 }
setFile(::capnp::Void value)4472 inline void Declaration::Builder::setFile( ::capnp::Void value) {
4473   _builder.setDataField<Declaration::Which>(
4474       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::FILE);
4475   _builder.setDataField< ::capnp::Void>(
4476       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4477 }
4478 
isUsing()4479 inline bool Declaration::Reader::isUsing() const {
4480   return which() == Declaration::USING;
4481 }
isUsing()4482 inline bool Declaration::Builder::isUsing() {
4483   return which() == Declaration::USING;
4484 }
getUsing()4485 inline typename Declaration::Using::Reader Declaration::Reader::getUsing() const {
4486   KJ_IREQUIRE((which() == Declaration::USING),
4487               "Must check which() before get()ing a union member.");
4488   return typename Declaration::Using::Reader(_reader);
4489 }
getUsing()4490 inline typename Declaration::Using::Builder Declaration::Builder::getUsing() {
4491   KJ_IREQUIRE((which() == Declaration::USING),
4492               "Must check which() before get()ing a union member.");
4493   return typename Declaration::Using::Builder(_builder);
4494 }
initUsing()4495 inline typename Declaration::Using::Builder Declaration::Builder::initUsing() {
4496   _builder.setDataField<Declaration::Which>(
4497       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::USING);
4498   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4499   return typename Declaration::Using::Builder(_builder);
4500 }
isConst()4501 inline bool Declaration::Reader::isConst() const {
4502   return which() == Declaration::CONST;
4503 }
isConst()4504 inline bool Declaration::Builder::isConst() {
4505   return which() == Declaration::CONST;
4506 }
getConst()4507 inline typename Declaration::Const::Reader Declaration::Reader::getConst() const {
4508   KJ_IREQUIRE((which() == Declaration::CONST),
4509               "Must check which() before get()ing a union member.");
4510   return typename Declaration::Const::Reader(_reader);
4511 }
getConst()4512 inline typename Declaration::Const::Builder Declaration::Builder::getConst() {
4513   KJ_IREQUIRE((which() == Declaration::CONST),
4514               "Must check which() before get()ing a union member.");
4515   return typename Declaration::Const::Builder(_builder);
4516 }
initConst()4517 inline typename Declaration::Const::Builder Declaration::Builder::initConst() {
4518   _builder.setDataField<Declaration::Which>(
4519       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::CONST);
4520   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4521   _builder.getPointerField(::capnp::bounded<6>() * ::capnp::POINTERS).clear();
4522   return typename Declaration::Const::Builder(_builder);
4523 }
isEnum()4524 inline bool Declaration::Reader::isEnum() const {
4525   return which() == Declaration::ENUM;
4526 }
isEnum()4527 inline bool Declaration::Builder::isEnum() {
4528   return which() == Declaration::ENUM;
4529 }
getEnum()4530 inline  ::capnp::Void Declaration::Reader::getEnum() const {
4531   KJ_IREQUIRE((which() == Declaration::ENUM),
4532               "Must check which() before get()ing a union member.");
4533   return _reader.getDataField< ::capnp::Void>(
4534       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4535 }
4536 
getEnum()4537 inline  ::capnp::Void Declaration::Builder::getEnum() {
4538   KJ_IREQUIRE((which() == Declaration::ENUM),
4539               "Must check which() before get()ing a union member.");
4540   return _builder.getDataField< ::capnp::Void>(
4541       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4542 }
setEnum(::capnp::Void value)4543 inline void Declaration::Builder::setEnum( ::capnp::Void value) {
4544   _builder.setDataField<Declaration::Which>(
4545       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::ENUM);
4546   _builder.setDataField< ::capnp::Void>(
4547       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4548 }
4549 
isEnumerant()4550 inline bool Declaration::Reader::isEnumerant() const {
4551   return which() == Declaration::ENUMERANT;
4552 }
isEnumerant()4553 inline bool Declaration::Builder::isEnumerant() {
4554   return which() == Declaration::ENUMERANT;
4555 }
getEnumerant()4556 inline  ::capnp::Void Declaration::Reader::getEnumerant() const {
4557   KJ_IREQUIRE((which() == Declaration::ENUMERANT),
4558               "Must check which() before get()ing a union member.");
4559   return _reader.getDataField< ::capnp::Void>(
4560       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4561 }
4562 
getEnumerant()4563 inline  ::capnp::Void Declaration::Builder::getEnumerant() {
4564   KJ_IREQUIRE((which() == Declaration::ENUMERANT),
4565               "Must check which() before get()ing a union member.");
4566   return _builder.getDataField< ::capnp::Void>(
4567       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4568 }
setEnumerant(::capnp::Void value)4569 inline void Declaration::Builder::setEnumerant( ::capnp::Void value) {
4570   _builder.setDataField<Declaration::Which>(
4571       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::ENUMERANT);
4572   _builder.setDataField< ::capnp::Void>(
4573       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4574 }
4575 
isStruct()4576 inline bool Declaration::Reader::isStruct() const {
4577   return which() == Declaration::STRUCT;
4578 }
isStruct()4579 inline bool Declaration::Builder::isStruct() {
4580   return which() == Declaration::STRUCT;
4581 }
getStruct()4582 inline  ::capnp::Void Declaration::Reader::getStruct() const {
4583   KJ_IREQUIRE((which() == Declaration::STRUCT),
4584               "Must check which() before get()ing a union member.");
4585   return _reader.getDataField< ::capnp::Void>(
4586       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4587 }
4588 
getStruct()4589 inline  ::capnp::Void Declaration::Builder::getStruct() {
4590   KJ_IREQUIRE((which() == Declaration::STRUCT),
4591               "Must check which() before get()ing a union member.");
4592   return _builder.getDataField< ::capnp::Void>(
4593       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4594 }
setStruct(::capnp::Void value)4595 inline void Declaration::Builder::setStruct( ::capnp::Void value) {
4596   _builder.setDataField<Declaration::Which>(
4597       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::STRUCT);
4598   _builder.setDataField< ::capnp::Void>(
4599       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4600 }
4601 
isField()4602 inline bool Declaration::Reader::isField() const {
4603   return which() == Declaration::FIELD;
4604 }
isField()4605 inline bool Declaration::Builder::isField() {
4606   return which() == Declaration::FIELD;
4607 }
getField()4608 inline typename Declaration::Field::Reader Declaration::Reader::getField() const {
4609   KJ_IREQUIRE((which() == Declaration::FIELD),
4610               "Must check which() before get()ing a union member.");
4611   return typename Declaration::Field::Reader(_reader);
4612 }
getField()4613 inline typename Declaration::Field::Builder Declaration::Builder::getField() {
4614   KJ_IREQUIRE((which() == Declaration::FIELD),
4615               "Must check which() before get()ing a union member.");
4616   return typename Declaration::Field::Builder(_builder);
4617 }
initField()4618 inline typename Declaration::Field::Builder Declaration::Builder::initField() {
4619   _builder.setDataField<Declaration::Which>(
4620       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::FIELD);
4621   _builder.setDataField< ::uint16_t>(::capnp::bounded<6>() * ::capnp::ELEMENTS, 0);
4622   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4623   _builder.getPointerField(::capnp::bounded<6>() * ::capnp::POINTERS).clear();
4624   return typename Declaration::Field::Builder(_builder);
4625 }
isUnion()4626 inline bool Declaration::Reader::isUnion() const {
4627   return which() == Declaration::UNION;
4628 }
isUnion()4629 inline bool Declaration::Builder::isUnion() {
4630   return which() == Declaration::UNION;
4631 }
getUnion()4632 inline  ::capnp::Void Declaration::Reader::getUnion() const {
4633   KJ_IREQUIRE((which() == Declaration::UNION),
4634               "Must check which() before get()ing a union member.");
4635   return _reader.getDataField< ::capnp::Void>(
4636       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4637 }
4638 
getUnion()4639 inline  ::capnp::Void Declaration::Builder::getUnion() {
4640   KJ_IREQUIRE((which() == Declaration::UNION),
4641               "Must check which() before get()ing a union member.");
4642   return _builder.getDataField< ::capnp::Void>(
4643       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4644 }
setUnion(::capnp::Void value)4645 inline void Declaration::Builder::setUnion( ::capnp::Void value) {
4646   _builder.setDataField<Declaration::Which>(
4647       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::UNION);
4648   _builder.setDataField< ::capnp::Void>(
4649       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4650 }
4651 
isGroup()4652 inline bool Declaration::Reader::isGroup() const {
4653   return which() == Declaration::GROUP;
4654 }
isGroup()4655 inline bool Declaration::Builder::isGroup() {
4656   return which() == Declaration::GROUP;
4657 }
getGroup()4658 inline  ::capnp::Void Declaration::Reader::getGroup() const {
4659   KJ_IREQUIRE((which() == Declaration::GROUP),
4660               "Must check which() before get()ing a union member.");
4661   return _reader.getDataField< ::capnp::Void>(
4662       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4663 }
4664 
getGroup()4665 inline  ::capnp::Void Declaration::Builder::getGroup() {
4666   KJ_IREQUIRE((which() == Declaration::GROUP),
4667               "Must check which() before get()ing a union member.");
4668   return _builder.getDataField< ::capnp::Void>(
4669       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4670 }
setGroup(::capnp::Void value)4671 inline void Declaration::Builder::setGroup( ::capnp::Void value) {
4672   _builder.setDataField<Declaration::Which>(
4673       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::GROUP);
4674   _builder.setDataField< ::capnp::Void>(
4675       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4676 }
4677 
isInterface()4678 inline bool Declaration::Reader::isInterface() const {
4679   return which() == Declaration::INTERFACE;
4680 }
isInterface()4681 inline bool Declaration::Builder::isInterface() {
4682   return which() == Declaration::INTERFACE;
4683 }
getInterface()4684 inline typename Declaration::Interface::Reader Declaration::Reader::getInterface() const {
4685   KJ_IREQUIRE((which() == Declaration::INTERFACE),
4686               "Must check which() before get()ing a union member.");
4687   return typename Declaration::Interface::Reader(_reader);
4688 }
getInterface()4689 inline typename Declaration::Interface::Builder Declaration::Builder::getInterface() {
4690   KJ_IREQUIRE((which() == Declaration::INTERFACE),
4691               "Must check which() before get()ing a union member.");
4692   return typename Declaration::Interface::Builder(_builder);
4693 }
initInterface()4694 inline typename Declaration::Interface::Builder Declaration::Builder::initInterface() {
4695   _builder.setDataField<Declaration::Which>(
4696       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::INTERFACE);
4697   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4698   return typename Declaration::Interface::Builder(_builder);
4699 }
isMethod()4700 inline bool Declaration::Reader::isMethod() const {
4701   return which() == Declaration::METHOD;
4702 }
isMethod()4703 inline bool Declaration::Builder::isMethod() {
4704   return which() == Declaration::METHOD;
4705 }
getMethod()4706 inline typename Declaration::Method::Reader Declaration::Reader::getMethod() const {
4707   KJ_IREQUIRE((which() == Declaration::METHOD),
4708               "Must check which() before get()ing a union member.");
4709   return typename Declaration::Method::Reader(_reader);
4710 }
getMethod()4711 inline typename Declaration::Method::Builder Declaration::Builder::getMethod() {
4712   KJ_IREQUIRE((which() == Declaration::METHOD),
4713               "Must check which() before get()ing a union member.");
4714   return typename Declaration::Method::Builder(_builder);
4715 }
initMethod()4716 inline typename Declaration::Method::Builder Declaration::Builder::initMethod() {
4717   _builder.setDataField<Declaration::Which>(
4718       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::METHOD);
4719   _builder.setDataField< ::uint16_t>(::capnp::bounded<6>() * ::capnp::ELEMENTS, 0);
4720   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4721   _builder.getPointerField(::capnp::bounded<6>() * ::capnp::POINTERS).clear();
4722   return typename Declaration::Method::Builder(_builder);
4723 }
isAnnotation()4724 inline bool Declaration::Reader::isAnnotation() const {
4725   return which() == Declaration::ANNOTATION;
4726 }
isAnnotation()4727 inline bool Declaration::Builder::isAnnotation() {
4728   return which() == Declaration::ANNOTATION;
4729 }
getAnnotation()4730 inline typename Declaration::Annotation::Reader Declaration::Reader::getAnnotation() const {
4731   KJ_IREQUIRE((which() == Declaration::ANNOTATION),
4732               "Must check which() before get()ing a union member.");
4733   return typename Declaration::Annotation::Reader(_reader);
4734 }
getAnnotation()4735 inline typename Declaration::Annotation::Builder Declaration::Builder::getAnnotation() {
4736   KJ_IREQUIRE((which() == Declaration::ANNOTATION),
4737               "Must check which() before get()ing a union member.");
4738   return typename Declaration::Annotation::Builder(_builder);
4739 }
initAnnotation()4740 inline typename Declaration::Annotation::Builder Declaration::Builder::initAnnotation() {
4741   _builder.setDataField<Declaration::Which>(
4742       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::ANNOTATION);
4743   _builder.setDataField<bool>(::capnp::bounded<96>() * ::capnp::ELEMENTS, 0);
4744   _builder.setDataField<bool>(::capnp::bounded<97>() * ::capnp::ELEMENTS, 0);
4745   _builder.setDataField<bool>(::capnp::bounded<98>() * ::capnp::ELEMENTS, 0);
4746   _builder.setDataField<bool>(::capnp::bounded<99>() * ::capnp::ELEMENTS, 0);
4747   _builder.setDataField<bool>(::capnp::bounded<100>() * ::capnp::ELEMENTS, 0);
4748   _builder.setDataField<bool>(::capnp::bounded<101>() * ::capnp::ELEMENTS, 0);
4749   _builder.setDataField<bool>(::capnp::bounded<102>() * ::capnp::ELEMENTS, 0);
4750   _builder.setDataField<bool>(::capnp::bounded<103>() * ::capnp::ELEMENTS, 0);
4751   _builder.setDataField<bool>(::capnp::bounded<104>() * ::capnp::ELEMENTS, 0);
4752   _builder.setDataField<bool>(::capnp::bounded<105>() * ::capnp::ELEMENTS, 0);
4753   _builder.setDataField<bool>(::capnp::bounded<106>() * ::capnp::ELEMENTS, 0);
4754   _builder.setDataField<bool>(::capnp::bounded<107>() * ::capnp::ELEMENTS, 0);
4755   _builder.getPointerField(::capnp::bounded<5>() * ::capnp::POINTERS).clear();
4756   return typename Declaration::Annotation::Builder(_builder);
4757 }
isNakedId()4758 inline bool Declaration::Reader::isNakedId() const {
4759   return which() == Declaration::NAKED_ID;
4760 }
isNakedId()4761 inline bool Declaration::Builder::isNakedId() {
4762   return which() == Declaration::NAKED_ID;
4763 }
hasNakedId()4764 inline bool Declaration::Reader::hasNakedId() const {
4765   if (which() != Declaration::NAKED_ID) return false;
4766   return !_reader.getPointerField(
4767       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4768 }
hasNakedId()4769 inline bool Declaration::Builder::hasNakedId() {
4770   if (which() != Declaration::NAKED_ID) return false;
4771   return !_builder.getPointerField(
4772       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4773 }
getNakedId()4774 inline  ::capnp::compiler::LocatedInteger::Reader Declaration::Reader::getNakedId() const {
4775   KJ_IREQUIRE((which() == Declaration::NAKED_ID),
4776               "Must check which() before get()ing a union member.");
4777   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_reader.getPointerField(
4778       ::capnp::bounded<5>() * ::capnp::POINTERS));
4779 }
getNakedId()4780 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Builder::getNakedId() {
4781   KJ_IREQUIRE((which() == Declaration::NAKED_ID),
4782               "Must check which() before get()ing a union member.");
4783   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_builder.getPointerField(
4784       ::capnp::bounded<5>() * ::capnp::POINTERS));
4785 }
setNakedId(::capnp::compiler::LocatedInteger::Reader value)4786 inline void Declaration::Builder::setNakedId( ::capnp::compiler::LocatedInteger::Reader value) {
4787   _builder.setDataField<Declaration::Which>(
4788       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ID);
4789   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::set(_builder.getPointerField(
4790       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
4791 }
initNakedId()4792 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Builder::initNakedId() {
4793   _builder.setDataField<Declaration::Which>(
4794       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ID);
4795   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::init(_builder.getPointerField(
4796       ::capnp::bounded<5>() * ::capnp::POINTERS));
4797 }
adoptNakedId(::capnp::Orphan<::capnp::compiler::LocatedInteger> && value)4798 inline void Declaration::Builder::adoptNakedId(
4799     ::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value) {
4800   _builder.setDataField<Declaration::Which>(
4801       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ID);
4802   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::adopt(_builder.getPointerField(
4803       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
4804 }
disownNakedId()4805 inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> Declaration::Builder::disownNakedId() {
4806   KJ_IREQUIRE((which() == Declaration::NAKED_ID),
4807               "Must check which() before get()ing a union member.");
4808   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::disown(_builder.getPointerField(
4809       ::capnp::bounded<5>() * ::capnp::POINTERS));
4810 }
4811 
isNakedAnnotation()4812 inline bool Declaration::Reader::isNakedAnnotation() const {
4813   return which() == Declaration::NAKED_ANNOTATION;
4814 }
isNakedAnnotation()4815 inline bool Declaration::Builder::isNakedAnnotation() {
4816   return which() == Declaration::NAKED_ANNOTATION;
4817 }
hasNakedAnnotation()4818 inline bool Declaration::Reader::hasNakedAnnotation() const {
4819   if (which() != Declaration::NAKED_ANNOTATION) return false;
4820   return !_reader.getPointerField(
4821       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4822 }
hasNakedAnnotation()4823 inline bool Declaration::Builder::hasNakedAnnotation() {
4824   if (which() != Declaration::NAKED_ANNOTATION) return false;
4825   return !_builder.getPointerField(
4826       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4827 }
getNakedAnnotation()4828 inline  ::capnp::compiler::Declaration::AnnotationApplication::Reader Declaration::Reader::getNakedAnnotation() const {
4829   KJ_IREQUIRE((which() == Declaration::NAKED_ANNOTATION),
4830               "Must check which() before get()ing a union member.");
4831   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::get(_reader.getPointerField(
4832       ::capnp::bounded<5>() * ::capnp::POINTERS));
4833 }
getNakedAnnotation()4834 inline  ::capnp::compiler::Declaration::AnnotationApplication::Builder Declaration::Builder::getNakedAnnotation() {
4835   KJ_IREQUIRE((which() == Declaration::NAKED_ANNOTATION),
4836               "Must check which() before get()ing a union member.");
4837   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::get(_builder.getPointerField(
4838       ::capnp::bounded<5>() * ::capnp::POINTERS));
4839 }
setNakedAnnotation(::capnp::compiler::Declaration::AnnotationApplication::Reader value)4840 inline void Declaration::Builder::setNakedAnnotation( ::capnp::compiler::Declaration::AnnotationApplication::Reader value) {
4841   _builder.setDataField<Declaration::Which>(
4842       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ANNOTATION);
4843   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::set(_builder.getPointerField(
4844       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
4845 }
initNakedAnnotation()4846 inline  ::capnp::compiler::Declaration::AnnotationApplication::Builder Declaration::Builder::initNakedAnnotation() {
4847   _builder.setDataField<Declaration::Which>(
4848       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ANNOTATION);
4849   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::init(_builder.getPointerField(
4850       ::capnp::bounded<5>() * ::capnp::POINTERS));
4851 }
adoptNakedAnnotation(::capnp::Orphan<::capnp::compiler::Declaration::AnnotationApplication> && value)4852 inline void Declaration::Builder::adoptNakedAnnotation(
4853     ::capnp::Orphan< ::capnp::compiler::Declaration::AnnotationApplication>&& value) {
4854   _builder.setDataField<Declaration::Which>(
4855       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::NAKED_ANNOTATION);
4856   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::adopt(_builder.getPointerField(
4857       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
4858 }
disownNakedAnnotation()4859 inline ::capnp::Orphan< ::capnp::compiler::Declaration::AnnotationApplication> Declaration::Builder::disownNakedAnnotation() {
4860   KJ_IREQUIRE((which() == Declaration::NAKED_ANNOTATION),
4861               "Must check which() before get()ing a union member.");
4862   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::AnnotationApplication>::disown(_builder.getPointerField(
4863       ::capnp::bounded<5>() * ::capnp::POINTERS));
4864 }
4865 
isBuiltinVoid()4866 inline bool Declaration::Reader::isBuiltinVoid() const {
4867   return which() == Declaration::BUILTIN_VOID;
4868 }
isBuiltinVoid()4869 inline bool Declaration::Builder::isBuiltinVoid() {
4870   return which() == Declaration::BUILTIN_VOID;
4871 }
getBuiltinVoid()4872 inline  ::capnp::Void Declaration::Reader::getBuiltinVoid() const {
4873   KJ_IREQUIRE((which() == Declaration::BUILTIN_VOID),
4874               "Must check which() before get()ing a union member.");
4875   return _reader.getDataField< ::capnp::Void>(
4876       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4877 }
4878 
getBuiltinVoid()4879 inline  ::capnp::Void Declaration::Builder::getBuiltinVoid() {
4880   KJ_IREQUIRE((which() == Declaration::BUILTIN_VOID),
4881               "Must check which() before get()ing a union member.");
4882   return _builder.getDataField< ::capnp::Void>(
4883       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4884 }
setBuiltinVoid(::capnp::Void value)4885 inline void Declaration::Builder::setBuiltinVoid( ::capnp::Void value) {
4886   _builder.setDataField<Declaration::Which>(
4887       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_VOID);
4888   _builder.setDataField< ::capnp::Void>(
4889       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4890 }
4891 
isBuiltinBool()4892 inline bool Declaration::Reader::isBuiltinBool() const {
4893   return which() == Declaration::BUILTIN_BOOL;
4894 }
isBuiltinBool()4895 inline bool Declaration::Builder::isBuiltinBool() {
4896   return which() == Declaration::BUILTIN_BOOL;
4897 }
getBuiltinBool()4898 inline  ::capnp::Void Declaration::Reader::getBuiltinBool() const {
4899   KJ_IREQUIRE((which() == Declaration::BUILTIN_BOOL),
4900               "Must check which() before get()ing a union member.");
4901   return _reader.getDataField< ::capnp::Void>(
4902       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4903 }
4904 
getBuiltinBool()4905 inline  ::capnp::Void Declaration::Builder::getBuiltinBool() {
4906   KJ_IREQUIRE((which() == Declaration::BUILTIN_BOOL),
4907               "Must check which() before get()ing a union member.");
4908   return _builder.getDataField< ::capnp::Void>(
4909       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4910 }
setBuiltinBool(::capnp::Void value)4911 inline void Declaration::Builder::setBuiltinBool( ::capnp::Void value) {
4912   _builder.setDataField<Declaration::Which>(
4913       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_BOOL);
4914   _builder.setDataField< ::capnp::Void>(
4915       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4916 }
4917 
isBuiltinInt8()4918 inline bool Declaration::Reader::isBuiltinInt8() const {
4919   return which() == Declaration::BUILTIN_INT8;
4920 }
isBuiltinInt8()4921 inline bool Declaration::Builder::isBuiltinInt8() {
4922   return which() == Declaration::BUILTIN_INT8;
4923 }
getBuiltinInt8()4924 inline  ::capnp::Void Declaration::Reader::getBuiltinInt8() const {
4925   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT8),
4926               "Must check which() before get()ing a union member.");
4927   return _reader.getDataField< ::capnp::Void>(
4928       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4929 }
4930 
getBuiltinInt8()4931 inline  ::capnp::Void Declaration::Builder::getBuiltinInt8() {
4932   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT8),
4933               "Must check which() before get()ing a union member.");
4934   return _builder.getDataField< ::capnp::Void>(
4935       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4936 }
setBuiltinInt8(::capnp::Void value)4937 inline void Declaration::Builder::setBuiltinInt8( ::capnp::Void value) {
4938   _builder.setDataField<Declaration::Which>(
4939       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_INT8);
4940   _builder.setDataField< ::capnp::Void>(
4941       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4942 }
4943 
isBuiltinInt16()4944 inline bool Declaration::Reader::isBuiltinInt16() const {
4945   return which() == Declaration::BUILTIN_INT16;
4946 }
isBuiltinInt16()4947 inline bool Declaration::Builder::isBuiltinInt16() {
4948   return which() == Declaration::BUILTIN_INT16;
4949 }
getBuiltinInt16()4950 inline  ::capnp::Void Declaration::Reader::getBuiltinInt16() const {
4951   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT16),
4952               "Must check which() before get()ing a union member.");
4953   return _reader.getDataField< ::capnp::Void>(
4954       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4955 }
4956 
getBuiltinInt16()4957 inline  ::capnp::Void Declaration::Builder::getBuiltinInt16() {
4958   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT16),
4959               "Must check which() before get()ing a union member.");
4960   return _builder.getDataField< ::capnp::Void>(
4961       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4962 }
setBuiltinInt16(::capnp::Void value)4963 inline void Declaration::Builder::setBuiltinInt16( ::capnp::Void value) {
4964   _builder.setDataField<Declaration::Which>(
4965       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_INT16);
4966   _builder.setDataField< ::capnp::Void>(
4967       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4968 }
4969 
isBuiltinInt32()4970 inline bool Declaration::Reader::isBuiltinInt32() const {
4971   return which() == Declaration::BUILTIN_INT32;
4972 }
isBuiltinInt32()4973 inline bool Declaration::Builder::isBuiltinInt32() {
4974   return which() == Declaration::BUILTIN_INT32;
4975 }
getBuiltinInt32()4976 inline  ::capnp::Void Declaration::Reader::getBuiltinInt32() const {
4977   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT32),
4978               "Must check which() before get()ing a union member.");
4979   return _reader.getDataField< ::capnp::Void>(
4980       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4981 }
4982 
getBuiltinInt32()4983 inline  ::capnp::Void Declaration::Builder::getBuiltinInt32() {
4984   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT32),
4985               "Must check which() before get()ing a union member.");
4986   return _builder.getDataField< ::capnp::Void>(
4987       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4988 }
setBuiltinInt32(::capnp::Void value)4989 inline void Declaration::Builder::setBuiltinInt32( ::capnp::Void value) {
4990   _builder.setDataField<Declaration::Which>(
4991       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_INT32);
4992   _builder.setDataField< ::capnp::Void>(
4993       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4994 }
4995 
isBuiltinInt64()4996 inline bool Declaration::Reader::isBuiltinInt64() const {
4997   return which() == Declaration::BUILTIN_INT64;
4998 }
isBuiltinInt64()4999 inline bool Declaration::Builder::isBuiltinInt64() {
5000   return which() == Declaration::BUILTIN_INT64;
5001 }
getBuiltinInt64()5002 inline  ::capnp::Void Declaration::Reader::getBuiltinInt64() const {
5003   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT64),
5004               "Must check which() before get()ing a union member.");
5005   return _reader.getDataField< ::capnp::Void>(
5006       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5007 }
5008 
getBuiltinInt64()5009 inline  ::capnp::Void Declaration::Builder::getBuiltinInt64() {
5010   KJ_IREQUIRE((which() == Declaration::BUILTIN_INT64),
5011               "Must check which() before get()ing a union member.");
5012   return _builder.getDataField< ::capnp::Void>(
5013       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5014 }
setBuiltinInt64(::capnp::Void value)5015 inline void Declaration::Builder::setBuiltinInt64( ::capnp::Void value) {
5016   _builder.setDataField<Declaration::Which>(
5017       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_INT64);
5018   _builder.setDataField< ::capnp::Void>(
5019       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5020 }
5021 
isBuiltinUInt8()5022 inline bool Declaration::Reader::isBuiltinUInt8() const {
5023   return which() == Declaration::BUILTIN_U_INT8;
5024 }
isBuiltinUInt8()5025 inline bool Declaration::Builder::isBuiltinUInt8() {
5026   return which() == Declaration::BUILTIN_U_INT8;
5027 }
getBuiltinUInt8()5028 inline  ::capnp::Void Declaration::Reader::getBuiltinUInt8() const {
5029   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT8),
5030               "Must check which() before get()ing a union member.");
5031   return _reader.getDataField< ::capnp::Void>(
5032       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5033 }
5034 
getBuiltinUInt8()5035 inline  ::capnp::Void Declaration::Builder::getBuiltinUInt8() {
5036   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT8),
5037               "Must check which() before get()ing a union member.");
5038   return _builder.getDataField< ::capnp::Void>(
5039       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5040 }
setBuiltinUInt8(::capnp::Void value)5041 inline void Declaration::Builder::setBuiltinUInt8( ::capnp::Void value) {
5042   _builder.setDataField<Declaration::Which>(
5043       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_U_INT8);
5044   _builder.setDataField< ::capnp::Void>(
5045       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5046 }
5047 
isBuiltinUInt16()5048 inline bool Declaration::Reader::isBuiltinUInt16() const {
5049   return which() == Declaration::BUILTIN_U_INT16;
5050 }
isBuiltinUInt16()5051 inline bool Declaration::Builder::isBuiltinUInt16() {
5052   return which() == Declaration::BUILTIN_U_INT16;
5053 }
getBuiltinUInt16()5054 inline  ::capnp::Void Declaration::Reader::getBuiltinUInt16() const {
5055   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT16),
5056               "Must check which() before get()ing a union member.");
5057   return _reader.getDataField< ::capnp::Void>(
5058       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5059 }
5060 
getBuiltinUInt16()5061 inline  ::capnp::Void Declaration::Builder::getBuiltinUInt16() {
5062   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT16),
5063               "Must check which() before get()ing a union member.");
5064   return _builder.getDataField< ::capnp::Void>(
5065       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5066 }
setBuiltinUInt16(::capnp::Void value)5067 inline void Declaration::Builder::setBuiltinUInt16( ::capnp::Void value) {
5068   _builder.setDataField<Declaration::Which>(
5069       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_U_INT16);
5070   _builder.setDataField< ::capnp::Void>(
5071       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5072 }
5073 
isBuiltinUInt32()5074 inline bool Declaration::Reader::isBuiltinUInt32() const {
5075   return which() == Declaration::BUILTIN_U_INT32;
5076 }
isBuiltinUInt32()5077 inline bool Declaration::Builder::isBuiltinUInt32() {
5078   return which() == Declaration::BUILTIN_U_INT32;
5079 }
getBuiltinUInt32()5080 inline  ::capnp::Void Declaration::Reader::getBuiltinUInt32() const {
5081   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT32),
5082               "Must check which() before get()ing a union member.");
5083   return _reader.getDataField< ::capnp::Void>(
5084       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5085 }
5086 
getBuiltinUInt32()5087 inline  ::capnp::Void Declaration::Builder::getBuiltinUInt32() {
5088   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT32),
5089               "Must check which() before get()ing a union member.");
5090   return _builder.getDataField< ::capnp::Void>(
5091       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5092 }
setBuiltinUInt32(::capnp::Void value)5093 inline void Declaration::Builder::setBuiltinUInt32( ::capnp::Void value) {
5094   _builder.setDataField<Declaration::Which>(
5095       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_U_INT32);
5096   _builder.setDataField< ::capnp::Void>(
5097       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5098 }
5099 
isBuiltinUInt64()5100 inline bool Declaration::Reader::isBuiltinUInt64() const {
5101   return which() == Declaration::BUILTIN_U_INT64;
5102 }
isBuiltinUInt64()5103 inline bool Declaration::Builder::isBuiltinUInt64() {
5104   return which() == Declaration::BUILTIN_U_INT64;
5105 }
getBuiltinUInt64()5106 inline  ::capnp::Void Declaration::Reader::getBuiltinUInt64() const {
5107   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT64),
5108               "Must check which() before get()ing a union member.");
5109   return _reader.getDataField< ::capnp::Void>(
5110       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5111 }
5112 
getBuiltinUInt64()5113 inline  ::capnp::Void Declaration::Builder::getBuiltinUInt64() {
5114   KJ_IREQUIRE((which() == Declaration::BUILTIN_U_INT64),
5115               "Must check which() before get()ing a union member.");
5116   return _builder.getDataField< ::capnp::Void>(
5117       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5118 }
setBuiltinUInt64(::capnp::Void value)5119 inline void Declaration::Builder::setBuiltinUInt64( ::capnp::Void value) {
5120   _builder.setDataField<Declaration::Which>(
5121       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_U_INT64);
5122   _builder.setDataField< ::capnp::Void>(
5123       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5124 }
5125 
isBuiltinFloat32()5126 inline bool Declaration::Reader::isBuiltinFloat32() const {
5127   return which() == Declaration::BUILTIN_FLOAT32;
5128 }
isBuiltinFloat32()5129 inline bool Declaration::Builder::isBuiltinFloat32() {
5130   return which() == Declaration::BUILTIN_FLOAT32;
5131 }
getBuiltinFloat32()5132 inline  ::capnp::Void Declaration::Reader::getBuiltinFloat32() const {
5133   KJ_IREQUIRE((which() == Declaration::BUILTIN_FLOAT32),
5134               "Must check which() before get()ing a union member.");
5135   return _reader.getDataField< ::capnp::Void>(
5136       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5137 }
5138 
getBuiltinFloat32()5139 inline  ::capnp::Void Declaration::Builder::getBuiltinFloat32() {
5140   KJ_IREQUIRE((which() == Declaration::BUILTIN_FLOAT32),
5141               "Must check which() before get()ing a union member.");
5142   return _builder.getDataField< ::capnp::Void>(
5143       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5144 }
setBuiltinFloat32(::capnp::Void value)5145 inline void Declaration::Builder::setBuiltinFloat32( ::capnp::Void value) {
5146   _builder.setDataField<Declaration::Which>(
5147       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_FLOAT32);
5148   _builder.setDataField< ::capnp::Void>(
5149       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5150 }
5151 
isBuiltinFloat64()5152 inline bool Declaration::Reader::isBuiltinFloat64() const {
5153   return which() == Declaration::BUILTIN_FLOAT64;
5154 }
isBuiltinFloat64()5155 inline bool Declaration::Builder::isBuiltinFloat64() {
5156   return which() == Declaration::BUILTIN_FLOAT64;
5157 }
getBuiltinFloat64()5158 inline  ::capnp::Void Declaration::Reader::getBuiltinFloat64() const {
5159   KJ_IREQUIRE((which() == Declaration::BUILTIN_FLOAT64),
5160               "Must check which() before get()ing a union member.");
5161   return _reader.getDataField< ::capnp::Void>(
5162       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5163 }
5164 
getBuiltinFloat64()5165 inline  ::capnp::Void Declaration::Builder::getBuiltinFloat64() {
5166   KJ_IREQUIRE((which() == Declaration::BUILTIN_FLOAT64),
5167               "Must check which() before get()ing a union member.");
5168   return _builder.getDataField< ::capnp::Void>(
5169       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5170 }
setBuiltinFloat64(::capnp::Void value)5171 inline void Declaration::Builder::setBuiltinFloat64( ::capnp::Void value) {
5172   _builder.setDataField<Declaration::Which>(
5173       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_FLOAT64);
5174   _builder.setDataField< ::capnp::Void>(
5175       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5176 }
5177 
isBuiltinText()5178 inline bool Declaration::Reader::isBuiltinText() const {
5179   return which() == Declaration::BUILTIN_TEXT;
5180 }
isBuiltinText()5181 inline bool Declaration::Builder::isBuiltinText() {
5182   return which() == Declaration::BUILTIN_TEXT;
5183 }
getBuiltinText()5184 inline  ::capnp::Void Declaration::Reader::getBuiltinText() const {
5185   KJ_IREQUIRE((which() == Declaration::BUILTIN_TEXT),
5186               "Must check which() before get()ing a union member.");
5187   return _reader.getDataField< ::capnp::Void>(
5188       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5189 }
5190 
getBuiltinText()5191 inline  ::capnp::Void Declaration::Builder::getBuiltinText() {
5192   KJ_IREQUIRE((which() == Declaration::BUILTIN_TEXT),
5193               "Must check which() before get()ing a union member.");
5194   return _builder.getDataField< ::capnp::Void>(
5195       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5196 }
setBuiltinText(::capnp::Void value)5197 inline void Declaration::Builder::setBuiltinText( ::capnp::Void value) {
5198   _builder.setDataField<Declaration::Which>(
5199       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_TEXT);
5200   _builder.setDataField< ::capnp::Void>(
5201       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5202 }
5203 
isBuiltinData()5204 inline bool Declaration::Reader::isBuiltinData() const {
5205   return which() == Declaration::BUILTIN_DATA;
5206 }
isBuiltinData()5207 inline bool Declaration::Builder::isBuiltinData() {
5208   return which() == Declaration::BUILTIN_DATA;
5209 }
getBuiltinData()5210 inline  ::capnp::Void Declaration::Reader::getBuiltinData() const {
5211   KJ_IREQUIRE((which() == Declaration::BUILTIN_DATA),
5212               "Must check which() before get()ing a union member.");
5213   return _reader.getDataField< ::capnp::Void>(
5214       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5215 }
5216 
getBuiltinData()5217 inline  ::capnp::Void Declaration::Builder::getBuiltinData() {
5218   KJ_IREQUIRE((which() == Declaration::BUILTIN_DATA),
5219               "Must check which() before get()ing a union member.");
5220   return _builder.getDataField< ::capnp::Void>(
5221       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5222 }
setBuiltinData(::capnp::Void value)5223 inline void Declaration::Builder::setBuiltinData( ::capnp::Void value) {
5224   _builder.setDataField<Declaration::Which>(
5225       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_DATA);
5226   _builder.setDataField< ::capnp::Void>(
5227       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5228 }
5229 
isBuiltinList()5230 inline bool Declaration::Reader::isBuiltinList() const {
5231   return which() == Declaration::BUILTIN_LIST;
5232 }
isBuiltinList()5233 inline bool Declaration::Builder::isBuiltinList() {
5234   return which() == Declaration::BUILTIN_LIST;
5235 }
getBuiltinList()5236 inline  ::capnp::Void Declaration::Reader::getBuiltinList() const {
5237   KJ_IREQUIRE((which() == Declaration::BUILTIN_LIST),
5238               "Must check which() before get()ing a union member.");
5239   return _reader.getDataField< ::capnp::Void>(
5240       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5241 }
5242 
getBuiltinList()5243 inline  ::capnp::Void Declaration::Builder::getBuiltinList() {
5244   KJ_IREQUIRE((which() == Declaration::BUILTIN_LIST),
5245               "Must check which() before get()ing a union member.");
5246   return _builder.getDataField< ::capnp::Void>(
5247       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5248 }
setBuiltinList(::capnp::Void value)5249 inline void Declaration::Builder::setBuiltinList( ::capnp::Void value) {
5250   _builder.setDataField<Declaration::Which>(
5251       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_LIST);
5252   _builder.setDataField< ::capnp::Void>(
5253       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5254 }
5255 
isBuiltinObject()5256 inline bool Declaration::Reader::isBuiltinObject() const {
5257   return which() == Declaration::BUILTIN_OBJECT;
5258 }
isBuiltinObject()5259 inline bool Declaration::Builder::isBuiltinObject() {
5260   return which() == Declaration::BUILTIN_OBJECT;
5261 }
getBuiltinObject()5262 inline  ::capnp::Void Declaration::Reader::getBuiltinObject() const {
5263   KJ_IREQUIRE((which() == Declaration::BUILTIN_OBJECT),
5264               "Must check which() before get()ing a union member.");
5265   return _reader.getDataField< ::capnp::Void>(
5266       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5267 }
5268 
getBuiltinObject()5269 inline  ::capnp::Void Declaration::Builder::getBuiltinObject() {
5270   KJ_IREQUIRE((which() == Declaration::BUILTIN_OBJECT),
5271               "Must check which() before get()ing a union member.");
5272   return _builder.getDataField< ::capnp::Void>(
5273       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5274 }
setBuiltinObject(::capnp::Void value)5275 inline void Declaration::Builder::setBuiltinObject( ::capnp::Void value) {
5276   _builder.setDataField<Declaration::Which>(
5277       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_OBJECT);
5278   _builder.setDataField< ::capnp::Void>(
5279       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5280 }
5281 
isBuiltinAnyPointer()5282 inline bool Declaration::Reader::isBuiltinAnyPointer() const {
5283   return which() == Declaration::BUILTIN_ANY_POINTER;
5284 }
isBuiltinAnyPointer()5285 inline bool Declaration::Builder::isBuiltinAnyPointer() {
5286   return which() == Declaration::BUILTIN_ANY_POINTER;
5287 }
getBuiltinAnyPointer()5288 inline  ::capnp::Void Declaration::Reader::getBuiltinAnyPointer() const {
5289   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_POINTER),
5290               "Must check which() before get()ing a union member.");
5291   return _reader.getDataField< ::capnp::Void>(
5292       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5293 }
5294 
getBuiltinAnyPointer()5295 inline  ::capnp::Void Declaration::Builder::getBuiltinAnyPointer() {
5296   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_POINTER),
5297               "Must check which() before get()ing a union member.");
5298   return _builder.getDataField< ::capnp::Void>(
5299       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5300 }
setBuiltinAnyPointer(::capnp::Void value)5301 inline void Declaration::Builder::setBuiltinAnyPointer( ::capnp::Void value) {
5302   _builder.setDataField<Declaration::Which>(
5303       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_ANY_POINTER);
5304   _builder.setDataField< ::capnp::Void>(
5305       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5306 }
5307 
hasParameters()5308 inline bool Declaration::Reader::hasParameters() const {
5309   return !_reader.getPointerField(
5310       ::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
5311 }
hasParameters()5312 inline bool Declaration::Builder::hasParameters() {
5313   return !_builder.getPointerField(
5314       ::capnp::bounded<7>() * ::capnp::POINTERS).isNull();
5315 }
getParameters()5316 inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Reader Declaration::Reader::getParameters() const {
5317   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5318       ::capnp::bounded<7>() * ::capnp::POINTERS));
5319 }
getParameters()5320 inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::getParameters() {
5321   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5322       ::capnp::bounded<7>() * ::capnp::POINTERS));
5323 }
setParameters(::capnp::List<::capnp::compiler::Declaration::BrandParameter,::capnp::Kind::STRUCT>::Reader value)5324 inline void Declaration::Builder::setParameters( ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Reader value) {
5325   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5326       ::capnp::bounded<7>() * ::capnp::POINTERS), value);
5327 }
initParameters(unsigned int size)5328 inline  ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>::Builder Declaration::Builder::initParameters(unsigned int size) {
5329   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5330       ::capnp::bounded<7>() * ::capnp::POINTERS), size);
5331 }
adoptParameters(::capnp::Orphan<::capnp::List<::capnp::compiler::Declaration::BrandParameter,::capnp::Kind::STRUCT>> && value)5332 inline void Declaration::Builder::adoptParameters(
5333     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>&& value) {
5334   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5335       ::capnp::bounded<7>() * ::capnp::POINTERS), kj::mv(value));
5336 }
disownParameters()5337 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>> Declaration::Builder::disownParameters() {
5338   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::BrandParameter,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5339       ::capnp::bounded<7>() * ::capnp::POINTERS));
5340 }
5341 
isBuiltinAnyStruct()5342 inline bool Declaration::Reader::isBuiltinAnyStruct() const {
5343   return which() == Declaration::BUILTIN_ANY_STRUCT;
5344 }
isBuiltinAnyStruct()5345 inline bool Declaration::Builder::isBuiltinAnyStruct() {
5346   return which() == Declaration::BUILTIN_ANY_STRUCT;
5347 }
getBuiltinAnyStruct()5348 inline  ::capnp::Void Declaration::Reader::getBuiltinAnyStruct() const {
5349   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_STRUCT),
5350               "Must check which() before get()ing a union member.");
5351   return _reader.getDataField< ::capnp::Void>(
5352       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5353 }
5354 
getBuiltinAnyStruct()5355 inline  ::capnp::Void Declaration::Builder::getBuiltinAnyStruct() {
5356   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_STRUCT),
5357               "Must check which() before get()ing a union member.");
5358   return _builder.getDataField< ::capnp::Void>(
5359       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5360 }
setBuiltinAnyStruct(::capnp::Void value)5361 inline void Declaration::Builder::setBuiltinAnyStruct( ::capnp::Void value) {
5362   _builder.setDataField<Declaration::Which>(
5363       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_ANY_STRUCT);
5364   _builder.setDataField< ::capnp::Void>(
5365       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5366 }
5367 
isBuiltinAnyList()5368 inline bool Declaration::Reader::isBuiltinAnyList() const {
5369   return which() == Declaration::BUILTIN_ANY_LIST;
5370 }
isBuiltinAnyList()5371 inline bool Declaration::Builder::isBuiltinAnyList() {
5372   return which() == Declaration::BUILTIN_ANY_LIST;
5373 }
getBuiltinAnyList()5374 inline  ::capnp::Void Declaration::Reader::getBuiltinAnyList() const {
5375   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_LIST),
5376               "Must check which() before get()ing a union member.");
5377   return _reader.getDataField< ::capnp::Void>(
5378       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5379 }
5380 
getBuiltinAnyList()5381 inline  ::capnp::Void Declaration::Builder::getBuiltinAnyList() {
5382   KJ_IREQUIRE((which() == Declaration::BUILTIN_ANY_LIST),
5383               "Must check which() before get()ing a union member.");
5384   return _builder.getDataField< ::capnp::Void>(
5385       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5386 }
setBuiltinAnyList(::capnp::Void value)5387 inline void Declaration::Builder::setBuiltinAnyList( ::capnp::Void value) {
5388   _builder.setDataField<Declaration::Which>(
5389       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_ANY_LIST);
5390   _builder.setDataField< ::capnp::Void>(
5391       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5392 }
5393 
isBuiltinCapability()5394 inline bool Declaration::Reader::isBuiltinCapability() const {
5395   return which() == Declaration::BUILTIN_CAPABILITY;
5396 }
isBuiltinCapability()5397 inline bool Declaration::Builder::isBuiltinCapability() {
5398   return which() == Declaration::BUILTIN_CAPABILITY;
5399 }
getBuiltinCapability()5400 inline  ::capnp::Void Declaration::Reader::getBuiltinCapability() const {
5401   KJ_IREQUIRE((which() == Declaration::BUILTIN_CAPABILITY),
5402               "Must check which() before get()ing a union member.");
5403   return _reader.getDataField< ::capnp::Void>(
5404       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5405 }
5406 
getBuiltinCapability()5407 inline  ::capnp::Void Declaration::Builder::getBuiltinCapability() {
5408   KJ_IREQUIRE((which() == Declaration::BUILTIN_CAPABILITY),
5409               "Must check which() before get()ing a union member.");
5410   return _builder.getDataField< ::capnp::Void>(
5411       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5412 }
setBuiltinCapability(::capnp::Void value)5413 inline void Declaration::Builder::setBuiltinCapability( ::capnp::Void value) {
5414   _builder.setDataField<Declaration::Which>(
5415       ::capnp::bounded<1>() * ::capnp::ELEMENTS, Declaration::BUILTIN_CAPABILITY);
5416   _builder.setDataField< ::capnp::Void>(
5417       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5418 }
5419 
hasName()5420 inline bool Declaration::BrandParameter::Reader::hasName() const {
5421   return !_reader.getPointerField(
5422       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5423 }
hasName()5424 inline bool Declaration::BrandParameter::Builder::hasName() {
5425   return !_builder.getPointerField(
5426       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5427 }
getName()5428 inline  ::capnp::Text::Reader Declaration::BrandParameter::Reader::getName() const {
5429   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
5430       ::capnp::bounded<0>() * ::capnp::POINTERS));
5431 }
getName()5432 inline  ::capnp::Text::Builder Declaration::BrandParameter::Builder::getName() {
5433   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
5434       ::capnp::bounded<0>() * ::capnp::POINTERS));
5435 }
setName(::capnp::Text::Reader value)5436 inline void Declaration::BrandParameter::Builder::setName( ::capnp::Text::Reader value) {
5437   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
5438       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5439 }
initName(unsigned int size)5440 inline  ::capnp::Text::Builder Declaration::BrandParameter::Builder::initName(unsigned int size) {
5441   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
5442       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5443 }
adoptName(::capnp::Orphan<::capnp::Text> && value)5444 inline void Declaration::BrandParameter::Builder::adoptName(
5445     ::capnp::Orphan< ::capnp::Text>&& value) {
5446   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
5447       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5448 }
disownName()5449 inline ::capnp::Orphan< ::capnp::Text> Declaration::BrandParameter::Builder::disownName() {
5450   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
5451       ::capnp::bounded<0>() * ::capnp::POINTERS));
5452 }
5453 
getStartByte()5454 inline  ::uint32_t Declaration::BrandParameter::Reader::getStartByte() const {
5455   return _reader.getDataField< ::uint32_t>(
5456       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5457 }
5458 
getStartByte()5459 inline  ::uint32_t Declaration::BrandParameter::Builder::getStartByte() {
5460   return _builder.getDataField< ::uint32_t>(
5461       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5462 }
setStartByte(::uint32_t value)5463 inline void Declaration::BrandParameter::Builder::setStartByte( ::uint32_t value) {
5464   _builder.setDataField< ::uint32_t>(
5465       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5466 }
5467 
getEndByte()5468 inline  ::uint32_t Declaration::BrandParameter::Reader::getEndByte() const {
5469   return _reader.getDataField< ::uint32_t>(
5470       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5471 }
5472 
getEndByte()5473 inline  ::uint32_t Declaration::BrandParameter::Builder::getEndByte() {
5474   return _builder.getDataField< ::uint32_t>(
5475       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5476 }
setEndByte(::uint32_t value)5477 inline void Declaration::BrandParameter::Builder::setEndByte( ::uint32_t value) {
5478   _builder.setDataField< ::uint32_t>(
5479       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5480 }
5481 
hasName()5482 inline bool Declaration::AnnotationApplication::Reader::hasName() const {
5483   return !_reader.getPointerField(
5484       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5485 }
hasName()5486 inline bool Declaration::AnnotationApplication::Builder::hasName() {
5487   return !_builder.getPointerField(
5488       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5489 }
getName()5490 inline  ::capnp::compiler::Expression::Reader Declaration::AnnotationApplication::Reader::getName() const {
5491   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
5492       ::capnp::bounded<0>() * ::capnp::POINTERS));
5493 }
getName()5494 inline  ::capnp::compiler::Expression::Builder Declaration::AnnotationApplication::Builder::getName() {
5495   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
5496       ::capnp::bounded<0>() * ::capnp::POINTERS));
5497 }
5498 #if !CAPNP_LITE
getName()5499 inline  ::capnp::compiler::Expression::Pipeline Declaration::AnnotationApplication::Pipeline::getName() {
5500   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(0));
5501 }
5502 #endif  // !CAPNP_LITE
setName(::capnp::compiler::Expression::Reader value)5503 inline void Declaration::AnnotationApplication::Builder::setName( ::capnp::compiler::Expression::Reader value) {
5504   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
5505       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5506 }
initName()5507 inline  ::capnp::compiler::Expression::Builder Declaration::AnnotationApplication::Builder::initName() {
5508   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
5509       ::capnp::bounded<0>() * ::capnp::POINTERS));
5510 }
adoptName(::capnp::Orphan<::capnp::compiler::Expression> && value)5511 inline void Declaration::AnnotationApplication::Builder::adoptName(
5512     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
5513   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
5514       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5515 }
disownName()5516 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::AnnotationApplication::Builder::disownName() {
5517   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
5518       ::capnp::bounded<0>() * ::capnp::POINTERS));
5519 }
5520 
getValue()5521 inline typename Declaration::AnnotationApplication::Value::Reader Declaration::AnnotationApplication::Reader::getValue() const {
5522   return typename Declaration::AnnotationApplication::Value::Reader(_reader);
5523 }
getValue()5524 inline typename Declaration::AnnotationApplication::Value::Builder Declaration::AnnotationApplication::Builder::getValue() {
5525   return typename Declaration::AnnotationApplication::Value::Builder(_builder);
5526 }
5527 #if !CAPNP_LITE
getValue()5528 inline typename Declaration::AnnotationApplication::Value::Pipeline Declaration::AnnotationApplication::Pipeline::getValue() {
5529   return typename Declaration::AnnotationApplication::Value::Pipeline(_typeless.noop());
5530 }
5531 #endif  // !CAPNP_LITE
initValue()5532 inline typename Declaration::AnnotationApplication::Value::Builder Declaration::AnnotationApplication::Builder::initValue() {
5533   _builder.setDataField< ::uint16_t>(::capnp::bounded<0>() * ::capnp::ELEMENTS, 0);
5534   _builder.getPointerField(::capnp::bounded<1>() * ::capnp::POINTERS).clear();
5535   return typename Declaration::AnnotationApplication::Value::Builder(_builder);
5536 }
which()5537 inline  ::capnp::compiler::Declaration::AnnotationApplication::Value::Which Declaration::AnnotationApplication::Value::Reader::which() const {
5538   return _reader.getDataField<Which>(
5539       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5540 }
which()5541 inline  ::capnp::compiler::Declaration::AnnotationApplication::Value::Which Declaration::AnnotationApplication::Value::Builder::which() {
5542   return _builder.getDataField<Which>(
5543       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5544 }
5545 
isNone()5546 inline bool Declaration::AnnotationApplication::Value::Reader::isNone() const {
5547   return which() == Declaration::AnnotationApplication::Value::NONE;
5548 }
isNone()5549 inline bool Declaration::AnnotationApplication::Value::Builder::isNone() {
5550   return which() == Declaration::AnnotationApplication::Value::NONE;
5551 }
getNone()5552 inline  ::capnp::Void Declaration::AnnotationApplication::Value::Reader::getNone() const {
5553   KJ_IREQUIRE((which() == Declaration::AnnotationApplication::Value::NONE),
5554               "Must check which() before get()ing a union member.");
5555   return _reader.getDataField< ::capnp::Void>(
5556       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5557 }
5558 
getNone()5559 inline  ::capnp::Void Declaration::AnnotationApplication::Value::Builder::getNone() {
5560   KJ_IREQUIRE((which() == Declaration::AnnotationApplication::Value::NONE),
5561               "Must check which() before get()ing a union member.");
5562   return _builder.getDataField< ::capnp::Void>(
5563       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5564 }
setNone(::capnp::Void value)5565 inline void Declaration::AnnotationApplication::Value::Builder::setNone( ::capnp::Void value) {
5566   _builder.setDataField<Declaration::AnnotationApplication::Value::Which>(
5567       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::AnnotationApplication::Value::NONE);
5568   _builder.setDataField< ::capnp::Void>(
5569       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5570 }
5571 
isExpression()5572 inline bool Declaration::AnnotationApplication::Value::Reader::isExpression() const {
5573   return which() == Declaration::AnnotationApplication::Value::EXPRESSION;
5574 }
isExpression()5575 inline bool Declaration::AnnotationApplication::Value::Builder::isExpression() {
5576   return which() == Declaration::AnnotationApplication::Value::EXPRESSION;
5577 }
hasExpression()5578 inline bool Declaration::AnnotationApplication::Value::Reader::hasExpression() const {
5579   if (which() != Declaration::AnnotationApplication::Value::EXPRESSION) return false;
5580   return !_reader.getPointerField(
5581       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5582 }
hasExpression()5583 inline bool Declaration::AnnotationApplication::Value::Builder::hasExpression() {
5584   if (which() != Declaration::AnnotationApplication::Value::EXPRESSION) return false;
5585   return !_builder.getPointerField(
5586       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5587 }
getExpression()5588 inline  ::capnp::compiler::Expression::Reader Declaration::AnnotationApplication::Value::Reader::getExpression() const {
5589   KJ_IREQUIRE((which() == Declaration::AnnotationApplication::Value::EXPRESSION),
5590               "Must check which() before get()ing a union member.");
5591   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
5592       ::capnp::bounded<1>() * ::capnp::POINTERS));
5593 }
getExpression()5594 inline  ::capnp::compiler::Expression::Builder Declaration::AnnotationApplication::Value::Builder::getExpression() {
5595   KJ_IREQUIRE((which() == Declaration::AnnotationApplication::Value::EXPRESSION),
5596               "Must check which() before get()ing a union member.");
5597   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
5598       ::capnp::bounded<1>() * ::capnp::POINTERS));
5599 }
setExpression(::capnp::compiler::Expression::Reader value)5600 inline void Declaration::AnnotationApplication::Value::Builder::setExpression( ::capnp::compiler::Expression::Reader value) {
5601   _builder.setDataField<Declaration::AnnotationApplication::Value::Which>(
5602       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::AnnotationApplication::Value::EXPRESSION);
5603   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
5604       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5605 }
initExpression()5606 inline  ::capnp::compiler::Expression::Builder Declaration::AnnotationApplication::Value::Builder::initExpression() {
5607   _builder.setDataField<Declaration::AnnotationApplication::Value::Which>(
5608       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::AnnotationApplication::Value::EXPRESSION);
5609   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
5610       ::capnp::bounded<1>() * ::capnp::POINTERS));
5611 }
adoptExpression(::capnp::Orphan<::capnp::compiler::Expression> && value)5612 inline void Declaration::AnnotationApplication::Value::Builder::adoptExpression(
5613     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
5614   _builder.setDataField<Declaration::AnnotationApplication::Value::Which>(
5615       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::AnnotationApplication::Value::EXPRESSION);
5616   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
5617       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5618 }
disownExpression()5619 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::AnnotationApplication::Value::Builder::disownExpression() {
5620   KJ_IREQUIRE((which() == Declaration::AnnotationApplication::Value::EXPRESSION),
5621               "Must check which() before get()ing a union member.");
5622   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
5623       ::capnp::bounded<1>() * ::capnp::POINTERS));
5624 }
5625 
which()5626 inline  ::capnp::compiler::Declaration::ParamList::Which Declaration::ParamList::Reader::which() const {
5627   return _reader.getDataField<Which>(
5628       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5629 }
which()5630 inline  ::capnp::compiler::Declaration::ParamList::Which Declaration::ParamList::Builder::which() {
5631   return _builder.getDataField<Which>(
5632       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5633 }
5634 
isNamedList()5635 inline bool Declaration::ParamList::Reader::isNamedList() const {
5636   return which() == Declaration::ParamList::NAMED_LIST;
5637 }
isNamedList()5638 inline bool Declaration::ParamList::Builder::isNamedList() {
5639   return which() == Declaration::ParamList::NAMED_LIST;
5640 }
hasNamedList()5641 inline bool Declaration::ParamList::Reader::hasNamedList() const {
5642   if (which() != Declaration::ParamList::NAMED_LIST) return false;
5643   return !_reader.getPointerField(
5644       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5645 }
hasNamedList()5646 inline bool Declaration::ParamList::Builder::hasNamedList() {
5647   if (which() != Declaration::ParamList::NAMED_LIST) return false;
5648   return !_builder.getPointerField(
5649       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5650 }
getNamedList()5651 inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Reader Declaration::ParamList::Reader::getNamedList() const {
5652   KJ_IREQUIRE((which() == Declaration::ParamList::NAMED_LIST),
5653               "Must check which() before get()ing a union member.");
5654   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5655       ::capnp::bounded<0>() * ::capnp::POINTERS));
5656 }
getNamedList()5657 inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Builder Declaration::ParamList::Builder::getNamedList() {
5658   KJ_IREQUIRE((which() == Declaration::ParamList::NAMED_LIST),
5659               "Must check which() before get()ing a union member.");
5660   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5661       ::capnp::bounded<0>() * ::capnp::POINTERS));
5662 }
setNamedList(::capnp::List<::capnp::compiler::Declaration::Param,::capnp::Kind::STRUCT>::Reader value)5663 inline void Declaration::ParamList::Builder::setNamedList( ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Reader value) {
5664   _builder.setDataField<Declaration::ParamList::Which>(
5665       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::NAMED_LIST);
5666   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5667       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5668 }
initNamedList(unsigned int size)5669 inline  ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>::Builder Declaration::ParamList::Builder::initNamedList(unsigned int size) {
5670   _builder.setDataField<Declaration::ParamList::Which>(
5671       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::NAMED_LIST);
5672   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5673       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5674 }
adoptNamedList(::capnp::Orphan<::capnp::List<::capnp::compiler::Declaration::Param,::capnp::Kind::STRUCT>> && value)5675 inline void Declaration::ParamList::Builder::adoptNamedList(
5676     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>&& value) {
5677   _builder.setDataField<Declaration::ParamList::Which>(
5678       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::NAMED_LIST);
5679   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5680       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5681 }
disownNamedList()5682 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>> Declaration::ParamList::Builder::disownNamedList() {
5683   KJ_IREQUIRE((which() == Declaration::ParamList::NAMED_LIST),
5684               "Must check which() before get()ing a union member.");
5685   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::Param,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5686       ::capnp::bounded<0>() * ::capnp::POINTERS));
5687 }
5688 
isType()5689 inline bool Declaration::ParamList::Reader::isType() const {
5690   return which() == Declaration::ParamList::TYPE;
5691 }
isType()5692 inline bool Declaration::ParamList::Builder::isType() {
5693   return which() == Declaration::ParamList::TYPE;
5694 }
hasType()5695 inline bool Declaration::ParamList::Reader::hasType() const {
5696   if (which() != Declaration::ParamList::TYPE) return false;
5697   return !_reader.getPointerField(
5698       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5699 }
hasType()5700 inline bool Declaration::ParamList::Builder::hasType() {
5701   if (which() != Declaration::ParamList::TYPE) return false;
5702   return !_builder.getPointerField(
5703       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5704 }
getType()5705 inline  ::capnp::compiler::Expression::Reader Declaration::ParamList::Reader::getType() const {
5706   KJ_IREQUIRE((which() == Declaration::ParamList::TYPE),
5707               "Must check which() before get()ing a union member.");
5708   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
5709       ::capnp::bounded<0>() * ::capnp::POINTERS));
5710 }
getType()5711 inline  ::capnp::compiler::Expression::Builder Declaration::ParamList::Builder::getType() {
5712   KJ_IREQUIRE((which() == Declaration::ParamList::TYPE),
5713               "Must check which() before get()ing a union member.");
5714   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
5715       ::capnp::bounded<0>() * ::capnp::POINTERS));
5716 }
setType(::capnp::compiler::Expression::Reader value)5717 inline void Declaration::ParamList::Builder::setType( ::capnp::compiler::Expression::Reader value) {
5718   _builder.setDataField<Declaration::ParamList::Which>(
5719       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::TYPE);
5720   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
5721       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5722 }
initType()5723 inline  ::capnp::compiler::Expression::Builder Declaration::ParamList::Builder::initType() {
5724   _builder.setDataField<Declaration::ParamList::Which>(
5725       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::TYPE);
5726   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
5727       ::capnp::bounded<0>() * ::capnp::POINTERS));
5728 }
adoptType(::capnp::Orphan<::capnp::compiler::Expression> && value)5729 inline void Declaration::ParamList::Builder::adoptType(
5730     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
5731   _builder.setDataField<Declaration::ParamList::Which>(
5732       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::TYPE);
5733   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
5734       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5735 }
disownType()5736 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::ParamList::Builder::disownType() {
5737   KJ_IREQUIRE((which() == Declaration::ParamList::TYPE),
5738               "Must check which() before get()ing a union member.");
5739   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
5740       ::capnp::bounded<0>() * ::capnp::POINTERS));
5741 }
5742 
getStartByte()5743 inline  ::uint32_t Declaration::ParamList::Reader::getStartByte() const {
5744   return _reader.getDataField< ::uint32_t>(
5745       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5746 }
5747 
getStartByte()5748 inline  ::uint32_t Declaration::ParamList::Builder::getStartByte() {
5749   return _builder.getDataField< ::uint32_t>(
5750       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5751 }
setStartByte(::uint32_t value)5752 inline void Declaration::ParamList::Builder::setStartByte( ::uint32_t value) {
5753   _builder.setDataField< ::uint32_t>(
5754       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5755 }
5756 
getEndByte()5757 inline  ::uint32_t Declaration::ParamList::Reader::getEndByte() const {
5758   return _reader.getDataField< ::uint32_t>(
5759       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5760 }
5761 
getEndByte()5762 inline  ::uint32_t Declaration::ParamList::Builder::getEndByte() {
5763   return _builder.getDataField< ::uint32_t>(
5764       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5765 }
setEndByte(::uint32_t value)5766 inline void Declaration::ParamList::Builder::setEndByte( ::uint32_t value) {
5767   _builder.setDataField< ::uint32_t>(
5768       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5769 }
5770 
isStream()5771 inline bool Declaration::ParamList::Reader::isStream() const {
5772   return which() == Declaration::ParamList::STREAM;
5773 }
isStream()5774 inline bool Declaration::ParamList::Builder::isStream() {
5775   return which() == Declaration::ParamList::STREAM;
5776 }
getStream()5777 inline  ::capnp::Void Declaration::ParamList::Reader::getStream() const {
5778   KJ_IREQUIRE((which() == Declaration::ParamList::STREAM),
5779               "Must check which() before get()ing a union member.");
5780   return _reader.getDataField< ::capnp::Void>(
5781       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5782 }
5783 
getStream()5784 inline  ::capnp::Void Declaration::ParamList::Builder::getStream() {
5785   KJ_IREQUIRE((which() == Declaration::ParamList::STREAM),
5786               "Must check which() before get()ing a union member.");
5787   return _builder.getDataField< ::capnp::Void>(
5788       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5789 }
setStream(::capnp::Void value)5790 inline void Declaration::ParamList::Builder::setStream( ::capnp::Void value) {
5791   _builder.setDataField<Declaration::ParamList::Which>(
5792       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::ParamList::STREAM);
5793   _builder.setDataField< ::capnp::Void>(
5794       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5795 }
5796 
hasName()5797 inline bool Declaration::Param::Reader::hasName() const {
5798   return !_reader.getPointerField(
5799       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5800 }
hasName()5801 inline bool Declaration::Param::Builder::hasName() {
5802   return !_builder.getPointerField(
5803       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5804 }
getName()5805 inline  ::capnp::compiler::LocatedText::Reader Declaration::Param::Reader::getName() const {
5806   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_reader.getPointerField(
5807       ::capnp::bounded<0>() * ::capnp::POINTERS));
5808 }
getName()5809 inline  ::capnp::compiler::LocatedText::Builder Declaration::Param::Builder::getName() {
5810   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::get(_builder.getPointerField(
5811       ::capnp::bounded<0>() * ::capnp::POINTERS));
5812 }
5813 #if !CAPNP_LITE
getName()5814 inline  ::capnp::compiler::LocatedText::Pipeline Declaration::Param::Pipeline::getName() {
5815   return  ::capnp::compiler::LocatedText::Pipeline(_typeless.getPointerField(0));
5816 }
5817 #endif  // !CAPNP_LITE
setName(::capnp::compiler::LocatedText::Reader value)5818 inline void Declaration::Param::Builder::setName( ::capnp::compiler::LocatedText::Reader value) {
5819   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::set(_builder.getPointerField(
5820       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5821 }
initName()5822 inline  ::capnp::compiler::LocatedText::Builder Declaration::Param::Builder::initName() {
5823   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::init(_builder.getPointerField(
5824       ::capnp::bounded<0>() * ::capnp::POINTERS));
5825 }
adoptName(::capnp::Orphan<::capnp::compiler::LocatedText> && value)5826 inline void Declaration::Param::Builder::adoptName(
5827     ::capnp::Orphan< ::capnp::compiler::LocatedText>&& value) {
5828   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::adopt(_builder.getPointerField(
5829       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5830 }
disownName()5831 inline ::capnp::Orphan< ::capnp::compiler::LocatedText> Declaration::Param::Builder::disownName() {
5832   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedText>::disown(_builder.getPointerField(
5833       ::capnp::bounded<0>() * ::capnp::POINTERS));
5834 }
5835 
hasType()5836 inline bool Declaration::Param::Reader::hasType() const {
5837   return !_reader.getPointerField(
5838       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5839 }
hasType()5840 inline bool Declaration::Param::Builder::hasType() {
5841   return !_builder.getPointerField(
5842       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5843 }
getType()5844 inline  ::capnp::compiler::Expression::Reader Declaration::Param::Reader::getType() const {
5845   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
5846       ::capnp::bounded<1>() * ::capnp::POINTERS));
5847 }
getType()5848 inline  ::capnp::compiler::Expression::Builder Declaration::Param::Builder::getType() {
5849   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
5850       ::capnp::bounded<1>() * ::capnp::POINTERS));
5851 }
5852 #if !CAPNP_LITE
getType()5853 inline  ::capnp::compiler::Expression::Pipeline Declaration::Param::Pipeline::getType() {
5854   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(1));
5855 }
5856 #endif  // !CAPNP_LITE
setType(::capnp::compiler::Expression::Reader value)5857 inline void Declaration::Param::Builder::setType( ::capnp::compiler::Expression::Reader value) {
5858   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
5859       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5860 }
initType()5861 inline  ::capnp::compiler::Expression::Builder Declaration::Param::Builder::initType() {
5862   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
5863       ::capnp::bounded<1>() * ::capnp::POINTERS));
5864 }
adoptType(::capnp::Orphan<::capnp::compiler::Expression> && value)5865 inline void Declaration::Param::Builder::adoptType(
5866     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
5867   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
5868       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5869 }
disownType()5870 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Param::Builder::disownType() {
5871   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
5872       ::capnp::bounded<1>() * ::capnp::POINTERS));
5873 }
5874 
hasAnnotations()5875 inline bool Declaration::Param::Reader::hasAnnotations() const {
5876   return !_reader.getPointerField(
5877       ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5878 }
hasAnnotations()5879 inline bool Declaration::Param::Builder::hasAnnotations() {
5880   return !_builder.getPointerField(
5881       ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5882 }
getAnnotations()5883 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader Declaration::Param::Reader::getAnnotations() const {
5884   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5885       ::capnp::bounded<2>() * ::capnp::POINTERS));
5886 }
getAnnotations()5887 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder Declaration::Param::Builder::getAnnotations() {
5888   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5889       ::capnp::bounded<2>() * ::capnp::POINTERS));
5890 }
setAnnotations(::capnp::List<::capnp::compiler::Declaration::AnnotationApplication,::capnp::Kind::STRUCT>::Reader value)5891 inline void Declaration::Param::Builder::setAnnotations( ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Reader value) {
5892   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5893       ::capnp::bounded<2>() * ::capnp::POINTERS), value);
5894 }
initAnnotations(unsigned int size)5895 inline  ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>::Builder Declaration::Param::Builder::initAnnotations(unsigned int size) {
5896   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5897       ::capnp::bounded<2>() * ::capnp::POINTERS), size);
5898 }
adoptAnnotations(::capnp::Orphan<::capnp::List<::capnp::compiler::Declaration::AnnotationApplication,::capnp::Kind::STRUCT>> && value)5899 inline void Declaration::Param::Builder::adoptAnnotations(
5900     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>&& value) {
5901   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5902       ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
5903 }
disownAnnotations()5904 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>> Declaration::Param::Builder::disownAnnotations() {
5905   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Declaration::AnnotationApplication,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5906       ::capnp::bounded<2>() * ::capnp::POINTERS));
5907 }
5908 
getDefaultValue()5909 inline typename Declaration::Param::DefaultValue::Reader Declaration::Param::Reader::getDefaultValue() const {
5910   return typename Declaration::Param::DefaultValue::Reader(_reader);
5911 }
getDefaultValue()5912 inline typename Declaration::Param::DefaultValue::Builder Declaration::Param::Builder::getDefaultValue() {
5913   return typename Declaration::Param::DefaultValue::Builder(_builder);
5914 }
5915 #if !CAPNP_LITE
getDefaultValue()5916 inline typename Declaration::Param::DefaultValue::Pipeline Declaration::Param::Pipeline::getDefaultValue() {
5917   return typename Declaration::Param::DefaultValue::Pipeline(_typeless.noop());
5918 }
5919 #endif  // !CAPNP_LITE
initDefaultValue()5920 inline typename Declaration::Param::DefaultValue::Builder Declaration::Param::Builder::initDefaultValue() {
5921   _builder.setDataField< ::uint16_t>(::capnp::bounded<0>() * ::capnp::ELEMENTS, 0);
5922   _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
5923   return typename Declaration::Param::DefaultValue::Builder(_builder);
5924 }
getStartByte()5925 inline  ::uint32_t Declaration::Param::Reader::getStartByte() const {
5926   return _reader.getDataField< ::uint32_t>(
5927       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5928 }
5929 
getStartByte()5930 inline  ::uint32_t Declaration::Param::Builder::getStartByte() {
5931   return _builder.getDataField< ::uint32_t>(
5932       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5933 }
setStartByte(::uint32_t value)5934 inline void Declaration::Param::Builder::setStartByte( ::uint32_t value) {
5935   _builder.setDataField< ::uint32_t>(
5936       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5937 }
5938 
getEndByte()5939 inline  ::uint32_t Declaration::Param::Reader::getEndByte() const {
5940   return _reader.getDataField< ::uint32_t>(
5941       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5942 }
5943 
getEndByte()5944 inline  ::uint32_t Declaration::Param::Builder::getEndByte() {
5945   return _builder.getDataField< ::uint32_t>(
5946       ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5947 }
setEndByte(::uint32_t value)5948 inline void Declaration::Param::Builder::setEndByte( ::uint32_t value) {
5949   _builder.setDataField< ::uint32_t>(
5950       ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5951 }
5952 
which()5953 inline  ::capnp::compiler::Declaration::Param::DefaultValue::Which Declaration::Param::DefaultValue::Reader::which() const {
5954   return _reader.getDataField<Which>(
5955       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5956 }
which()5957 inline  ::capnp::compiler::Declaration::Param::DefaultValue::Which Declaration::Param::DefaultValue::Builder::which() {
5958   return _builder.getDataField<Which>(
5959       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5960 }
5961 
isNone()5962 inline bool Declaration::Param::DefaultValue::Reader::isNone() const {
5963   return which() == Declaration::Param::DefaultValue::NONE;
5964 }
isNone()5965 inline bool Declaration::Param::DefaultValue::Builder::isNone() {
5966   return which() == Declaration::Param::DefaultValue::NONE;
5967 }
getNone()5968 inline  ::capnp::Void Declaration::Param::DefaultValue::Reader::getNone() const {
5969   KJ_IREQUIRE((which() == Declaration::Param::DefaultValue::NONE),
5970               "Must check which() before get()ing a union member.");
5971   return _reader.getDataField< ::capnp::Void>(
5972       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5973 }
5974 
getNone()5975 inline  ::capnp::Void Declaration::Param::DefaultValue::Builder::getNone() {
5976   KJ_IREQUIRE((which() == Declaration::Param::DefaultValue::NONE),
5977               "Must check which() before get()ing a union member.");
5978   return _builder.getDataField< ::capnp::Void>(
5979       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5980 }
setNone(::capnp::Void value)5981 inline void Declaration::Param::DefaultValue::Builder::setNone( ::capnp::Void value) {
5982   _builder.setDataField<Declaration::Param::DefaultValue::Which>(
5983       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Param::DefaultValue::NONE);
5984   _builder.setDataField< ::capnp::Void>(
5985       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5986 }
5987 
isValue()5988 inline bool Declaration::Param::DefaultValue::Reader::isValue() const {
5989   return which() == Declaration::Param::DefaultValue::VALUE;
5990 }
isValue()5991 inline bool Declaration::Param::DefaultValue::Builder::isValue() {
5992   return which() == Declaration::Param::DefaultValue::VALUE;
5993 }
hasValue()5994 inline bool Declaration::Param::DefaultValue::Reader::hasValue() const {
5995   if (which() != Declaration::Param::DefaultValue::VALUE) return false;
5996   return !_reader.getPointerField(
5997       ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5998 }
hasValue()5999 inline bool Declaration::Param::DefaultValue::Builder::hasValue() {
6000   if (which() != Declaration::Param::DefaultValue::VALUE) return false;
6001   return !_builder.getPointerField(
6002       ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
6003 }
getValue()6004 inline  ::capnp::compiler::Expression::Reader Declaration::Param::DefaultValue::Reader::getValue() const {
6005   KJ_IREQUIRE((which() == Declaration::Param::DefaultValue::VALUE),
6006               "Must check which() before get()ing a union member.");
6007   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6008       ::capnp::bounded<3>() * ::capnp::POINTERS));
6009 }
getValue()6010 inline  ::capnp::compiler::Expression::Builder Declaration::Param::DefaultValue::Builder::getValue() {
6011   KJ_IREQUIRE((which() == Declaration::Param::DefaultValue::VALUE),
6012               "Must check which() before get()ing a union member.");
6013   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6014       ::capnp::bounded<3>() * ::capnp::POINTERS));
6015 }
setValue(::capnp::compiler::Expression::Reader value)6016 inline void Declaration::Param::DefaultValue::Builder::setValue( ::capnp::compiler::Expression::Reader value) {
6017   _builder.setDataField<Declaration::Param::DefaultValue::Which>(
6018       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Param::DefaultValue::VALUE);
6019   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6020       ::capnp::bounded<3>() * ::capnp::POINTERS), value);
6021 }
initValue()6022 inline  ::capnp::compiler::Expression::Builder Declaration::Param::DefaultValue::Builder::initValue() {
6023   _builder.setDataField<Declaration::Param::DefaultValue::Which>(
6024       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Param::DefaultValue::VALUE);
6025   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6026       ::capnp::bounded<3>() * ::capnp::POINTERS));
6027 }
adoptValue(::capnp::Orphan<::capnp::compiler::Expression> && value)6028 inline void Declaration::Param::DefaultValue::Builder::adoptValue(
6029     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6030   _builder.setDataField<Declaration::Param::DefaultValue::Which>(
6031       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Param::DefaultValue::VALUE);
6032   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6033       ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
6034 }
disownValue()6035 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Param::DefaultValue::Builder::disownValue() {
6036   KJ_IREQUIRE((which() == Declaration::Param::DefaultValue::VALUE),
6037               "Must check which() before get()ing a union member.");
6038   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6039       ::capnp::bounded<3>() * ::capnp::POINTERS));
6040 }
6041 
which()6042 inline  ::capnp::compiler::Declaration::Id::Which Declaration::Id::Reader::which() const {
6043   return _reader.getDataField<Which>(
6044       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6045 }
which()6046 inline  ::capnp::compiler::Declaration::Id::Which Declaration::Id::Builder::which() {
6047   return _builder.getDataField<Which>(
6048       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6049 }
6050 
isUnspecified()6051 inline bool Declaration::Id::Reader::isUnspecified() const {
6052   return which() == Declaration::Id::UNSPECIFIED;
6053 }
isUnspecified()6054 inline bool Declaration::Id::Builder::isUnspecified() {
6055   return which() == Declaration::Id::UNSPECIFIED;
6056 }
getUnspecified()6057 inline  ::capnp::Void Declaration::Id::Reader::getUnspecified() const {
6058   KJ_IREQUIRE((which() == Declaration::Id::UNSPECIFIED),
6059               "Must check which() before get()ing a union member.");
6060   return _reader.getDataField< ::capnp::Void>(
6061       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6062 }
6063 
getUnspecified()6064 inline  ::capnp::Void Declaration::Id::Builder::getUnspecified() {
6065   KJ_IREQUIRE((which() == Declaration::Id::UNSPECIFIED),
6066               "Must check which() before get()ing a union member.");
6067   return _builder.getDataField< ::capnp::Void>(
6068       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6069 }
setUnspecified(::capnp::Void value)6070 inline void Declaration::Id::Builder::setUnspecified( ::capnp::Void value) {
6071   _builder.setDataField<Declaration::Id::Which>(
6072       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::UNSPECIFIED);
6073   _builder.setDataField< ::capnp::Void>(
6074       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6075 }
6076 
isUid()6077 inline bool Declaration::Id::Reader::isUid() const {
6078   return which() == Declaration::Id::UID;
6079 }
isUid()6080 inline bool Declaration::Id::Builder::isUid() {
6081   return which() == Declaration::Id::UID;
6082 }
hasUid()6083 inline bool Declaration::Id::Reader::hasUid() const {
6084   if (which() != Declaration::Id::UID) return false;
6085   return !_reader.getPointerField(
6086       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
6087 }
hasUid()6088 inline bool Declaration::Id::Builder::hasUid() {
6089   if (which() != Declaration::Id::UID) return false;
6090   return !_builder.getPointerField(
6091       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
6092 }
getUid()6093 inline  ::capnp::compiler::LocatedInteger::Reader Declaration::Id::Reader::getUid() const {
6094   KJ_IREQUIRE((which() == Declaration::Id::UID),
6095               "Must check which() before get()ing a union member.");
6096   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_reader.getPointerField(
6097       ::capnp::bounded<1>() * ::capnp::POINTERS));
6098 }
getUid()6099 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Id::Builder::getUid() {
6100   KJ_IREQUIRE((which() == Declaration::Id::UID),
6101               "Must check which() before get()ing a union member.");
6102   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_builder.getPointerField(
6103       ::capnp::bounded<1>() * ::capnp::POINTERS));
6104 }
setUid(::capnp::compiler::LocatedInteger::Reader value)6105 inline void Declaration::Id::Builder::setUid( ::capnp::compiler::LocatedInteger::Reader value) {
6106   _builder.setDataField<Declaration::Id::Which>(
6107       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::UID);
6108   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::set(_builder.getPointerField(
6109       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
6110 }
initUid()6111 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Id::Builder::initUid() {
6112   _builder.setDataField<Declaration::Id::Which>(
6113       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::UID);
6114   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::init(_builder.getPointerField(
6115       ::capnp::bounded<1>() * ::capnp::POINTERS));
6116 }
adoptUid(::capnp::Orphan<::capnp::compiler::LocatedInteger> && value)6117 inline void Declaration::Id::Builder::adoptUid(
6118     ::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value) {
6119   _builder.setDataField<Declaration::Id::Which>(
6120       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::UID);
6121   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::adopt(_builder.getPointerField(
6122       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
6123 }
disownUid()6124 inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> Declaration::Id::Builder::disownUid() {
6125   KJ_IREQUIRE((which() == Declaration::Id::UID),
6126               "Must check which() before get()ing a union member.");
6127   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::disown(_builder.getPointerField(
6128       ::capnp::bounded<1>() * ::capnp::POINTERS));
6129 }
6130 
isOrdinal()6131 inline bool Declaration::Id::Reader::isOrdinal() const {
6132   return which() == Declaration::Id::ORDINAL;
6133 }
isOrdinal()6134 inline bool Declaration::Id::Builder::isOrdinal() {
6135   return which() == Declaration::Id::ORDINAL;
6136 }
hasOrdinal()6137 inline bool Declaration::Id::Reader::hasOrdinal() const {
6138   if (which() != Declaration::Id::ORDINAL) return false;
6139   return !_reader.getPointerField(
6140       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
6141 }
hasOrdinal()6142 inline bool Declaration::Id::Builder::hasOrdinal() {
6143   if (which() != Declaration::Id::ORDINAL) return false;
6144   return !_builder.getPointerField(
6145       ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
6146 }
getOrdinal()6147 inline  ::capnp::compiler::LocatedInteger::Reader Declaration::Id::Reader::getOrdinal() const {
6148   KJ_IREQUIRE((which() == Declaration::Id::ORDINAL),
6149               "Must check which() before get()ing a union member.");
6150   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_reader.getPointerField(
6151       ::capnp::bounded<1>() * ::capnp::POINTERS));
6152 }
getOrdinal()6153 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Id::Builder::getOrdinal() {
6154   KJ_IREQUIRE((which() == Declaration::Id::ORDINAL),
6155               "Must check which() before get()ing a union member.");
6156   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::get(_builder.getPointerField(
6157       ::capnp::bounded<1>() * ::capnp::POINTERS));
6158 }
setOrdinal(::capnp::compiler::LocatedInteger::Reader value)6159 inline void Declaration::Id::Builder::setOrdinal( ::capnp::compiler::LocatedInteger::Reader value) {
6160   _builder.setDataField<Declaration::Id::Which>(
6161       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::ORDINAL);
6162   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::set(_builder.getPointerField(
6163       ::capnp::bounded<1>() * ::capnp::POINTERS), value);
6164 }
initOrdinal()6165 inline  ::capnp::compiler::LocatedInteger::Builder Declaration::Id::Builder::initOrdinal() {
6166   _builder.setDataField<Declaration::Id::Which>(
6167       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::ORDINAL);
6168   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::init(_builder.getPointerField(
6169       ::capnp::bounded<1>() * ::capnp::POINTERS));
6170 }
adoptOrdinal(::capnp::Orphan<::capnp::compiler::LocatedInteger> && value)6171 inline void Declaration::Id::Builder::adoptOrdinal(
6172     ::capnp::Orphan< ::capnp::compiler::LocatedInteger>&& value) {
6173   _builder.setDataField<Declaration::Id::Which>(
6174       ::capnp::bounded<0>() * ::capnp::ELEMENTS, Declaration::Id::ORDINAL);
6175   ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::adopt(_builder.getPointerField(
6176       ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
6177 }
disownOrdinal()6178 inline ::capnp::Orphan< ::capnp::compiler::LocatedInteger> Declaration::Id::Builder::disownOrdinal() {
6179   KJ_IREQUIRE((which() == Declaration::Id::ORDINAL),
6180               "Must check which() before get()ing a union member.");
6181   return ::capnp::_::PointerHelpers< ::capnp::compiler::LocatedInteger>::disown(_builder.getPointerField(
6182       ::capnp::bounded<1>() * ::capnp::POINTERS));
6183 }
6184 
hasTarget()6185 inline bool Declaration::Using::Reader::hasTarget() const {
6186   return !_reader.getPointerField(
6187       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6188 }
hasTarget()6189 inline bool Declaration::Using::Builder::hasTarget() {
6190   return !_builder.getPointerField(
6191       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6192 }
getTarget()6193 inline  ::capnp::compiler::Expression::Reader Declaration::Using::Reader::getTarget() const {
6194   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6195       ::capnp::bounded<5>() * ::capnp::POINTERS));
6196 }
getTarget()6197 inline  ::capnp::compiler::Expression::Builder Declaration::Using::Builder::getTarget() {
6198   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6199       ::capnp::bounded<5>() * ::capnp::POINTERS));
6200 }
6201 #if !CAPNP_LITE
getTarget()6202 inline  ::capnp::compiler::Expression::Pipeline Declaration::Using::Pipeline::getTarget() {
6203   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(5));
6204 }
6205 #endif  // !CAPNP_LITE
setTarget(::capnp::compiler::Expression::Reader value)6206 inline void Declaration::Using::Builder::setTarget( ::capnp::compiler::Expression::Reader value) {
6207   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6208       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6209 }
initTarget()6210 inline  ::capnp::compiler::Expression::Builder Declaration::Using::Builder::initTarget() {
6211   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6212       ::capnp::bounded<5>() * ::capnp::POINTERS));
6213 }
adoptTarget(::capnp::Orphan<::capnp::compiler::Expression> && value)6214 inline void Declaration::Using::Builder::adoptTarget(
6215     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6216   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6217       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6218 }
disownTarget()6219 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Using::Builder::disownTarget() {
6220   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6221       ::capnp::bounded<5>() * ::capnp::POINTERS));
6222 }
6223 
hasType()6224 inline bool Declaration::Const::Reader::hasType() const {
6225   return !_reader.getPointerField(
6226       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6227 }
hasType()6228 inline bool Declaration::Const::Builder::hasType() {
6229   return !_builder.getPointerField(
6230       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6231 }
getType()6232 inline  ::capnp::compiler::Expression::Reader Declaration::Const::Reader::getType() const {
6233   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6234       ::capnp::bounded<5>() * ::capnp::POINTERS));
6235 }
getType()6236 inline  ::capnp::compiler::Expression::Builder Declaration::Const::Builder::getType() {
6237   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6238       ::capnp::bounded<5>() * ::capnp::POINTERS));
6239 }
6240 #if !CAPNP_LITE
getType()6241 inline  ::capnp::compiler::Expression::Pipeline Declaration::Const::Pipeline::getType() {
6242   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(5));
6243 }
6244 #endif  // !CAPNP_LITE
setType(::capnp::compiler::Expression::Reader value)6245 inline void Declaration::Const::Builder::setType( ::capnp::compiler::Expression::Reader value) {
6246   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6247       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6248 }
initType()6249 inline  ::capnp::compiler::Expression::Builder Declaration::Const::Builder::initType() {
6250   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6251       ::capnp::bounded<5>() * ::capnp::POINTERS));
6252 }
adoptType(::capnp::Orphan<::capnp::compiler::Expression> && value)6253 inline void Declaration::Const::Builder::adoptType(
6254     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6255   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6256       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6257 }
disownType()6258 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Const::Builder::disownType() {
6259   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6260       ::capnp::bounded<5>() * ::capnp::POINTERS));
6261 }
6262 
hasValue()6263 inline bool Declaration::Const::Reader::hasValue() const {
6264   return !_reader.getPointerField(
6265       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6266 }
hasValue()6267 inline bool Declaration::Const::Builder::hasValue() {
6268   return !_builder.getPointerField(
6269       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6270 }
getValue()6271 inline  ::capnp::compiler::Expression::Reader Declaration::Const::Reader::getValue() const {
6272   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6273       ::capnp::bounded<6>() * ::capnp::POINTERS));
6274 }
getValue()6275 inline  ::capnp::compiler::Expression::Builder Declaration::Const::Builder::getValue() {
6276   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6277       ::capnp::bounded<6>() * ::capnp::POINTERS));
6278 }
6279 #if !CAPNP_LITE
getValue()6280 inline  ::capnp::compiler::Expression::Pipeline Declaration::Const::Pipeline::getValue() {
6281   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(6));
6282 }
6283 #endif  // !CAPNP_LITE
setValue(::capnp::compiler::Expression::Reader value)6284 inline void Declaration::Const::Builder::setValue( ::capnp::compiler::Expression::Reader value) {
6285   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6286       ::capnp::bounded<6>() * ::capnp::POINTERS), value);
6287 }
initValue()6288 inline  ::capnp::compiler::Expression::Builder Declaration::Const::Builder::initValue() {
6289   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6290       ::capnp::bounded<6>() * ::capnp::POINTERS));
6291 }
adoptValue(::capnp::Orphan<::capnp::compiler::Expression> && value)6292 inline void Declaration::Const::Builder::adoptValue(
6293     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6294   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6295       ::capnp::bounded<6>() * ::capnp::POINTERS), kj::mv(value));
6296 }
disownValue()6297 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Const::Builder::disownValue() {
6298   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6299       ::capnp::bounded<6>() * ::capnp::POINTERS));
6300 }
6301 
hasType()6302 inline bool Declaration::Field::Reader::hasType() const {
6303   return !_reader.getPointerField(
6304       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6305 }
hasType()6306 inline bool Declaration::Field::Builder::hasType() {
6307   return !_builder.getPointerField(
6308       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6309 }
getType()6310 inline  ::capnp::compiler::Expression::Reader Declaration::Field::Reader::getType() const {
6311   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6312       ::capnp::bounded<5>() * ::capnp::POINTERS));
6313 }
getType()6314 inline  ::capnp::compiler::Expression::Builder Declaration::Field::Builder::getType() {
6315   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6316       ::capnp::bounded<5>() * ::capnp::POINTERS));
6317 }
6318 #if !CAPNP_LITE
getType()6319 inline  ::capnp::compiler::Expression::Pipeline Declaration::Field::Pipeline::getType() {
6320   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(5));
6321 }
6322 #endif  // !CAPNP_LITE
setType(::capnp::compiler::Expression::Reader value)6323 inline void Declaration::Field::Builder::setType( ::capnp::compiler::Expression::Reader value) {
6324   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6325       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6326 }
initType()6327 inline  ::capnp::compiler::Expression::Builder Declaration::Field::Builder::initType() {
6328   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6329       ::capnp::bounded<5>() * ::capnp::POINTERS));
6330 }
adoptType(::capnp::Orphan<::capnp::compiler::Expression> && value)6331 inline void Declaration::Field::Builder::adoptType(
6332     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6333   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6334       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6335 }
disownType()6336 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Field::Builder::disownType() {
6337   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6338       ::capnp::bounded<5>() * ::capnp::POINTERS));
6339 }
6340 
getDefaultValue()6341 inline typename Declaration::Field::DefaultValue::Reader Declaration::Field::Reader::getDefaultValue() const {
6342   return typename Declaration::Field::DefaultValue::Reader(_reader);
6343 }
getDefaultValue()6344 inline typename Declaration::Field::DefaultValue::Builder Declaration::Field::Builder::getDefaultValue() {
6345   return typename Declaration::Field::DefaultValue::Builder(_builder);
6346 }
6347 #if !CAPNP_LITE
getDefaultValue()6348 inline typename Declaration::Field::DefaultValue::Pipeline Declaration::Field::Pipeline::getDefaultValue() {
6349   return typename Declaration::Field::DefaultValue::Pipeline(_typeless.noop());
6350 }
6351 #endif  // !CAPNP_LITE
initDefaultValue()6352 inline typename Declaration::Field::DefaultValue::Builder Declaration::Field::Builder::initDefaultValue() {
6353   _builder.setDataField< ::uint16_t>(::capnp::bounded<6>() * ::capnp::ELEMENTS, 0);
6354   _builder.getPointerField(::capnp::bounded<6>() * ::capnp::POINTERS).clear();
6355   return typename Declaration::Field::DefaultValue::Builder(_builder);
6356 }
which()6357 inline  ::capnp::compiler::Declaration::Field::DefaultValue::Which Declaration::Field::DefaultValue::Reader::which() const {
6358   return _reader.getDataField<Which>(
6359       ::capnp::bounded<6>() * ::capnp::ELEMENTS);
6360 }
which()6361 inline  ::capnp::compiler::Declaration::Field::DefaultValue::Which Declaration::Field::DefaultValue::Builder::which() {
6362   return _builder.getDataField<Which>(
6363       ::capnp::bounded<6>() * ::capnp::ELEMENTS);
6364 }
6365 
isNone()6366 inline bool Declaration::Field::DefaultValue::Reader::isNone() const {
6367   return which() == Declaration::Field::DefaultValue::NONE;
6368 }
isNone()6369 inline bool Declaration::Field::DefaultValue::Builder::isNone() {
6370   return which() == Declaration::Field::DefaultValue::NONE;
6371 }
getNone()6372 inline  ::capnp::Void Declaration::Field::DefaultValue::Reader::getNone() const {
6373   KJ_IREQUIRE((which() == Declaration::Field::DefaultValue::NONE),
6374               "Must check which() before get()ing a union member.");
6375   return _reader.getDataField< ::capnp::Void>(
6376       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6377 }
6378 
getNone()6379 inline  ::capnp::Void Declaration::Field::DefaultValue::Builder::getNone() {
6380   KJ_IREQUIRE((which() == Declaration::Field::DefaultValue::NONE),
6381               "Must check which() before get()ing a union member.");
6382   return _builder.getDataField< ::capnp::Void>(
6383       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6384 }
setNone(::capnp::Void value)6385 inline void Declaration::Field::DefaultValue::Builder::setNone( ::capnp::Void value) {
6386   _builder.setDataField<Declaration::Field::DefaultValue::Which>(
6387       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Field::DefaultValue::NONE);
6388   _builder.setDataField< ::capnp::Void>(
6389       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6390 }
6391 
isValue()6392 inline bool Declaration::Field::DefaultValue::Reader::isValue() const {
6393   return which() == Declaration::Field::DefaultValue::VALUE;
6394 }
isValue()6395 inline bool Declaration::Field::DefaultValue::Builder::isValue() {
6396   return which() == Declaration::Field::DefaultValue::VALUE;
6397 }
hasValue()6398 inline bool Declaration::Field::DefaultValue::Reader::hasValue() const {
6399   if (which() != Declaration::Field::DefaultValue::VALUE) return false;
6400   return !_reader.getPointerField(
6401       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6402 }
hasValue()6403 inline bool Declaration::Field::DefaultValue::Builder::hasValue() {
6404   if (which() != Declaration::Field::DefaultValue::VALUE) return false;
6405   return !_builder.getPointerField(
6406       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6407 }
getValue()6408 inline  ::capnp::compiler::Expression::Reader Declaration::Field::DefaultValue::Reader::getValue() const {
6409   KJ_IREQUIRE((which() == Declaration::Field::DefaultValue::VALUE),
6410               "Must check which() before get()ing a union member.");
6411   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6412       ::capnp::bounded<6>() * ::capnp::POINTERS));
6413 }
getValue()6414 inline  ::capnp::compiler::Expression::Builder Declaration::Field::DefaultValue::Builder::getValue() {
6415   KJ_IREQUIRE((which() == Declaration::Field::DefaultValue::VALUE),
6416               "Must check which() before get()ing a union member.");
6417   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6418       ::capnp::bounded<6>() * ::capnp::POINTERS));
6419 }
setValue(::capnp::compiler::Expression::Reader value)6420 inline void Declaration::Field::DefaultValue::Builder::setValue( ::capnp::compiler::Expression::Reader value) {
6421   _builder.setDataField<Declaration::Field::DefaultValue::Which>(
6422       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Field::DefaultValue::VALUE);
6423   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6424       ::capnp::bounded<6>() * ::capnp::POINTERS), value);
6425 }
initValue()6426 inline  ::capnp::compiler::Expression::Builder Declaration::Field::DefaultValue::Builder::initValue() {
6427   _builder.setDataField<Declaration::Field::DefaultValue::Which>(
6428       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Field::DefaultValue::VALUE);
6429   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6430       ::capnp::bounded<6>() * ::capnp::POINTERS));
6431 }
adoptValue(::capnp::Orphan<::capnp::compiler::Expression> && value)6432 inline void Declaration::Field::DefaultValue::Builder::adoptValue(
6433     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6434   _builder.setDataField<Declaration::Field::DefaultValue::Which>(
6435       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Field::DefaultValue::VALUE);
6436   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6437       ::capnp::bounded<6>() * ::capnp::POINTERS), kj::mv(value));
6438 }
disownValue()6439 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Field::DefaultValue::Builder::disownValue() {
6440   KJ_IREQUIRE((which() == Declaration::Field::DefaultValue::VALUE),
6441               "Must check which() before get()ing a union member.");
6442   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6443       ::capnp::bounded<6>() * ::capnp::POINTERS));
6444 }
6445 
hasSuperclasses()6446 inline bool Declaration::Interface::Reader::hasSuperclasses() const {
6447   return !_reader.getPointerField(
6448       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6449 }
hasSuperclasses()6450 inline bool Declaration::Interface::Builder::hasSuperclasses() {
6451   return !_builder.getPointerField(
6452       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6453 }
getSuperclasses()6454 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader Declaration::Interface::Reader::getSuperclasses() const {
6455   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
6456       ::capnp::bounded<5>() * ::capnp::POINTERS));
6457 }
getSuperclasses()6458 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder Declaration::Interface::Builder::getSuperclasses() {
6459   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
6460       ::capnp::bounded<5>() * ::capnp::POINTERS));
6461 }
setSuperclasses(::capnp::List<::capnp::compiler::Expression,::capnp::Kind::STRUCT>::Reader value)6462 inline void Declaration::Interface::Builder::setSuperclasses( ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Reader value) {
6463   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
6464       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6465 }
initSuperclasses(unsigned int size)6466 inline  ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>::Builder Declaration::Interface::Builder::initSuperclasses(unsigned int size) {
6467   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
6468       ::capnp::bounded<5>() * ::capnp::POINTERS), size);
6469 }
adoptSuperclasses(::capnp::Orphan<::capnp::List<::capnp::compiler::Expression,::capnp::Kind::STRUCT>> && value)6470 inline void Declaration::Interface::Builder::adoptSuperclasses(
6471     ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>&& value) {
6472   ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
6473       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6474 }
disownSuperclasses()6475 inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>> Declaration::Interface::Builder::disownSuperclasses() {
6476   return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Expression,  ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
6477       ::capnp::bounded<5>() * ::capnp::POINTERS));
6478 }
6479 
hasParams()6480 inline bool Declaration::Method::Reader::hasParams() const {
6481   return !_reader.getPointerField(
6482       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6483 }
hasParams()6484 inline bool Declaration::Method::Builder::hasParams() {
6485   return !_builder.getPointerField(
6486       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6487 }
getParams()6488 inline  ::capnp::compiler::Declaration::ParamList::Reader Declaration::Method::Reader::getParams() const {
6489   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::get(_reader.getPointerField(
6490       ::capnp::bounded<5>() * ::capnp::POINTERS));
6491 }
getParams()6492 inline  ::capnp::compiler::Declaration::ParamList::Builder Declaration::Method::Builder::getParams() {
6493   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::get(_builder.getPointerField(
6494       ::capnp::bounded<5>() * ::capnp::POINTERS));
6495 }
6496 #if !CAPNP_LITE
getParams()6497 inline  ::capnp::compiler::Declaration::ParamList::Pipeline Declaration::Method::Pipeline::getParams() {
6498   return  ::capnp::compiler::Declaration::ParamList::Pipeline(_typeless.getPointerField(5));
6499 }
6500 #endif  // !CAPNP_LITE
setParams(::capnp::compiler::Declaration::ParamList::Reader value)6501 inline void Declaration::Method::Builder::setParams( ::capnp::compiler::Declaration::ParamList::Reader value) {
6502   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::set(_builder.getPointerField(
6503       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6504 }
initParams()6505 inline  ::capnp::compiler::Declaration::ParamList::Builder Declaration::Method::Builder::initParams() {
6506   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::init(_builder.getPointerField(
6507       ::capnp::bounded<5>() * ::capnp::POINTERS));
6508 }
adoptParams(::capnp::Orphan<::capnp::compiler::Declaration::ParamList> && value)6509 inline void Declaration::Method::Builder::adoptParams(
6510     ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList>&& value) {
6511   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::adopt(_builder.getPointerField(
6512       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6513 }
disownParams()6514 inline ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList> Declaration::Method::Builder::disownParams() {
6515   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::disown(_builder.getPointerField(
6516       ::capnp::bounded<5>() * ::capnp::POINTERS));
6517 }
6518 
getResults()6519 inline typename Declaration::Method::Results::Reader Declaration::Method::Reader::getResults() const {
6520   return typename Declaration::Method::Results::Reader(_reader);
6521 }
getResults()6522 inline typename Declaration::Method::Results::Builder Declaration::Method::Builder::getResults() {
6523   return typename Declaration::Method::Results::Builder(_builder);
6524 }
6525 #if !CAPNP_LITE
getResults()6526 inline typename Declaration::Method::Results::Pipeline Declaration::Method::Pipeline::getResults() {
6527   return typename Declaration::Method::Results::Pipeline(_typeless.noop());
6528 }
6529 #endif  // !CAPNP_LITE
initResults()6530 inline typename Declaration::Method::Results::Builder Declaration::Method::Builder::initResults() {
6531   _builder.setDataField< ::uint16_t>(::capnp::bounded<6>() * ::capnp::ELEMENTS, 0);
6532   _builder.getPointerField(::capnp::bounded<6>() * ::capnp::POINTERS).clear();
6533   return typename Declaration::Method::Results::Builder(_builder);
6534 }
which()6535 inline  ::capnp::compiler::Declaration::Method::Results::Which Declaration::Method::Results::Reader::which() const {
6536   return _reader.getDataField<Which>(
6537       ::capnp::bounded<6>() * ::capnp::ELEMENTS);
6538 }
which()6539 inline  ::capnp::compiler::Declaration::Method::Results::Which Declaration::Method::Results::Builder::which() {
6540   return _builder.getDataField<Which>(
6541       ::capnp::bounded<6>() * ::capnp::ELEMENTS);
6542 }
6543 
isNone()6544 inline bool Declaration::Method::Results::Reader::isNone() const {
6545   return which() == Declaration::Method::Results::NONE;
6546 }
isNone()6547 inline bool Declaration::Method::Results::Builder::isNone() {
6548   return which() == Declaration::Method::Results::NONE;
6549 }
getNone()6550 inline  ::capnp::Void Declaration::Method::Results::Reader::getNone() const {
6551   KJ_IREQUIRE((which() == Declaration::Method::Results::NONE),
6552               "Must check which() before get()ing a union member.");
6553   return _reader.getDataField< ::capnp::Void>(
6554       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6555 }
6556 
getNone()6557 inline  ::capnp::Void Declaration::Method::Results::Builder::getNone() {
6558   KJ_IREQUIRE((which() == Declaration::Method::Results::NONE),
6559               "Must check which() before get()ing a union member.");
6560   return _builder.getDataField< ::capnp::Void>(
6561       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6562 }
setNone(::capnp::Void value)6563 inline void Declaration::Method::Results::Builder::setNone( ::capnp::Void value) {
6564   _builder.setDataField<Declaration::Method::Results::Which>(
6565       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Method::Results::NONE);
6566   _builder.setDataField< ::capnp::Void>(
6567       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6568 }
6569 
isExplicit()6570 inline bool Declaration::Method::Results::Reader::isExplicit() const {
6571   return which() == Declaration::Method::Results::EXPLICIT;
6572 }
isExplicit()6573 inline bool Declaration::Method::Results::Builder::isExplicit() {
6574   return which() == Declaration::Method::Results::EXPLICIT;
6575 }
hasExplicit()6576 inline bool Declaration::Method::Results::Reader::hasExplicit() const {
6577   if (which() != Declaration::Method::Results::EXPLICIT) return false;
6578   return !_reader.getPointerField(
6579       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6580 }
hasExplicit()6581 inline bool Declaration::Method::Results::Builder::hasExplicit() {
6582   if (which() != Declaration::Method::Results::EXPLICIT) return false;
6583   return !_builder.getPointerField(
6584       ::capnp::bounded<6>() * ::capnp::POINTERS).isNull();
6585 }
getExplicit()6586 inline  ::capnp::compiler::Declaration::ParamList::Reader Declaration::Method::Results::Reader::getExplicit() const {
6587   KJ_IREQUIRE((which() == Declaration::Method::Results::EXPLICIT),
6588               "Must check which() before get()ing a union member.");
6589   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::get(_reader.getPointerField(
6590       ::capnp::bounded<6>() * ::capnp::POINTERS));
6591 }
getExplicit()6592 inline  ::capnp::compiler::Declaration::ParamList::Builder Declaration::Method::Results::Builder::getExplicit() {
6593   KJ_IREQUIRE((which() == Declaration::Method::Results::EXPLICIT),
6594               "Must check which() before get()ing a union member.");
6595   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::get(_builder.getPointerField(
6596       ::capnp::bounded<6>() * ::capnp::POINTERS));
6597 }
setExplicit(::capnp::compiler::Declaration::ParamList::Reader value)6598 inline void Declaration::Method::Results::Builder::setExplicit( ::capnp::compiler::Declaration::ParamList::Reader value) {
6599   _builder.setDataField<Declaration::Method::Results::Which>(
6600       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Method::Results::EXPLICIT);
6601   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::set(_builder.getPointerField(
6602       ::capnp::bounded<6>() * ::capnp::POINTERS), value);
6603 }
initExplicit()6604 inline  ::capnp::compiler::Declaration::ParamList::Builder Declaration::Method::Results::Builder::initExplicit() {
6605   _builder.setDataField<Declaration::Method::Results::Which>(
6606       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Method::Results::EXPLICIT);
6607   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::init(_builder.getPointerField(
6608       ::capnp::bounded<6>() * ::capnp::POINTERS));
6609 }
adoptExplicit(::capnp::Orphan<::capnp::compiler::Declaration::ParamList> && value)6610 inline void Declaration::Method::Results::Builder::adoptExplicit(
6611     ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList>&& value) {
6612   _builder.setDataField<Declaration::Method::Results::Which>(
6613       ::capnp::bounded<6>() * ::capnp::ELEMENTS, Declaration::Method::Results::EXPLICIT);
6614   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::adopt(_builder.getPointerField(
6615       ::capnp::bounded<6>() * ::capnp::POINTERS), kj::mv(value));
6616 }
disownExplicit()6617 inline ::capnp::Orphan< ::capnp::compiler::Declaration::ParamList> Declaration::Method::Results::Builder::disownExplicit() {
6618   KJ_IREQUIRE((which() == Declaration::Method::Results::EXPLICIT),
6619               "Must check which() before get()ing a union member.");
6620   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration::ParamList>::disown(_builder.getPointerField(
6621       ::capnp::bounded<6>() * ::capnp::POINTERS));
6622 }
6623 
hasType()6624 inline bool Declaration::Annotation::Reader::hasType() const {
6625   return !_reader.getPointerField(
6626       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6627 }
hasType()6628 inline bool Declaration::Annotation::Builder::hasType() {
6629   return !_builder.getPointerField(
6630       ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
6631 }
getType()6632 inline  ::capnp::compiler::Expression::Reader Declaration::Annotation::Reader::getType() const {
6633   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_reader.getPointerField(
6634       ::capnp::bounded<5>() * ::capnp::POINTERS));
6635 }
getType()6636 inline  ::capnp::compiler::Expression::Builder Declaration::Annotation::Builder::getType() {
6637   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::get(_builder.getPointerField(
6638       ::capnp::bounded<5>() * ::capnp::POINTERS));
6639 }
6640 #if !CAPNP_LITE
getType()6641 inline  ::capnp::compiler::Expression::Pipeline Declaration::Annotation::Pipeline::getType() {
6642   return  ::capnp::compiler::Expression::Pipeline(_typeless.getPointerField(5));
6643 }
6644 #endif  // !CAPNP_LITE
setType(::capnp::compiler::Expression::Reader value)6645 inline void Declaration::Annotation::Builder::setType( ::capnp::compiler::Expression::Reader value) {
6646   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::set(_builder.getPointerField(
6647       ::capnp::bounded<5>() * ::capnp::POINTERS), value);
6648 }
initType()6649 inline  ::capnp::compiler::Expression::Builder Declaration::Annotation::Builder::initType() {
6650   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::init(_builder.getPointerField(
6651       ::capnp::bounded<5>() * ::capnp::POINTERS));
6652 }
adoptType(::capnp::Orphan<::capnp::compiler::Expression> && value)6653 inline void Declaration::Annotation::Builder::adoptType(
6654     ::capnp::Orphan< ::capnp::compiler::Expression>&& value) {
6655   ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::adopt(_builder.getPointerField(
6656       ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
6657 }
disownType()6658 inline ::capnp::Orphan< ::capnp::compiler::Expression> Declaration::Annotation::Builder::disownType() {
6659   return ::capnp::_::PointerHelpers< ::capnp::compiler::Expression>::disown(_builder.getPointerField(
6660       ::capnp::bounded<5>() * ::capnp::POINTERS));
6661 }
6662 
getTargetsFile()6663 inline bool Declaration::Annotation::Reader::getTargetsFile() const {
6664   return _reader.getDataField<bool>(
6665       ::capnp::bounded<96>() * ::capnp::ELEMENTS);
6666 }
6667 
getTargetsFile()6668 inline bool Declaration::Annotation::Builder::getTargetsFile() {
6669   return _builder.getDataField<bool>(
6670       ::capnp::bounded<96>() * ::capnp::ELEMENTS);
6671 }
setTargetsFile(bool value)6672 inline void Declaration::Annotation::Builder::setTargetsFile(bool value) {
6673   _builder.setDataField<bool>(
6674       ::capnp::bounded<96>() * ::capnp::ELEMENTS, value);
6675 }
6676 
getTargetsConst()6677 inline bool Declaration::Annotation::Reader::getTargetsConst() const {
6678   return _reader.getDataField<bool>(
6679       ::capnp::bounded<97>() * ::capnp::ELEMENTS);
6680 }
6681 
getTargetsConst()6682 inline bool Declaration::Annotation::Builder::getTargetsConst() {
6683   return _builder.getDataField<bool>(
6684       ::capnp::bounded<97>() * ::capnp::ELEMENTS);
6685 }
setTargetsConst(bool value)6686 inline void Declaration::Annotation::Builder::setTargetsConst(bool value) {
6687   _builder.setDataField<bool>(
6688       ::capnp::bounded<97>() * ::capnp::ELEMENTS, value);
6689 }
6690 
getTargetsEnum()6691 inline bool Declaration::Annotation::Reader::getTargetsEnum() const {
6692   return _reader.getDataField<bool>(
6693       ::capnp::bounded<98>() * ::capnp::ELEMENTS);
6694 }
6695 
getTargetsEnum()6696 inline bool Declaration::Annotation::Builder::getTargetsEnum() {
6697   return _builder.getDataField<bool>(
6698       ::capnp::bounded<98>() * ::capnp::ELEMENTS);
6699 }
setTargetsEnum(bool value)6700 inline void Declaration::Annotation::Builder::setTargetsEnum(bool value) {
6701   _builder.setDataField<bool>(
6702       ::capnp::bounded<98>() * ::capnp::ELEMENTS, value);
6703 }
6704 
getTargetsEnumerant()6705 inline bool Declaration::Annotation::Reader::getTargetsEnumerant() const {
6706   return _reader.getDataField<bool>(
6707       ::capnp::bounded<99>() * ::capnp::ELEMENTS);
6708 }
6709 
getTargetsEnumerant()6710 inline bool Declaration::Annotation::Builder::getTargetsEnumerant() {
6711   return _builder.getDataField<bool>(
6712       ::capnp::bounded<99>() * ::capnp::ELEMENTS);
6713 }
setTargetsEnumerant(bool value)6714 inline void Declaration::Annotation::Builder::setTargetsEnumerant(bool value) {
6715   _builder.setDataField<bool>(
6716       ::capnp::bounded<99>() * ::capnp::ELEMENTS, value);
6717 }
6718 
getTargetsStruct()6719 inline bool Declaration::Annotation::Reader::getTargetsStruct() const {
6720   return _reader.getDataField<bool>(
6721       ::capnp::bounded<100>() * ::capnp::ELEMENTS);
6722 }
6723 
getTargetsStruct()6724 inline bool Declaration::Annotation::Builder::getTargetsStruct() {
6725   return _builder.getDataField<bool>(
6726       ::capnp::bounded<100>() * ::capnp::ELEMENTS);
6727 }
setTargetsStruct(bool value)6728 inline void Declaration::Annotation::Builder::setTargetsStruct(bool value) {
6729   _builder.setDataField<bool>(
6730       ::capnp::bounded<100>() * ::capnp::ELEMENTS, value);
6731 }
6732 
getTargetsField()6733 inline bool Declaration::Annotation::Reader::getTargetsField() const {
6734   return _reader.getDataField<bool>(
6735       ::capnp::bounded<101>() * ::capnp::ELEMENTS);
6736 }
6737 
getTargetsField()6738 inline bool Declaration::Annotation::Builder::getTargetsField() {
6739   return _builder.getDataField<bool>(
6740       ::capnp::bounded<101>() * ::capnp::ELEMENTS);
6741 }
setTargetsField(bool value)6742 inline void Declaration::Annotation::Builder::setTargetsField(bool value) {
6743   _builder.setDataField<bool>(
6744       ::capnp::bounded<101>() * ::capnp::ELEMENTS, value);
6745 }
6746 
getTargetsUnion()6747 inline bool Declaration::Annotation::Reader::getTargetsUnion() const {
6748   return _reader.getDataField<bool>(
6749       ::capnp::bounded<102>() * ::capnp::ELEMENTS);
6750 }
6751 
getTargetsUnion()6752 inline bool Declaration::Annotation::Builder::getTargetsUnion() {
6753   return _builder.getDataField<bool>(
6754       ::capnp::bounded<102>() * ::capnp::ELEMENTS);
6755 }
setTargetsUnion(bool value)6756 inline void Declaration::Annotation::Builder::setTargetsUnion(bool value) {
6757   _builder.setDataField<bool>(
6758       ::capnp::bounded<102>() * ::capnp::ELEMENTS, value);
6759 }
6760 
getTargetsGroup()6761 inline bool Declaration::Annotation::Reader::getTargetsGroup() const {
6762   return _reader.getDataField<bool>(
6763       ::capnp::bounded<103>() * ::capnp::ELEMENTS);
6764 }
6765 
getTargetsGroup()6766 inline bool Declaration::Annotation::Builder::getTargetsGroup() {
6767   return _builder.getDataField<bool>(
6768       ::capnp::bounded<103>() * ::capnp::ELEMENTS);
6769 }
setTargetsGroup(bool value)6770 inline void Declaration::Annotation::Builder::setTargetsGroup(bool value) {
6771   _builder.setDataField<bool>(
6772       ::capnp::bounded<103>() * ::capnp::ELEMENTS, value);
6773 }
6774 
getTargetsInterface()6775 inline bool Declaration::Annotation::Reader::getTargetsInterface() const {
6776   return _reader.getDataField<bool>(
6777       ::capnp::bounded<104>() * ::capnp::ELEMENTS);
6778 }
6779 
getTargetsInterface()6780 inline bool Declaration::Annotation::Builder::getTargetsInterface() {
6781   return _builder.getDataField<bool>(
6782       ::capnp::bounded<104>() * ::capnp::ELEMENTS);
6783 }
setTargetsInterface(bool value)6784 inline void Declaration::Annotation::Builder::setTargetsInterface(bool value) {
6785   _builder.setDataField<bool>(
6786       ::capnp::bounded<104>() * ::capnp::ELEMENTS, value);
6787 }
6788 
getTargetsMethod()6789 inline bool Declaration::Annotation::Reader::getTargetsMethod() const {
6790   return _reader.getDataField<bool>(
6791       ::capnp::bounded<105>() * ::capnp::ELEMENTS);
6792 }
6793 
getTargetsMethod()6794 inline bool Declaration::Annotation::Builder::getTargetsMethod() {
6795   return _builder.getDataField<bool>(
6796       ::capnp::bounded<105>() * ::capnp::ELEMENTS);
6797 }
setTargetsMethod(bool value)6798 inline void Declaration::Annotation::Builder::setTargetsMethod(bool value) {
6799   _builder.setDataField<bool>(
6800       ::capnp::bounded<105>() * ::capnp::ELEMENTS, value);
6801 }
6802 
getTargetsParam()6803 inline bool Declaration::Annotation::Reader::getTargetsParam() const {
6804   return _reader.getDataField<bool>(
6805       ::capnp::bounded<106>() * ::capnp::ELEMENTS);
6806 }
6807 
getTargetsParam()6808 inline bool Declaration::Annotation::Builder::getTargetsParam() {
6809   return _builder.getDataField<bool>(
6810       ::capnp::bounded<106>() * ::capnp::ELEMENTS);
6811 }
setTargetsParam(bool value)6812 inline void Declaration::Annotation::Builder::setTargetsParam(bool value) {
6813   _builder.setDataField<bool>(
6814       ::capnp::bounded<106>() * ::capnp::ELEMENTS, value);
6815 }
6816 
getTargetsAnnotation()6817 inline bool Declaration::Annotation::Reader::getTargetsAnnotation() const {
6818   return _reader.getDataField<bool>(
6819       ::capnp::bounded<107>() * ::capnp::ELEMENTS);
6820 }
6821 
getTargetsAnnotation()6822 inline bool Declaration::Annotation::Builder::getTargetsAnnotation() {
6823   return _builder.getDataField<bool>(
6824       ::capnp::bounded<107>() * ::capnp::ELEMENTS);
6825 }
setTargetsAnnotation(bool value)6826 inline void Declaration::Annotation::Builder::setTargetsAnnotation(bool value) {
6827   _builder.setDataField<bool>(
6828       ::capnp::bounded<107>() * ::capnp::ELEMENTS, value);
6829 }
6830 
hasRoot()6831 inline bool ParsedFile::Reader::hasRoot() const {
6832   return !_reader.getPointerField(
6833       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6834 }
hasRoot()6835 inline bool ParsedFile::Builder::hasRoot() {
6836   return !_builder.getPointerField(
6837       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6838 }
getRoot()6839 inline  ::capnp::compiler::Declaration::Reader ParsedFile::Reader::getRoot() const {
6840   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::get(_reader.getPointerField(
6841       ::capnp::bounded<0>() * ::capnp::POINTERS));
6842 }
getRoot()6843 inline  ::capnp::compiler::Declaration::Builder ParsedFile::Builder::getRoot() {
6844   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::get(_builder.getPointerField(
6845       ::capnp::bounded<0>() * ::capnp::POINTERS));
6846 }
6847 #if !CAPNP_LITE
getRoot()6848 inline  ::capnp::compiler::Declaration::Pipeline ParsedFile::Pipeline::getRoot() {
6849   return  ::capnp::compiler::Declaration::Pipeline(_typeless.getPointerField(0));
6850 }
6851 #endif  // !CAPNP_LITE
setRoot(::capnp::compiler::Declaration::Reader value)6852 inline void ParsedFile::Builder::setRoot( ::capnp::compiler::Declaration::Reader value) {
6853   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::set(_builder.getPointerField(
6854       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
6855 }
initRoot()6856 inline  ::capnp::compiler::Declaration::Builder ParsedFile::Builder::initRoot() {
6857   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::init(_builder.getPointerField(
6858       ::capnp::bounded<0>() * ::capnp::POINTERS));
6859 }
adoptRoot(::capnp::Orphan<::capnp::compiler::Declaration> && value)6860 inline void ParsedFile::Builder::adoptRoot(
6861     ::capnp::Orphan< ::capnp::compiler::Declaration>&& value) {
6862   ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::adopt(_builder.getPointerField(
6863       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
6864 }
disownRoot()6865 inline ::capnp::Orphan< ::capnp::compiler::Declaration> ParsedFile::Builder::disownRoot() {
6866   return ::capnp::_::PointerHelpers< ::capnp::compiler::Declaration>::disown(_builder.getPointerField(
6867       ::capnp::bounded<0>() * ::capnp::POINTERS));
6868 }
6869 
6870 }  // namespace
6871 }  // namespace
6872 
6873 CAPNP_END_HEADER
6874 
6875