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