Commit 61ba59b8 authored by Kenton Varda's avatar Kenton Varda

Regenerate bootstrapped sources using C++ compiler. YAY!

parent 1396abd0
// Generated code, DO NOT EDIT // Generated by Cap'n Proto compiler, DO NOT EDIT
// source: c++.capnp
#include "c++.capnp.h" #include "c++.capnp.h"
namespace capnp {
namespace annotations {
} // namespace
} // namespace
namespace capnp { namespace capnp {
namespace schemas { namespace schemas {
static const ::capnp::_::AlignedData<18> b_b9c6f99ebf805f2c = {
{ 0, 0, 0, 0, 3, 0, 4, 0,
44, 95, 128, 191, 158, 249, 198, 185,
129, 78, 48, 184, 123, 125, 248, 189,
5, 0, 0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 210, 0, 0, 0,
25, 0, 0, 0, 7, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
20, 0, 0, 0, 1, 0, 1, 0,
99, 97, 112, 110, 112, 47, 99, 43,
43, 46, 99, 97, 112, 110, 112, 58,
110, 97, 109, 101, 115, 112, 97, 99,
101, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_b9c6f99ebf805f2c[] = {
};
static const ::capnp::_::RawSchema::MemberInfo m_b9c6f99ebf805f2c[] = {
};
const ::capnp::_::RawSchema s_b9c6f99ebf805f2c = {
0xb9c6f99ebf805f2c, b_b9c6f99ebf805f2c.words, 18, d_b9c6f99ebf805f2c, m_b9c6f99ebf805f2c,
0, 0, nullptr, nullptr
};
} // namespace schemas } // namespace schemas
namespace _ { // private namespace _ { // private
} // namespace _ (private) } // namespace _ (private)
......
// Generated code, DO NOT EDIT // Generated by Cap'n Proto compiler, DO NOT EDIT
// source: c++.capnp
#ifndef CAPNP_INCLUDED_d8bf766fe2146a6566a69e5eae0af6f1 #ifndef CAPNP_INCLUDED_bdf87d7bb8304e81_
#define CAPNP_INCLUDED_d8bf766fe2146a6566a69e5eae0af6f1 #define CAPNP_INCLUDED_bdf87d7bb8304e81_
#include <capnp/generated-header-support.h> #include <capnp/generated-header-support.h>
namespace capnp { namespace capnp {
namespace annotations { namespace annotations {
} // namespace } // namespace
} // namespace } // namespace
// =======================================================================================
namespace capnp { namespace capnp {
namespace schemas { namespace schemas {
extern const ::capnp::_::RawSchema s_b9c6f99ebf805f2c;
} // namespace schemas } // namespace schemas
namespace _ { // private namespace _ { // private
} // namespace capnp
} // namespace _ (private)
namespace capnp {
namespace annotations {
} // namespace _ (private)
} // namespace capnp
// =======================================================================================
namespace capnp {
namespace annotations {
// =======================================================================================
} // namespace } // namespace
} // namespace } // namespace
#endif // CAPNP_INCLUDED_d8bf766fe2146a6566a69e5eae0af6f1
#endif // CAPNP_INCLUDED_bdf87d7bb8304e81_
...@@ -392,7 +392,7 @@ private: ...@@ -392,7 +392,7 @@ private:
break; break;
case schema::Type::Body::OBJECT_TYPE: case schema::Type::Body::OBJECT_TYPE:
kind = FieldKind::OBJECT; kind = FieldKind::OBJECT;
if (defaultBody.hasListValue()) { if (defaultBody.hasObjectValue()) {
defaultOffset = member.getDefaultValueSchemaOffset(); defaultOffset = member.getDefaultValueSchemaOffset();
} }
break; break;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
// Generated code, DO NOT EDIT // Generated by Cap'n Proto compiler, DO NOT EDIT
// source: lexer.capnp
#include "lexer.capnp.h" #include "lexer.capnp.h"
namespace capnp {
namespace compiler {
} // namespace
} // namespace
namespace capnp { namespace capnp {
namespace schemas { namespace schemas {
static const ::capnp::_::AlignedData<172> b_91cc55cd57de5419 = {
static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
{ 0, 0, 0, 0, 3, 0, 4, 0, { 0, 0, 0, 0, 3, 0, 4, 0,
25, 84, 222, 87, 205, 85, 204, 145, 25, 84, 222, 87, 205, 85, 204, 145,
238, 195, 31, 98, 210, 86, 57, 167, 238, 195, 31, 98, 210, 86, 57, 167,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 42, 1, 0, 0, 13, 0, 0, 0, 10, 1, 0, 0,
29, 0, 0, 0, 7, 0, 0, 0,
29, 0, 0, 0, 7, 0, 0, 0, 29, 0, 0, 0, 7, 0, 0, 0,
28, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 114, 99, 47, 99, 97, 112, 110, 24, 0, 0, 0, 1, 0, 1, 0,
112, 47, 99, 111, 109, 112, 105, 108, 99, 97, 112, 110, 112, 47, 99, 111,
101, 114, 47, 108, 101, 120, 101, 114, 109, 112, 105, 108, 101, 114, 47, 108,
46, 99, 97, 112, 110, 112, 58, 84, 101, 120, 101, 114, 46, 99, 97, 112,
111, 107, 101, 110, 0, 0, 0, 0, 110, 112, 58, 84, 111, 107, 101, 110,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
3, 0, 1, 0, 7, 0, 0, 0, 3, 0, 1, 0, 7, 0, 0, 0,
1, 0, 0, 0, 103, 0, 0, 0, 1, 0, 0, 0, 103, 0, 0, 0,
12, 0, 0, 0, 1, 0, 3, 0, 12, 0, 0, 0, 1, 0, 3, 0,
0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
41, 0, 0, 0, 42, 0, 0, 0, 41, 0, 0, 0, 42, 0, 0, 0,
41, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 1, 0, 1, 0, 36, 0, 0, 0, 1, 0, 1, 0,
8, 0, 1, 0, 0, 0, 0, 0, 8, 0, 1, 0, 0, 0, 0, 0,
33, 2, 0, 0, 82, 0, 0, 0, 1, 2, 0, 0, 82, 0, 0, 0,
37, 2, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
36, 2, 0, 0, 1, 0, 2, 0, 0, 2, 0, 0, 1, 0, 2, 0,
9, 0, 2, 0, 0, 0, 0, 0, 9, 0, 2, 0, 0, 0, 0, 0,
65, 2, 0, 0, 66, 0, 0, 0, 29, 2, 0, 0, 66, 0, 0, 0,
65, 2, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
64, 2, 0, 0, 1, 0, 2, 0, 24, 2, 0, 0, 1, 0, 2, 0,
98, 111, 100, 121, 0, 0, 0, 0, 98, 111, 100, 121, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 231, 0, 0, 0, 1, 0, 0, 0, 231, 0, 0, 0,
28, 0, 0, 0, 1, 0, 3, 0, 28, 0, 0, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
105, 0, 0, 0, 90, 0, 0, 0, 105, 0, 0, 0, 90, 0, 0, 0,
109, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
108, 0, 0, 0, 1, 0, 2, 0, 104, 0, 0, 0, 1, 0, 2, 0,
2, 0, 1, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0,
137, 0, 0, 0, 114, 0, 0, 0, 133, 0, 0, 0, 114, 0, 0, 0,
141, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
140, 0, 0, 0, 1, 0, 2, 0, 132, 0, 0, 0, 1, 0, 2, 0,
3, 0, 2, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 0, 0,
169, 0, 0, 0, 122, 0, 0, 0, 161, 0, 0, 0, 122, 0, 0, 0,
173, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
172, 0, 0, 0, 1, 0, 2, 0, 160, 0, 0, 0, 1, 0, 2, 0,
4, 0, 3, 0, 0, 0, 0, 0, 4, 0, 3, 0, 0, 0, 0, 0,
201, 0, 0, 0, 106, 0, 0, 0, 189, 0, 0, 0, 106, 0, 0, 0,
205, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
204, 0, 0, 0, 1, 0, 2, 0, 188, 0, 0, 0, 1, 0, 2, 0,
5, 0, 4, 0, 0, 0, 0, 0, 5, 0, 4, 0, 0, 0, 0, 0,
233, 0, 0, 0, 74, 0, 0, 0, 217, 0, 0, 0, 74, 0, 0, 0,
237, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
236, 0, 0, 0, 1, 0, 2, 0, 216, 0, 0, 0, 1, 0, 2, 0,
6, 0, 5, 0, 0, 0, 0, 0, 6, 0, 5, 0, 0, 0, 0, 0,
9, 1, 0, 0, 146, 0, 0, 0, 245, 0, 0, 0, 146, 0, 0, 0,
17, 1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
16, 1, 0, 0, 1, 0, 2, 0, 248, 0, 0, 0, 1, 0, 2, 0,
7, 0, 6, 0, 0, 0, 0, 0, 7, 0, 6, 0, 0, 0, 0, 0,
69, 1, 0, 0, 114, 0, 0, 0, 45, 1, 0, 0, 114, 0, 0, 0,
73, 1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
72, 1, 0, 0, 1, 0, 2, 0, 44, 1, 0, 0, 1, 0, 2, 0,
105, 100, 101, 110, 116, 105, 102, 105, 105, 100, 101, 110, 116, 105, 102, 105,
101, 114, 0, 0, 0, 0, 0, 0, 101, 114, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -90,7 +80,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -90,7 +80,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 116, 114, 105, 110, 103, 76, 105, 115, 116, 114, 105, 110, 103, 76, 105,
116, 101, 114, 97, 108, 0, 0, 0, 116, 101, 114, 97, 108, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -102,7 +91,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -102,7 +91,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 103, 101, 114, 76, 105, 110, 116, 101, 103, 101, 114, 76,
105, 116, 101, 114, 97, 108, 0, 0, 105, 116, 101, 114, 97, 108, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -114,7 +102,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -114,7 +102,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
102, 108, 111, 97, 116, 76, 105, 116, 102, 108, 111, 97, 116, 76, 105, 116,
101, 114, 97, 108, 0, 0, 0, 0, 101, 114, 97, 108, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -126,7 +113,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -126,7 +113,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
111, 112, 101, 114, 97, 116, 111, 114, 111, 112, 101, 114, 97, 116, 111, 114,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -139,7 +125,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -139,7 +125,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
112, 97, 114, 101, 110, 116, 104, 101, 112, 97, 114, 101, 110, 116, 104, 101,
115, 105, 122, 101, 100, 76, 105, 115, 115, 105, 122, 101, 100, 76, 105, 115,
116, 0, 0, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
36, 0, 0, 0, 2, 0, 1, 0, 36, 0, 0, 0, 2, 0, 1, 0,
...@@ -157,7 +142,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -157,7 +142,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
98, 114, 97, 99, 107, 101, 116, 101, 98, 114, 97, 99, 107, 101, 116, 101,
100, 76, 105, 115, 116, 0, 0, 0, 100, 76, 105, 115, 116, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
36, 0, 0, 0, 2, 0, 1, 0, 36, 0, 0, 0, 2, 0, 1, 0,
...@@ -175,7 +159,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -175,7 +159,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 116, 97, 114, 116, 66, 121, 116, 115, 116, 97, 114, 116, 66, 121, 116,
101, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -186,7 +169,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -186,7 +169,6 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
101, 110, 100, 66, 121, 116, 101, 0, 101, 110, 100, 66, 121, 116, 101, 0,
0, 0, 0, 0, 1, 0, 1, 0,
4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -195,7 +177,7 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = { ...@@ -195,7 +177,7 @@ static const ::capnp::_::AlignedData<183> b_91cc55cd57de5419 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_91cc55cd57de5419[] = { static const ::capnp::_::RawSchema* const d_91cc55cd57de5419[] = {
&s_91cc55cd57de5419, &s_91cc55cd57de5419,
...@@ -213,51 +195,48 @@ static const ::capnp::_::RawSchema::MemberInfo m_91cc55cd57de5419[] = { ...@@ -213,51 +195,48 @@ static const ::capnp::_::RawSchema::MemberInfo m_91cc55cd57de5419[] = {
{ 1, 1 }, { 1, 1 },
}; };
const ::capnp::_::RawSchema s_91cc55cd57de5419 = { const ::capnp::_::RawSchema s_91cc55cd57de5419 = {
0x91cc55cd57de5419, b_91cc55cd57de5419.words, 183, d_91cc55cd57de5419, m_91cc55cd57de5419, 0x91cc55cd57de5419, b_91cc55cd57de5419.words, 172, d_91cc55cd57de5419, m_91cc55cd57de5419,
1, 10, nullptr, nullptr 1, 10, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { static const ::capnp::_::AlignedData<118> b_c6725e678d60fa37 = {
{ 0, 0, 0, 0, 3, 0, 4, 0, { 0, 0, 0, 0, 3, 0, 4, 0,
55, 250, 96, 141, 103, 94, 114, 198, 55, 250, 96, 141, 103, 94, 114, 198,
238, 195, 31, 98, 210, 86, 57, 167, 238, 195, 31, 98, 210, 86, 57, 167,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 74, 1, 0, 0, 13, 0, 0, 0, 42, 1, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0, 29, 0, 0, 0, 7, 0, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0,
32, 0, 0, 0, 1, 0, 1, 0,
115, 114, 99, 47, 99, 97, 112, 110,
112, 47, 99, 111, 109, 112, 105, 108,
101, 114, 47, 108, 101, 120, 101, 114,
46, 99, 97, 112, 110, 112, 58, 83,
116, 97, 116, 101, 109, 101, 110, 116,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0, 24, 0, 0, 0, 1, 0, 1, 0,
99, 97, 112, 110, 112, 47, 99, 111,
109, 112, 105, 108, 101, 114, 47, 108,
101, 120, 101, 114, 46, 99, 97, 112,
110, 112, 58, 83, 116, 97, 116, 101,
109, 101, 110, 116, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
2, 0, 3, 0, 7, 0, 0, 0, 2, 0, 3, 0, 7, 0, 0, 0,
1, 0, 0, 0, 167, 0, 0, 0, 1, 0, 0, 0, 167, 0, 0, 0,
20, 0, 0, 0, 1, 0, 3, 0, 20, 0, 0, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 0, 0, 0, 58, 0, 0, 0, 73, 0, 0, 0, 58, 0, 0, 0,
73, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
72, 0, 0, 0, 1, 0, 2, 0, 68, 0, 0, 0, 1, 0, 2, 0,
1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0,
113, 0, 0, 0, 50, 0, 0, 0, 109, 0, 0, 0, 50, 0, 0, 0,
113, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
112, 0, 0, 0, 1, 0, 1, 0, 104, 0, 0, 0, 1, 0, 1, 0,
4, 0, 2, 0, 0, 0, 0, 0, 4, 0, 2, 0, 0, 0, 0, 0,
253, 0, 0, 0, 90, 0, 0, 0, 237, 0, 0, 0, 90, 0, 0, 0,
1, 1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 1, 0, 2, 0, 236, 0, 0, 0, 1, 0, 2, 0,
5, 0, 3, 0, 0, 0, 0, 0, 5, 0, 3, 0, 0, 0, 0, 0,
29, 1, 0, 0, 82, 0, 0, 0, 9, 1, 0, 0, 82, 0, 0, 0,
33, 1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
32, 1, 0, 0, 1, 0, 2, 0, 8, 1, 0, 0, 1, 0, 2, 0,
6, 0, 4, 0, 0, 0, 0, 0, 6, 0, 4, 0, 0, 0, 0, 0,
61, 1, 0, 0, 66, 0, 0, 0, 37, 1, 0, 0, 66, 0, 0, 0,
61, 1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
60, 1, 0, 0, 1, 0, 2, 0, 32, 1, 0, 0, 1, 0, 2, 0,
116, 111, 107, 101, 110, 115, 0, 0, 116, 111, 107, 101, 110, 115, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
24, 0, 0, 0, 2, 0, 1, 0, 24, 0, 0, 0, 2, 0, 1, 0,
...@@ -271,20 +250,18 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -271,20 +250,18 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
98, 108, 111, 99, 107, 0, 0, 0, 98, 108, 111, 99, 107, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 71, 0, 0, 0, 1, 0, 0, 0, 71, 0, 0, 0,
8, 0, 0, 0, 1, 0, 3, 0, 8, 0, 0, 0, 1, 0, 3, 0,
2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
25, 0, 0, 0, 42, 0, 0, 0, 25, 0, 0, 0, 42, 0, 0, 0,
25, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
24, 0, 0, 0, 1, 0, 2, 0, 20, 0, 0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0,
53, 0, 0, 0, 90, 0, 0, 0, 49, 0, 0, 0, 90, 0, 0, 0,
57, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
56, 0, 0, 0, 1, 0, 2, 0, 48, 0, 0, 0, 1, 0, 2, 0,
110, 111, 110, 101, 0, 0, 0, 0, 110, 111, 110, 101, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -296,7 +273,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -296,7 +273,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 116, 97, 116, 101, 109, 101, 110, 115, 116, 97, 116, 101, 109, 101, 110,
116, 115, 0, 0, 0, 0, 0, 0, 116, 115, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
24, 0, 0, 0, 2, 0, 1, 0, 24, 0, 0, 0, 2, 0, 1, 0,
...@@ -311,7 +287,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -311,7 +287,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
100, 111, 99, 67, 111, 109, 109, 101, 100, 111, 99, 67, 111, 109, 109, 101,
110, 116, 0, 0, 0, 0, 0, 0, 110, 116, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -323,7 +298,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -323,7 +298,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 116, 97, 114, 116, 66, 121, 116, 115, 116, 97, 114, 116, 66, 121, 116,
101, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -334,7 +308,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -334,7 +308,6 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
101, 110, 100, 66, 121, 116, 101, 0, 101, 110, 100, 66, 121, 116, 101, 0,
0, 0, 0, 0, 1, 0, 1, 0,
2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
12, 0, 0, 0, 2, 0, 1, 0, 12, 0, 0, 0, 2, 0, 1, 0,
...@@ -343,7 +316,7 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = { ...@@ -343,7 +316,7 @@ static const ::capnp::_::AlignedData<127> b_c6725e678d60fa37 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_c6725e678d60fa37[] = { static const ::capnp::_::RawSchema* const d_c6725e678d60fa37[] = {
&s_91cc55cd57de5419, &s_91cc55cd57de5419,
...@@ -359,35 +332,32 @@ static const ::capnp::_::RawSchema::MemberInfo m_c6725e678d60fa37[] = { ...@@ -359,35 +332,32 @@ static const ::capnp::_::RawSchema::MemberInfo m_c6725e678d60fa37[] = {
{ 2, 1 }, { 2, 1 },
}; };
const ::capnp::_::RawSchema s_c6725e678d60fa37 = { const ::capnp::_::RawSchema s_c6725e678d60fa37 = {
0xc6725e678d60fa37, b_c6725e678d60fa37.words, 127, d_c6725e678d60fa37, m_c6725e678d60fa37, 0xc6725e678d60fa37, b_c6725e678d60fa37.words, 118, d_c6725e678d60fa37, m_c6725e678d60fa37,
2, 7, nullptr, nullptr 2, 7, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<37> b_9e69a92512b19d18 = { static const ::capnp::_::AlignedData<34> b_9e69a92512b19d18 = {
{ 0, 0, 0, 0, 3, 0, 4, 0, { 0, 0, 0, 0, 3, 0, 4, 0,
24, 157, 177, 18, 37, 169, 105, 158, 24, 157, 177, 18, 37, 169, 105, 158,
238, 195, 31, 98, 210, 86, 57, 167, 238, 195, 31, 98, 210, 86, 57, 167,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 90, 1, 0, 0, 13, 0, 0, 0, 58, 1, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0, 29, 0, 0, 0, 7, 0, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
32, 0, 0, 0, 1, 0, 1, 0, 24, 0, 0, 0, 1, 0, 1, 0,
115, 114, 99, 47, 99, 97, 112, 110, 99, 97, 112, 110, 112, 47, 99, 111,
112, 47, 99, 111, 109, 112, 105, 108, 109, 112, 105, 108, 101, 114, 47, 108,
101, 114, 47, 108, 101, 120, 101, 114, 101, 120, 101, 114, 46, 99, 97, 112,
46, 99, 97, 112, 110, 112, 58, 76, 110, 112, 58, 76, 101, 120, 101, 100,
101, 120, 101, 100, 84, 111, 107, 101, 84, 111, 107, 101, 110, 115, 0, 0,
110, 115, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 1, 0, 6, 0, 0, 0, 0, 0, 1, 0, 6, 0, 0, 0,
1, 0, 0, 0, 39, 0, 0, 0, 1, 0, 0, 0, 39, 0, 0, 0,
4, 0, 0, 0, 1, 0, 3, 0, 4, 0, 0, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
9, 0, 0, 0, 58, 0, 0, 0, 9, 0, 0, 0, 58, 0, 0, 0,
9, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 1, 0, 2, 0, 4, 0, 0, 0, 1, 0, 2, 0,
116, 111, 107, 101, 110, 115, 0, 0, 116, 111, 107, 101, 110, 115, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
24, 0, 0, 0, 2, 0, 1, 0, 24, 0, 0, 0, 2, 0, 1, 0,
...@@ -399,7 +369,7 @@ static const ::capnp::_::AlignedData<37> b_9e69a92512b19d18 = { ...@@ -399,7 +369,7 @@ static const ::capnp::_::AlignedData<37> b_9e69a92512b19d18 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_9e69a92512b19d18[] = { static const ::capnp::_::RawSchema* const d_9e69a92512b19d18[] = {
&s_91cc55cd57de5419, &s_91cc55cd57de5419,
...@@ -408,36 +378,34 @@ static const ::capnp::_::RawSchema::MemberInfo m_9e69a92512b19d18[] = { ...@@ -408,36 +378,34 @@ static const ::capnp::_::RawSchema::MemberInfo m_9e69a92512b19d18[] = {
{ 0, 0 }, { 0, 0 },
}; };
const ::capnp::_::RawSchema s_9e69a92512b19d18 = { const ::capnp::_::RawSchema s_9e69a92512b19d18 = {
0x9e69a92512b19d18, b_9e69a92512b19d18.words, 37, d_9e69a92512b19d18, m_9e69a92512b19d18, 0x9e69a92512b19d18, b_9e69a92512b19d18.words, 34, d_9e69a92512b19d18, m_9e69a92512b19d18,
1, 1, nullptr, nullptr 1, 1, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<38> b_a11f97b9d6c73dd4 = { static const ::capnp::_::AlignedData<36> b_a11f97b9d6c73dd4 = {
{ 0, 0, 0, 0, 3, 0, 4, 0, { 0, 0, 0, 0, 3, 0, 4, 0,
212, 61, 199, 214, 185, 151, 31, 161, 212, 61, 199, 214, 185, 151, 31, 161,
238, 195, 31, 98, 210, 86, 57, 167, 238, 195, 31, 98, 210, 86, 57, 167,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 122, 1, 0, 0, 13, 0, 0, 0, 90, 1, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0,
33, 0, 0, 0, 7, 0, 0, 0, 33, 0, 0, 0, 7, 0, 0, 0,
32, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
115, 114, 99, 47, 99, 97, 112, 110, 28, 0, 0, 0, 1, 0, 1, 0,
112, 47, 99, 111, 109, 112, 105, 108, 99, 97, 112, 110, 112, 47, 99, 111,
101, 114, 47, 108, 101, 120, 101, 114, 109, 112, 105, 108, 101, 114, 47, 108,
46, 99, 97, 112, 110, 112, 58, 76, 101, 120, 101, 114, 46, 99, 97, 112,
101, 120, 101, 100, 83, 116, 97, 116, 110, 112, 58, 76, 101, 120, 101, 100,
101, 109, 101, 110, 116, 115, 0, 0, 83, 116, 97, 116, 101, 109, 101, 110,
0, 0, 0, 0, 1, 0, 1, 0, 116, 115, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 1, 0, 6, 0, 0, 0, 0, 0, 1, 0, 6, 0, 0, 0,
1, 0, 0, 0, 39, 0, 0, 0, 1, 0, 0, 0, 39, 0, 0, 0,
4, 0, 0, 0, 1, 0, 3, 0, 4, 0, 0, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
9, 0, 0, 0, 90, 0, 0, 0, 9, 0, 0, 0, 90, 0, 0, 0,
13, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 1, 0, 2, 0, 8, 0, 0, 0, 1, 0, 2, 0,
115, 116, 97, 116, 101, 109, 101, 110, 115, 116, 97, 116, 101, 109, 101, 110,
116, 115, 0, 0, 0, 0, 0, 0, 116, 115, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 2, 0, 1, 0, 4, 0, 0, 0, 2, 0, 1, 0,
24, 0, 0, 0, 2, 0, 1, 0, 24, 0, 0, 0, 2, 0, 1, 0,
...@@ -449,7 +417,7 @@ static const ::capnp::_::AlignedData<38> b_a11f97b9d6c73dd4 = { ...@@ -449,7 +417,7 @@ static const ::capnp::_::AlignedData<38> b_a11f97b9d6c73dd4 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0 } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_a11f97b9d6c73dd4[] = { static const ::capnp::_::RawSchema* const d_a11f97b9d6c73dd4[] = {
&s_c6725e678d60fa37, &s_c6725e678d60fa37,
...@@ -458,7 +426,7 @@ static const ::capnp::_::RawSchema::MemberInfo m_a11f97b9d6c73dd4[] = { ...@@ -458,7 +426,7 @@ static const ::capnp::_::RawSchema::MemberInfo m_a11f97b9d6c73dd4[] = {
{ 0, 0 }, { 0, 0 },
}; };
const ::capnp::_::RawSchema s_a11f97b9d6c73dd4 = { const ::capnp::_::RawSchema s_a11f97b9d6c73dd4 = {
0xa11f97b9d6c73dd4, b_a11f97b9d6c73dd4.words, 38, d_a11f97b9d6c73dd4, m_a11f97b9d6c73dd4, 0xa11f97b9d6c73dd4, b_a11f97b9d6c73dd4.words, 36, d_a11f97b9d6c73dd4, m_a11f97b9d6c73dd4,
1, 1, nullptr, nullptr 1, 1, nullptr, nullptr
}; };
} // namespace schemas } // namespace schemas
......
// Generated code, DO NOT EDIT // Generated by Cap'n Proto compiler, DO NOT EDIT
// source: lexer.capnp
#ifndef CAPNP_INCLUDED_28e6ee28b20c751454a4280a478ff746 #ifndef CAPNP_INCLUDED_a73956d2621fc3ee_
#define CAPNP_INCLUDED_28e6ee28b20c751454a4280a478ff746 #define CAPNP_INCLUDED_a73956d2621fc3ee_
#include <capnp/generated-header-support.h> #include <capnp/generated-header-support.h>
namespace capnp { namespace capnp {
namespace compiler { namespace compiler {
struct Token { struct Token {
Token() = delete; Token() = delete;
class Reader; class Reader;
class Builder; class Builder;
struct Body; struct Body;
private:
}; };
struct Token::Body { struct Token::Body {
Body() = delete; Body() = delete;
class Reader; class Reader;
class Builder; class Builder;
enum Which: uint16_t { enum Which: uint16_t {
IDENTIFIER = 0, IDENTIFIER,
STRING_LITERAL = 1, STRING_LITERAL,
INTEGER_LITERAL = 2, INTEGER_LITERAL,
FLOAT_LITERAL = 3, FLOAT_LITERAL,
OPERATOR = 4, OPERATOR,
PARENTHESIZED_LIST = 5, PARENTHESIZED_LIST,
BRACKETED_LIST = 6, BRACKETED_LIST,
}; };
private:
}; };
struct Statement { struct Statement {
...@@ -44,22 +39,17 @@ struct Statement { ...@@ -44,22 +39,17 @@ struct Statement {
class Reader; class Reader;
class Builder; class Builder;
struct Block; struct Block;
private:
}; };
struct Statement::Block { struct Statement::Block {
Block() = delete; Block() = delete;
class Reader; class Reader;
class Builder; class Builder;
enum Which: uint16_t { enum Which: uint16_t {
NONE = 0, NONE,
STATEMENTS = 1, STATEMENTS,
}; };
private:
}; };
struct LexedTokens { struct LexedTokens {
...@@ -67,8 +57,6 @@ struct LexedTokens { ...@@ -67,8 +57,6 @@ struct LexedTokens {
class Reader; class Reader;
class Builder; class Builder;
private:
}; };
struct LexedStatements { struct LexedStatements {
...@@ -76,23 +64,24 @@ struct LexedStatements { ...@@ -76,23 +64,24 @@ struct LexedStatements {
class Reader; class Reader;
class Builder; class Builder;
private:
}; };
} // namespace } // namespace
} // namespace } // namespace
// =======================================================================================
namespace capnp { namespace capnp {
namespace schemas { namespace schemas {
extern const ::capnp::_::RawSchema s_91cc55cd57de5419; extern const ::capnp::_::RawSchema s_91cc55cd57de5419;
extern const ::capnp::_::RawSchema s_c6725e678d60fa37; extern const ::capnp::_::RawSchema s_c6725e678d60fa37;
extern const ::capnp::_::RawSchema s_9e69a92512b19d18; extern const ::capnp::_::RawSchema s_9e69a92512b19d18;
extern const ::capnp::_::RawSchema s_a11f97b9d6c73dd4; extern const ::capnp::_::RawSchema s_a11f97b9d6c73dd4;
} // namespace schemas } // namespace schemas
namespace _ { // private namespace _ { // private
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::compiler::Token, 91cc55cd57de5419, ::capnp::compiler::Token, 91cc55cd57de5419,
3, 1, INLINE_COMPOSITE); 3, 1, INLINE_COMPOSITE);
...@@ -111,14 +100,15 @@ CAPNP_DECLARE_STRUCT( ...@@ -111,14 +100,15 @@ CAPNP_DECLARE_STRUCT(
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::compiler::LexedStatements, a11f97b9d6c73dd4, ::capnp::compiler::LexedStatements, a11f97b9d6c73dd4,
0, 1, POINTER); 0, 1, POINTER);
} // namespace capnp
} // namespace _ (private) } // namespace _ (private)
} // namespace capnp
// =======================================================================================
namespace capnp { namespace capnp {
namespace compiler { namespace compiler {
class Token::Reader { class Token::Reader {
public: public:
typedef Token Reads; typedef Token Reads;
...@@ -130,14 +120,11 @@ public: ...@@ -130,14 +120,11 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
// union body@0 { # [0, 16) inline Body::Reader getBody() const;
inline Body::Reader getBody() const;
// startByte@8: UInt32; # bits[32, 64)
inline ::uint32_t getStartByte() const; inline ::uint32_t getStartByte() const;
// endByte@9: UInt32; # bits[128, 160)
inline ::uint32_t getEndByte() const; inline ::uint32_t getEndByte() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -155,8 +142,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Token::Reader reader) { ...@@ -155,8 +142,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Token::Reader reader) {
return ::capnp::_::structString<Token>(reader._reader); return ::capnp::_::structString<Token>(reader._reader);
} }
class Token::Builder { class Token::Builder {
public: public:
typedef Token Builds; typedef Token Builds;
...@@ -168,16 +153,13 @@ public: ...@@ -168,16 +153,13 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// union body@0 { # [0, 16) inline Body::Builder getBody();
inline Body::Builder getBody();
// startByte@8: UInt32; # bits[32, 64)
inline ::uint32_t getStartByte(); inline ::uint32_t getStartByte();
inline void setStartByte( ::uint32_t value); inline void setStartByte( ::uint32_t value);
// endByte@9: UInt32; # bits[128, 160)
inline ::uint32_t getEndByte(); inline ::uint32_t getEndByte();
inline void setEndByte( ::uint32_t value); inline void setEndByte( ::uint32_t value);
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -197,33 +179,30 @@ public: ...@@ -197,33 +179,30 @@ public:
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
inline Which which() const; inline size_t totalSizeInWords() const {
return _reader.totalSize() / ::capnp::WORDS;
}
// identifier@1: Text; # ptr[0], union tag = 0 inline Which which() const;
inline bool hasIdentifier() const; inline bool hasIdentifier() const;
inline ::capnp::Text::Reader getIdentifier() const; inline ::capnp::Text::Reader getIdentifier() const;
// stringLiteral@2: Text; # ptr[0], union tag = 1
inline bool hasStringLiteral() const; inline bool hasStringLiteral() const;
inline ::capnp::Text::Reader getStringLiteral() const; inline ::capnp::Text::Reader getStringLiteral() const;
// integerLiteral@3: UInt64; # bits[64, 128), union tag = 2
inline ::uint64_t getIntegerLiteral() const; inline ::uint64_t getIntegerLiteral() const;
// floatLiteral@4: Float64; # bits[64, 128), union tag = 3
inline double getFloatLiteral() const; inline double getFloatLiteral() const;
// operator@5: Text; # ptr[0], union tag = 4
inline bool hasOperator() const; inline bool hasOperator() const;
inline ::capnp::Text::Reader getOperator() const; inline ::capnp::Text::Reader getOperator() const;
// parenthesizedList@6: List(List(.Token)); # ptr[0], union tag = 5
inline bool hasParenthesizedList() const; inline bool hasParenthesizedList() const;
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader getParenthesizedList() const; inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader getParenthesizedList() const;
// bracketedList@7: List(List(.Token)); # ptr[0], union tag = 6
inline bool hasBracketedList() const; inline bool hasBracketedList() const;
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader getBracketedList() const; inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader getBracketedList() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -241,8 +220,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Token::Body::Reader reader) { ...@@ -241,8 +220,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Token::Body::Reader reader) {
return ::capnp::_::unionString<Token::Body>(reader._reader); return ::capnp::_::unionString<Token::Body>(reader._reader);
} }
class Token::Body::Builder { class Token::Body::Builder {
public: public:
typedef Body Builds; typedef Body Builds;
...@@ -252,59 +229,52 @@ public: ...@@ -252,59 +229,52 @@ public:
inline operator Reader() const { return Reader(_builder.asReader()); } inline operator Reader() const { return Reader(_builder.asReader()); }
inline Reader asReader() const { return *this; } inline Reader asReader() const { return *this; }
inline Which which(); inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// identifier@1: Text; # ptr[0], union tag = 0 inline Which which();
inline bool hasIdentifier(); inline bool hasIdentifier();
inline ::capnp::Text::Builder getIdentifier(); inline ::capnp::Text::Builder getIdentifier();
inline void setIdentifier( ::capnp::Text::Reader other); inline void setIdentifier( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initIdentifier(unsigned int size); inline ::capnp::Text::Builder initIdentifier(unsigned int size);
inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value); inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownIdentifier(); inline ::capnp::Orphan< ::capnp::Text> disownIdentifier();
// stringLiteral@2: Text; # ptr[0], union tag = 1
inline bool hasStringLiteral(); inline bool hasStringLiteral();
inline ::capnp::Text::Builder getStringLiteral(); inline ::capnp::Text::Builder getStringLiteral();
inline void setStringLiteral( ::capnp::Text::Reader other); inline void setStringLiteral( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initStringLiteral(unsigned int size); inline ::capnp::Text::Builder initStringLiteral(unsigned int size);
inline void adoptStringLiteral(::capnp::Orphan< ::capnp::Text>&& value); inline void adoptStringLiteral(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownStringLiteral(); inline ::capnp::Orphan< ::capnp::Text> disownStringLiteral();
// integerLiteral@3: UInt64; # bits[64, 128), union tag = 2
inline ::uint64_t getIntegerLiteral(); inline ::uint64_t getIntegerLiteral();
inline void setIntegerLiteral( ::uint64_t value); inline void setIntegerLiteral( ::uint64_t value);
// floatLiteral@4: Float64; # bits[64, 128), union tag = 3
inline double getFloatLiteral(); inline double getFloatLiteral();
inline void setFloatLiteral(double value); inline void setFloatLiteral(double value);
// operator@5: Text; # ptr[0], union tag = 4
inline bool hasOperator(); inline bool hasOperator();
inline ::capnp::Text::Builder getOperator(); inline ::capnp::Text::Builder getOperator();
inline void setOperator( ::capnp::Text::Reader other); inline void setOperator( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initOperator(unsigned int size); inline ::capnp::Text::Builder initOperator(unsigned int size);
inline void adoptOperator(::capnp::Orphan< ::capnp::Text>&& value); inline void adoptOperator(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownOperator(); inline ::capnp::Orphan< ::capnp::Text> disownOperator();
// parenthesizedList@6: List(List(.Token)); # ptr[0], union tag = 5
inline bool hasParenthesizedList(); inline bool hasParenthesizedList();
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder getParenthesizedList(); inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder getParenthesizedList();
inline void setParenthesizedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader other); inline void setParenthesizedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value);
inline void setParenthesizedList( inline void setParenthesizedList(std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value);
std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> other);
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder initParenthesizedList(unsigned int size); inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder initParenthesizedList(unsigned int size);
inline void adoptParenthesizedList(::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value); inline void adoptParenthesizedList(::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> disownParenthesizedList(); inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> disownParenthesizedList();
// bracketedList@7: List(List(.Token)); # ptr[0], union tag = 6
inline bool hasBracketedList(); inline bool hasBracketedList();
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder getBracketedList(); inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder getBracketedList();
inline void setBracketedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader other); inline void setBracketedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value);
inline void setBracketedList( inline void setBracketedList(std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value);
std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> other);
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder initBracketedList(unsigned int size); inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder initBracketedList(unsigned int size);
inline void adoptBracketedList(::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value); inline void adoptBracketedList(::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> disownBracketedList(); inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> disownBracketedList();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -328,22 +298,17 @@ public: ...@@ -328,22 +298,17 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
// union block@1 { # [0, 16)
inline Block::Reader getBlock() const;
// tokens@0: List(.Token); # ptr[0]
inline bool hasTokens() const; inline bool hasTokens() const;
inline ::capnp::List< ::capnp::compiler::Token>::Reader getTokens() const; inline ::capnp::List< ::capnp::compiler::Token>::Reader getTokens() const;
// docComment@4: Text; # ptr[2] inline Block::Reader getBlock() const;
inline bool hasDocComment() const; inline bool hasDocComment() const;
inline ::capnp::Text::Reader getDocComment() const; inline ::capnp::Text::Reader getDocComment() const;
// startByte@5: UInt32; # bits[32, 64)
inline ::uint32_t getStartByte() const; inline ::uint32_t getStartByte() const;
// endByte@6: UInt32; # bits[64, 96)
inline ::uint32_t getEndByte() const; inline ::uint32_t getEndByte() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -361,8 +326,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Statement::Reader reader) { ...@@ -361,8 +326,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Statement::Reader reader) {
return ::capnp::_::structString<Statement>(reader._reader); return ::capnp::_::structString<Statement>(reader._reader);
} }
class Statement::Builder { class Statement::Builder {
public: public:
typedef Statement Builds; typedef Statement Builds;
...@@ -374,32 +337,27 @@ public: ...@@ -374,32 +337,27 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// union block@1 { # [0, 16)
inline Block::Builder getBlock();
// tokens@0: List(.Token); # ptr[0]
inline bool hasTokens(); inline bool hasTokens();
inline ::capnp::List< ::capnp::compiler::Token>::Builder getTokens(); inline ::capnp::List< ::capnp::compiler::Token>::Builder getTokens();
inline void setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader other); inline void setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value);
inline ::capnp::List< ::capnp::compiler::Token>::Builder initTokens(unsigned int size); inline ::capnp::List< ::capnp::compiler::Token>::Builder initTokens(unsigned int size);
inline void adoptTokens(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value); inline void adoptTokens(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> disownTokens(); inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> disownTokens();
// docComment@4: Text; # ptr[2] inline Block::Builder getBlock();
inline bool hasDocComment(); inline bool hasDocComment();
inline ::capnp::Text::Builder getDocComment(); inline ::capnp::Text::Builder getDocComment();
inline void setDocComment( ::capnp::Text::Reader other); inline void setDocComment( ::capnp::Text::Reader value);
inline ::capnp::Text::Builder initDocComment(unsigned int size); inline ::capnp::Text::Builder initDocComment(unsigned int size);
inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value); inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
inline ::capnp::Orphan< ::capnp::Text> disownDocComment(); inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
// startByte@5: UInt32; # bits[32, 64)
inline ::uint32_t getStartByte(); inline ::uint32_t getStartByte();
inline void setStartByte( ::uint32_t value); inline void setStartByte( ::uint32_t value);
// endByte@6: UInt32; # bits[64, 96)
inline ::uint32_t getEndByte(); inline ::uint32_t getEndByte();
inline void setEndByte( ::uint32_t value); inline void setEndByte( ::uint32_t value);
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -419,14 +377,16 @@ public: ...@@ -419,14 +377,16 @@ public:
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
inline Which which() const; inline size_t totalSizeInWords() const {
return _reader.totalSize() / ::capnp::WORDS;
}
// none@2: Void; # (none), union tag = 0 inline Which which() const;
inline ::capnp::Void getNone() const; inline ::capnp::Void getNone() const;
// statements@3: List(.Statement); # ptr[1], union tag = 1
inline bool hasStatements() const; inline bool hasStatements() const;
inline ::capnp::List< ::capnp::compiler::Statement>::Reader getStatements() const; inline ::capnp::List< ::capnp::compiler::Statement>::Reader getStatements() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -444,8 +404,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Statement::Block::Reader reader) { ...@@ -444,8 +404,6 @@ inline ::kj::StringTree KJ_STRINGIFY(Statement::Block::Reader reader) {
return ::capnp::_::unionString<Statement::Block>(reader._reader); return ::capnp::_::unionString<Statement::Block>(reader._reader);
} }
class Statement::Block::Builder { class Statement::Block::Builder {
public: public:
typedef Block Builds; typedef Block Builds;
...@@ -455,19 +413,19 @@ public: ...@@ -455,19 +413,19 @@ public:
inline operator Reader() const { return Reader(_builder.asReader()); } inline operator Reader() const { return Reader(_builder.asReader()); }
inline Reader asReader() const { return *this; } inline Reader asReader() const { return *this; }
inline Which which(); inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// none@2: Void; # (none), union tag = 0 inline Which which();
inline ::capnp::Void getNone(); inline ::capnp::Void getNone();
inline void setNone( ::capnp::Void value); inline void setNone( ::capnp::Void value = ::capnp::Void::VOID);
// statements@3: List(.Statement); # ptr[1], union tag = 1
inline bool hasStatements(); inline bool hasStatements();
inline ::capnp::List< ::capnp::compiler::Statement>::Builder getStatements(); inline ::capnp::List< ::capnp::compiler::Statement>::Builder getStatements();
inline void setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader other); inline void setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value);
inline ::capnp::List< ::capnp::compiler::Statement>::Builder initStatements(unsigned int size); inline ::capnp::List< ::capnp::compiler::Statement>::Builder initStatements(unsigned int size);
inline void adoptStatements(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value); inline void adoptStatements(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> disownStatements(); inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> disownStatements();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -491,9 +449,9 @@ public: ...@@ -491,9 +449,9 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
// tokens@0: List(.Token); # ptr[0]
inline bool hasTokens() const; inline bool hasTokens() const;
inline ::capnp::List< ::capnp::compiler::Token>::Reader getTokens() const; inline ::capnp::List< ::capnp::compiler::Token>::Reader getTokens() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -511,8 +469,6 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedTokens::Reader reader) { ...@@ -511,8 +469,6 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedTokens::Reader reader) {
return ::capnp::_::structString<LexedTokens>(reader._reader); return ::capnp::_::structString<LexedTokens>(reader._reader);
} }
class LexedTokens::Builder { class LexedTokens::Builder {
public: public:
typedef LexedTokens Builds; typedef LexedTokens Builds;
...@@ -524,13 +480,13 @@ public: ...@@ -524,13 +480,13 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// tokens@0: List(.Token); # ptr[0]
inline bool hasTokens(); inline bool hasTokens();
inline ::capnp::List< ::capnp::compiler::Token>::Builder getTokens(); inline ::capnp::List< ::capnp::compiler::Token>::Builder getTokens();
inline void setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader other); inline void setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value);
inline ::capnp::List< ::capnp::compiler::Token>::Builder initTokens(unsigned int size); inline ::capnp::List< ::capnp::compiler::Token>::Builder initTokens(unsigned int size);
inline void adoptTokens(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value); inline void adoptTokens(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> disownTokens(); inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> disownTokens();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -554,9 +510,9 @@ public: ...@@ -554,9 +510,9 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
// statements@0: List(.Statement); # ptr[0]
inline bool hasStatements() const; inline bool hasStatements() const;
inline ::capnp::List< ::capnp::compiler::Statement>::Reader getStatements() const; inline ::capnp::List< ::capnp::compiler::Statement>::Reader getStatements() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -574,8 +530,6 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedStatements::Reader reader) { ...@@ -574,8 +530,6 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedStatements::Reader reader) {
return ::capnp::_::structString<LexedStatements>(reader._reader); return ::capnp::_::structString<LexedStatements>(reader._reader);
} }
class LexedStatements::Builder { class LexedStatements::Builder {
public: public:
typedef LexedStatements Builds; typedef LexedStatements Builds;
...@@ -587,13 +541,13 @@ public: ...@@ -587,13 +541,13 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
// statements@0: List(.Statement); # ptr[0]
inline bool hasStatements(); inline bool hasStatements();
inline ::capnp::List< ::capnp::compiler::Statement>::Builder getStatements(); inline ::capnp::List< ::capnp::compiler::Statement>::Builder getStatements();
inline void setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader other); inline void setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value);
inline ::capnp::List< ::capnp::compiler::Statement>::Builder initStatements(unsigned int size); inline ::capnp::List< ::capnp::compiler::Statement>::Builder initStatements(unsigned int size);
inline void adoptStatements(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value); inline void adoptStatements(::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value);
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> disownStatements(); inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> disownStatements();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -606,100 +560,55 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedStatements::Builder builder) { ...@@ -606,100 +560,55 @@ inline ::kj::StringTree KJ_STRINGIFY(LexedStatements::Builder builder) {
return ::capnp::_::structString<LexedStatements>(builder._builder.asReader()); return ::capnp::_::structString<LexedStatements>(builder._builder.asReader());
} }
// =======================================================================================
inline Token::Body::Reader Token::Reader::getBody() const { inline Token::Body::Reader Token::Reader::getBody() const {
return Token::Body::Reader(_reader); return Token::Body::Reader(_reader);
} }
inline Token::Body::Builder Token::Builder::getBody() { inline Token::Body::Builder Token::Builder::getBody() {
return Token::Body::Builder(_builder); return Token::Body::Builder(_builder);
} }
// Token::startByte@8: UInt32; # bits[32, 64)
inline ::uint32_t Token::Reader::getStartByte() const {
return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline ::uint32_t Token::Builder::getStartByte() {
return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Token::Builder::setStartByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
}
// Token::endByte@9: UInt32; # bits[128, 160)
inline ::uint32_t Token::Reader::getEndByte() const {
return _reader.getDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS);
}
inline ::uint32_t Token::Builder::getEndByte() {
return _builder.getDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS);
}
inline void Token::Builder::setEndByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS, value);
}
// Token::Body
inline Token::Body::Which Token::Body::Reader::which() const { inline Token::Body::Which Token::Body::Reader::which() const {
return _reader.getDataField<Which>(0 * ::capnp::ELEMENTS); return _reader.getDataField<Which>(0 * ::capnp::ELEMENTS);
} }
inline Token::Body::Which Token::Body::Builder::which() { inline Token::Body::Which Token::Body::Builder::which() {
return _builder.getDataField<Which>(0 * ::capnp::ELEMENTS); return _builder.getDataField<Which>(0 * ::capnp::ELEMENTS);
} }
// Token::Body::identifier@1: Text; # ptr[0], union tag = 0
inline bool Token::Body::Reader::hasIdentifier() const { inline bool Token::Body::Reader::hasIdentifier() const {
KJ_IREQUIRE(which() == Body::IDENTIFIER,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Token::Body::Builder::hasIdentifier() { inline bool Token::Body::Builder::hasIdentifier() {
KJ_IREQUIRE(which() == Body::IDENTIFIER,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Reader Token::Body::Reader::getIdentifier() const { inline ::capnp::Text::Reader Token::Body::Reader::getIdentifier() const {
KJ_IREQUIRE(which() == Body::IDENTIFIER, KJ_IREQUIRE(which() == Body::IDENTIFIER,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Builder Token::Body::Builder::getIdentifier() { inline ::capnp::Text::Builder Token::Body::Builder::getIdentifier() {
KJ_IREQUIRE(which() == Body::IDENTIFIER, KJ_IREQUIRE(which() == Body::IDENTIFIER,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Token::Body::Builder::setIdentifier( ::capnp::Text::Reader value) { inline void Token::Body::Builder::setIdentifier( ::capnp::Text::Reader value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::IDENTIFIER); 0 * ::capnp::ELEMENTS, Body::IDENTIFIER);
::capnp::_::PointerHelpers< ::capnp::Text>::set( ::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::Text::Builder Token::Body::Builder::initIdentifier(unsigned int size) { inline ::capnp::Text::Builder Token::Body::Builder::initIdentifier(unsigned int size) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::IDENTIFIER); 0 * ::capnp::ELEMENTS, Body::IDENTIFIER);
return ::capnp::_::PointerHelpers< ::capnp::Text>::init( return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Token::Body::Builder::adoptIdentifier( inline void Token::Body::Builder::adoptIdentifier(
::capnp::Orphan< ::capnp::Text>&& value) { ::capnp::Orphan< ::capnp::Text>&& value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
...@@ -707,7 +616,6 @@ inline void Token::Body::Builder::adoptIdentifier( ...@@ -707,7 +616,6 @@ inline void Token::Body::Builder::adoptIdentifier(
::capnp::_::PointerHelpers< ::capnp::Text>::adopt( ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownIdentifier() { inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownIdentifier() {
KJ_IREQUIRE(which() == Body::IDENTIFIER, KJ_IREQUIRE(which() == Body::IDENTIFIER,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -715,48 +623,40 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownIdentifier() ...@@ -715,48 +623,40 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownIdentifier()
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
// Token::Body::stringLiteral@2: Text; # ptr[0], union tag = 1
inline bool Token::Body::Reader::hasStringLiteral() const { inline bool Token::Body::Reader::hasStringLiteral() const {
KJ_IREQUIRE(which() == Body::STRING_LITERAL,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Token::Body::Builder::hasStringLiteral() { inline bool Token::Body::Builder::hasStringLiteral() {
KJ_IREQUIRE(which() == Body::STRING_LITERAL,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Reader Token::Body::Reader::getStringLiteral() const { inline ::capnp::Text::Reader Token::Body::Reader::getStringLiteral() const {
KJ_IREQUIRE(which() == Body::STRING_LITERAL, KJ_IREQUIRE(which() == Body::STRING_LITERAL,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Builder Token::Body::Builder::getStringLiteral() { inline ::capnp::Text::Builder Token::Body::Builder::getStringLiteral() {
KJ_IREQUIRE(which() == Body::STRING_LITERAL, KJ_IREQUIRE(which() == Body::STRING_LITERAL,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Token::Body::Builder::setStringLiteral( ::capnp::Text::Reader value) { inline void Token::Body::Builder::setStringLiteral( ::capnp::Text::Reader value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::STRING_LITERAL); 0 * ::capnp::ELEMENTS, Body::STRING_LITERAL);
::capnp::_::PointerHelpers< ::capnp::Text>::set( ::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::Text::Builder Token::Body::Builder::initStringLiteral(unsigned int size) { inline ::capnp::Text::Builder Token::Body::Builder::initStringLiteral(unsigned int size) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::STRING_LITERAL); 0 * ::capnp::ELEMENTS, Body::STRING_LITERAL);
return ::capnp::_::PointerHelpers< ::capnp::Text>::init( return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Token::Body::Builder::adoptStringLiteral( inline void Token::Body::Builder::adoptStringLiteral(
::capnp::Orphan< ::capnp::Text>&& value) { ::capnp::Orphan< ::capnp::Text>&& value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
...@@ -764,7 +664,6 @@ inline void Token::Body::Builder::adoptStringLiteral( ...@@ -764,7 +664,6 @@ inline void Token::Body::Builder::adoptStringLiteral(
::capnp::_::PointerHelpers< ::capnp::Text>::adopt( ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownStringLiteral() { inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownStringLiteral() {
KJ_IREQUIRE(which() == Body::STRING_LITERAL, KJ_IREQUIRE(which() == Body::STRING_LITERAL,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -772,10 +671,6 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownStringLiteral ...@@ -772,10 +671,6 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownStringLiteral
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
// Token::Body::integerLiteral@3: UInt64; # bits[64, 128), union tag = 2
inline ::uint64_t Token::Body::Reader::getIntegerLiteral() const { inline ::uint64_t Token::Body::Reader::getIntegerLiteral() const {
KJ_IREQUIRE(which() == Body::INTEGER_LITERAL, KJ_IREQUIRE(which() == Body::INTEGER_LITERAL,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -796,9 +691,6 @@ inline void Token::Body::Builder::setIntegerLiteral( ::uint64_t value) { ...@@ -796,9 +691,6 @@ inline void Token::Body::Builder::setIntegerLiteral( ::uint64_t value) {
1 * ::capnp::ELEMENTS, value); 1 * ::capnp::ELEMENTS, value);
} }
// Token::Body::floatLiteral@4: Float64; # bits[64, 128), union tag = 3
inline double Token::Body::Reader::getFloatLiteral() const { inline double Token::Body::Reader::getFloatLiteral() const {
KJ_IREQUIRE(which() == Body::FLOAT_LITERAL, KJ_IREQUIRE(which() == Body::FLOAT_LITERAL,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -819,47 +711,40 @@ inline void Token::Body::Builder::setFloatLiteral(double value) { ...@@ -819,47 +711,40 @@ inline void Token::Body::Builder::setFloatLiteral(double value) {
1 * ::capnp::ELEMENTS, value); 1 * ::capnp::ELEMENTS, value);
} }
// Token::Body::operator@5: Text; # ptr[0], union tag = 4
inline bool Token::Body::Reader::hasOperator() const { inline bool Token::Body::Reader::hasOperator() const {
KJ_IREQUIRE(which() == Body::OPERATOR,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Token::Body::Builder::hasOperator() { inline bool Token::Body::Builder::hasOperator() {
KJ_IREQUIRE(which() == Body::OPERATOR,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Reader Token::Body::Reader::getOperator() const { inline ::capnp::Text::Reader Token::Body::Reader::getOperator() const {
KJ_IREQUIRE(which() == Body::OPERATOR, KJ_IREQUIRE(which() == Body::OPERATOR,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::Text::Builder Token::Body::Builder::getOperator() { inline ::capnp::Text::Builder Token::Body::Builder::getOperator() {
KJ_IREQUIRE(which() == Body::OPERATOR, KJ_IREQUIRE(which() == Body::OPERATOR,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::Text>::get( return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Token::Body::Builder::setOperator( ::capnp::Text::Reader value) { inline void Token::Body::Builder::setOperator( ::capnp::Text::Reader value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::OPERATOR); 0 * ::capnp::ELEMENTS, Body::OPERATOR);
::capnp::_::PointerHelpers< ::capnp::Text>::set( ::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::Text::Builder Token::Body::Builder::initOperator(unsigned int size) { inline ::capnp::Text::Builder Token::Body::Builder::initOperator(unsigned int size) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::OPERATOR); 0 * ::capnp::ELEMENTS, Body::OPERATOR);
return ::capnp::_::PointerHelpers< ::capnp::Text>::init( return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Token::Body::Builder::adoptOperator( inline void Token::Body::Builder::adoptOperator(
::capnp::Orphan< ::capnp::Text>&& value) { ::capnp::Orphan< ::capnp::Text>&& value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
...@@ -867,7 +752,6 @@ inline void Token::Body::Builder::adoptOperator( ...@@ -867,7 +752,6 @@ inline void Token::Body::Builder::adoptOperator(
::capnp::_::PointerHelpers< ::capnp::Text>::adopt( ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownOperator() { inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownOperator() {
KJ_IREQUIRE(which() == Body::OPERATOR, KJ_IREQUIRE(which() == Body::OPERATOR,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -875,56 +759,46 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownOperator() { ...@@ -875,56 +759,46 @@ inline ::capnp::Orphan< ::capnp::Text> Token::Body::Builder::disownOperator() {
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
// Token::Body::parenthesizedList@6: List(List(.Token)); # ptr[0], union tag = 5
inline bool Token::Body::Reader::hasParenthesizedList() const { inline bool Token::Body::Reader::hasParenthesizedList() const {
KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Token::Body::Builder::hasParenthesizedList() { inline bool Token::Body::Builder::hasParenthesizedList() {
KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader Token::Body::Reader::getParenthesizedList() const { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader Token::Body::Reader::getParenthesizedList() const {
KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST, KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::getParenthesizedList() { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::getParenthesizedList() {
KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST, KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Token::Body::Builder::setParenthesizedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value) { inline void Token::Body::Builder::setParenthesizedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST); 0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST);
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline void Token::Body::Builder::setParenthesizedList(std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value) {
inline void Token::Body::Builder::setParenthesizedList(
std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST); 0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST);
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::initParenthesizedList(unsigned int size) { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::initParenthesizedList(unsigned int size) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST); 0 * ::capnp::ELEMENTS, Body::PARENTHESIZED_LIST);
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Token::Body::Builder::adoptParenthesizedList( inline void Token::Body::Builder::adoptParenthesizedList(
::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
...@@ -932,7 +806,6 @@ inline void Token::Body::Builder::adoptParenthesizedList( ...@@ -932,7 +806,6 @@ inline void Token::Body::Builder::adoptParenthesizedList(
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> Token::Body::Builder::disownParenthesizedList() { inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> Token::Body::Builder::disownParenthesizedList() {
KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST, KJ_IREQUIRE(which() == Body::PARENTHESIZED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -940,56 +813,46 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>> ...@@ -940,56 +813,46 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
// Token::Body::bracketedList@7: List(List(.Token)); # ptr[0], union tag = 6
inline bool Token::Body::Reader::hasBracketedList() const { inline bool Token::Body::Reader::hasBracketedList() const {
KJ_IREQUIRE(which() == Body::BRACKETED_LIST,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Token::Body::Builder::hasBracketedList() { inline bool Token::Body::Builder::hasBracketedList() {
KJ_IREQUIRE(which() == Body::BRACKETED_LIST,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader Token::Body::Reader::getBracketedList() const { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader Token::Body::Reader::getBracketedList() const {
KJ_IREQUIRE(which() == Body::BRACKETED_LIST, KJ_IREQUIRE(which() == Body::BRACKETED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::getBracketedList() { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::getBracketedList() {
KJ_IREQUIRE(which() == Body::BRACKETED_LIST, KJ_IREQUIRE(which() == Body::BRACKETED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Token::Body::Builder::setBracketedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value) { inline void Token::Body::Builder::setBracketedList( ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Reader value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST); 0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST);
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline void Token::Body::Builder::setBracketedList(std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value) {
inline void Token::Body::Builder::setBracketedList(
std::initializer_list< ::capnp::List< ::capnp::compiler::Token>::Reader> value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST); 0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST);
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::initBracketedList(unsigned int size) { inline ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>::Builder Token::Body::Builder::initBracketedList(unsigned int size) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST); 0 * ::capnp::ELEMENTS, Body::BRACKETED_LIST);
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Token::Body::Builder::adoptBracketedList( inline void Token::Body::Builder::adoptBracketedList(
::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>&& value) {
_builder.setDataField<Body::Which>( _builder.setDataField<Body::Which>(
...@@ -997,7 +860,6 @@ inline void Token::Body::Builder::adoptBracketedList( ...@@ -997,7 +860,6 @@ inline void Token::Body::Builder::adoptBracketedList(
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> Token::Body::Builder::disownBracketedList() { inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>> Token::Body::Builder::disownBracketedList() {
KJ_IREQUIRE(which() == Body::BRACKETED_LIST, KJ_IREQUIRE(which() == Body::BRACKETED_LIST,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -1005,153 +867,79 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>> ...@@ -1005,153 +867,79 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::List< ::capnp::compiler::Token>>
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline ::uint32_t Token::Reader::getStartByte() const {
return _reader.getDataField< ::uint32_t>(
inline Statement::Block::Reader Statement::Reader::getBlock() const { 1 * ::capnp::ELEMENTS);
return Statement::Block::Reader(_reader);
} }
inline Statement::Block::Builder Statement::Builder::getBlock() { inline ::uint32_t Token::Builder::getStartByte() {
return Statement::Block::Builder(_builder); return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Token::Builder::setStartByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
} }
inline ::uint32_t Token::Reader::getEndByte() const {
return _reader.getDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS);
}
// Statement::tokens@0: List(.Token); # ptr[0] inline ::uint32_t Token::Builder::getEndByte() {
return _builder.getDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS);
}
inline void Token::Builder::setEndByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
4 * ::capnp::ELEMENTS, value);
}
inline bool Statement::Reader::hasTokens() const { inline bool Statement::Reader::hasTokens() const {
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool Statement::Builder::hasTokens() { inline bool Statement::Builder::hasTokens() {
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Reader Statement::Reader::getTokens() const { inline ::capnp::List< ::capnp::compiler::Token>::Reader Statement::Reader::getTokens() const {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Builder Statement::Builder::getTokens() { inline ::capnp::List< ::capnp::compiler::Token>::Builder Statement::Builder::getTokens() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void Statement::Builder::setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value) { inline void Statement::Builder::setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Builder Statement::Builder::initTokens(unsigned int size) { inline ::capnp::List< ::capnp::compiler::Token>::Builder Statement::Builder::initTokens(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void Statement::Builder::adoptTokens( inline void Statement::Builder::adoptTokens(
::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> Statement::Builder::disownTokens() { inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> Statement::Builder::disownTokens() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::disown( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::disown(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline Statement::Block::Reader Statement::Reader::getBlock() const {
return Statement::Block::Reader(_reader);
// Statement::docComment@4: Text; # ptr[2]
inline bool Statement::Reader::hasDocComment() const {
return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS);
}
inline bool Statement::Builder::hasDocComment() {
return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS);
}
inline ::capnp::Text::Reader Statement::Reader::getDocComment() const {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader, 2 * ::capnp::POINTERS);
}
inline ::capnp::Text::Builder Statement::Builder::getDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder, 2 * ::capnp::POINTERS);
}
inline void Statement::Builder::setDocComment( ::capnp::Text::Reader value) {
::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder, 2 * ::capnp::POINTERS, value);
}
inline ::capnp::Text::Builder Statement::Builder::initDocComment(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder, 2 * ::capnp::POINTERS, size);
}
inline void Statement::Builder::adoptDocComment(
::capnp::Orphan< ::capnp::Text>&& value) {
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder, 2 * ::capnp::POINTERS, kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::Text> Statement::Builder::disownDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
_builder, 2 * ::capnp::POINTERS);
}
// Statement::startByte@5: UInt32; # bits[32, 64)
inline ::uint32_t Statement::Reader::getStartByte() const {
return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline ::uint32_t Statement::Builder::getStartByte() {
return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Statement::Builder::setStartByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
}
// Statement::endByte@6: UInt32; # bits[64, 96)
inline ::uint32_t Statement::Reader::getEndByte() const {
return _reader.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS);
}
inline ::uint32_t Statement::Builder::getEndByte() {
return _builder.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS);
} }
inline void Statement::Builder::setEndByte( ::uint32_t value) { inline Statement::Block::Builder Statement::Builder::getBlock() {
_builder.setDataField< ::uint32_t>( return Statement::Block::Builder(_builder);
2 * ::capnp::ELEMENTS, value);
} }
// Statement::Block
inline Statement::Block::Which Statement::Block::Reader::which() const { inline Statement::Block::Which Statement::Block::Reader::which() const {
return _reader.getDataField<Which>(0 * ::capnp::ELEMENTS); return _reader.getDataField<Which>(0 * ::capnp::ELEMENTS);
} }
inline Statement::Block::Which Statement::Block::Builder::which() { inline Statement::Block::Which Statement::Block::Builder::which() {
return _builder.getDataField<Which>(0 * ::capnp::ELEMENTS); return _builder.getDataField<Which>(0 * ::capnp::ELEMENTS);
} }
// Statement::Block::none@2: Void; # (none), union tag = 0
inline ::capnp::Void Statement::Block::Reader::getNone() const { inline ::capnp::Void Statement::Block::Reader::getNone() const {
KJ_IREQUIRE(which() == Block::NONE, KJ_IREQUIRE(which() == Block::NONE,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -1165,54 +953,47 @@ inline ::capnp::Void Statement::Block::Builder::getNone() { ...@@ -1165,54 +953,47 @@ inline ::capnp::Void Statement::Block::Builder::getNone() {
return _builder.getDataField< ::capnp::Void>( return _builder.getDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline void Statement::Block::Builder::setNone( ::capnp::Void value = ::capnp::Void::VOID) { inline void Statement::Block::Builder::setNone( ::capnp::Void value) {
_builder.setDataField<Block::Which>( _builder.setDataField<Block::Which>(
0 * ::capnp::ELEMENTS, Block::NONE); 0 * ::capnp::ELEMENTS, Block::NONE);
_builder.setDataField< ::capnp::Void>( _builder.setDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
// Statement::Block::statements@3: List(.Statement); # ptr[1], union tag = 1
inline bool Statement::Block::Reader::hasStatements() const { inline bool Statement::Block::Reader::hasStatements() const {
KJ_IREQUIRE(which() == Block::STATEMENTS,
"Must check which() before get()ing a union member.");
return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS);
} }
inline bool Statement::Block::Builder::hasStatements() { inline bool Statement::Block::Builder::hasStatements() {
KJ_IREQUIRE(which() == Block::STATEMENTS,
"Must check which() before get()ing a union member.");
return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Reader Statement::Block::Reader::getStatements() const { inline ::capnp::List< ::capnp::compiler::Statement>::Reader Statement::Block::Reader::getStatements() const {
KJ_IREQUIRE(which() == Block::STATEMENTS, KJ_IREQUIRE(which() == Block::STATEMENTS,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get(
_reader, 1 * ::capnp::POINTERS); _reader, 1 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Builder Statement::Block::Builder::getStatements() { inline ::capnp::List< ::capnp::compiler::Statement>::Builder Statement::Block::Builder::getStatements() {
KJ_IREQUIRE(which() == Block::STATEMENTS, KJ_IREQUIRE(which() == Block::STATEMENTS,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get(
_builder, 1 * ::capnp::POINTERS); _builder, 1 * ::capnp::POINTERS);
} }
inline void Statement::Block::Builder::setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value) { inline void Statement::Block::Builder::setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value) {
_builder.setDataField<Block::Which>( _builder.setDataField<Block::Which>(
0 * ::capnp::ELEMENTS, Block::STATEMENTS); 0 * ::capnp::ELEMENTS, Block::STATEMENTS);
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::set(
_builder, 1 * ::capnp::POINTERS, value); _builder, 1 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Builder Statement::Block::Builder::initStatements(unsigned int size) { inline ::capnp::List< ::capnp::compiler::Statement>::Builder Statement::Block::Builder::initStatements(unsigned int size) {
_builder.setDataField<Block::Which>( _builder.setDataField<Block::Which>(
0 * ::capnp::ELEMENTS, Block::STATEMENTS); 0 * ::capnp::ELEMENTS, Block::STATEMENTS);
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::init(
_builder, 1 * ::capnp::POINTERS, size); _builder, 1 * ::capnp::POINTERS, size);
} }
inline void Statement::Block::Builder::adoptStatements( inline void Statement::Block::Builder::adoptStatements(
::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value) {
_builder.setDataField<Block::Which>( _builder.setDataField<Block::Which>(
...@@ -1220,7 +1001,6 @@ inline void Statement::Block::Builder::adoptStatements( ...@@ -1220,7 +1001,6 @@ inline void Statement::Block::Builder::adoptStatements(
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::adopt(
_builder, 1 * ::capnp::POINTERS, kj::mv(value)); _builder, 1 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> Statement::Block::Builder::disownStatements() { inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> Statement::Block::Builder::disownStatements() {
KJ_IREQUIRE(which() == Block::STATEMENTS, KJ_IREQUIRE(which() == Block::STATEMENTS,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
...@@ -1228,101 +1008,131 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> Statement: ...@@ -1228,101 +1008,131 @@ inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> Statement:
_builder, 1 * ::capnp::POINTERS); _builder, 1 * ::capnp::POINTERS);
} }
inline bool Statement::Reader::hasDocComment() const {
return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS);
}
inline bool Statement::Builder::hasDocComment() {
return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS);
}
inline ::capnp::Text::Reader Statement::Reader::getDocComment() const {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_reader, 2 * ::capnp::POINTERS);
}
inline ::capnp::Text::Builder Statement::Builder::getDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
_builder, 2 * ::capnp::POINTERS);
}
inline void Statement::Builder::setDocComment( ::capnp::Text::Reader value) {
::capnp::_::PointerHelpers< ::capnp::Text>::set(
_builder, 2 * ::capnp::POINTERS, value);
}
inline ::capnp::Text::Builder Statement::Builder::initDocComment(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
_builder, 2 * ::capnp::POINTERS, size);
}
inline void Statement::Builder::adoptDocComment(
::capnp::Orphan< ::capnp::Text>&& value) {
::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
_builder, 2 * ::capnp::POINTERS, kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::Text> Statement::Builder::disownDocComment() {
return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
_builder, 2 * ::capnp::POINTERS);
}
inline ::uint32_t Statement::Reader::getStartByte() const {
return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline ::uint32_t Statement::Builder::getStartByte() {
return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Statement::Builder::setStartByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
}
// LexedTokens::tokens@0: List(.Token); # ptr[0] inline ::uint32_t Statement::Reader::getEndByte() const {
return _reader.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS);
}
inline ::uint32_t Statement::Builder::getEndByte() {
return _builder.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS);
}
inline void Statement::Builder::setEndByte( ::uint32_t value) {
_builder.setDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS, value);
}
inline bool LexedTokens::Reader::hasTokens() const { inline bool LexedTokens::Reader::hasTokens() const {
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool LexedTokens::Builder::hasTokens() { inline bool LexedTokens::Builder::hasTokens() {
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Reader LexedTokens::Reader::getTokens() const { inline ::capnp::List< ::capnp::compiler::Token>::Reader LexedTokens::Reader::getTokens() const {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Builder LexedTokens::Builder::getTokens() { inline ::capnp::List< ::capnp::compiler::Token>::Builder LexedTokens::Builder::getTokens() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void LexedTokens::Builder::setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value) { inline void LexedTokens::Builder::setTokens( ::capnp::List< ::capnp::compiler::Token>::Reader value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::compiler::Token>::Builder LexedTokens::Builder::initTokens(unsigned int size) { inline ::capnp::List< ::capnp::compiler::Token>::Builder LexedTokens::Builder::initTokens(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void LexedTokens::Builder::adoptTokens( inline void LexedTokens::Builder::adoptTokens(
::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>>&& value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> LexedTokens::Builder::disownTokens() { inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Token>> LexedTokens::Builder::disownTokens() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::disown( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Token>>::disown(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
// LexedStatements::statements@0: List(.Statement); # ptr[0]
inline bool LexedStatements::Reader::hasStatements() const { inline bool LexedStatements::Reader::hasStatements() const {
return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline bool LexedStatements::Builder::hasStatements() { inline bool LexedStatements::Builder::hasStatements() {
return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Reader LexedStatements::Reader::getStatements() const { inline ::capnp::List< ::capnp::compiler::Statement>::Reader LexedStatements::Reader::getStatements() const {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get(
_reader, 0 * ::capnp::POINTERS); _reader, 0 * ::capnp::POINTERS);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Builder LexedStatements::Builder::getStatements() { inline ::capnp::List< ::capnp::compiler::Statement>::Builder LexedStatements::Builder::getStatements() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::get(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
inline void LexedStatements::Builder::setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value) { inline void LexedStatements::Builder::setStatements( ::capnp::List< ::capnp::compiler::Statement>::Reader value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::set( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::set(
_builder, 0 * ::capnp::POINTERS, value); _builder, 0 * ::capnp::POINTERS, value);
} }
inline ::capnp::List< ::capnp::compiler::Statement>::Builder LexedStatements::Builder::initStatements(unsigned int size) { inline ::capnp::List< ::capnp::compiler::Statement>::Builder LexedStatements::Builder::initStatements(unsigned int size) {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::init( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::init(
_builder, 0 * ::capnp::POINTERS, size); _builder, 0 * ::capnp::POINTERS, size);
} }
inline void LexedStatements::Builder::adoptStatements( inline void LexedStatements::Builder::adoptStatements(
::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value) { ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>>&& value) {
::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::adopt( ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::adopt(
_builder, 0 * ::capnp::POINTERS, kj::mv(value)); _builder, 0 * ::capnp::POINTERS, kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> LexedStatements::Builder::disownStatements() { inline ::capnp::Orphan< ::capnp::List< ::capnp::compiler::Statement>> LexedStatements::Builder::disownStatements() {
return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::disown( return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::compiler::Statement>>::disown(
_builder, 0 * ::capnp::POINTERS); _builder, 0 * ::capnp::POINTERS);
} }
} // namespace } // namespace
} // namespace } // namespace
#endif // CAPNP_INCLUDED_28e6ee28b20c751454a4280a478ff746
#endif // CAPNP_INCLUDED_a73956d2621fc3ee_
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment