diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2016-01-29 15:27:53 +0100 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2016-01-29 15:27:53 +0100 |
commit | fe9a7c6d0af59227ff34b098f2a5ba1359790ae8 (patch) | |
tree | 3bb7170620c4b914d8bc39127af1e4fb4627fab3 /ddl/out/LambdaCube.TypeInfo.hpp | |
parent | 0c885c5c6bfb69c543635fd08d697ce44f24642d (diff) |
add Schema to IR module, also use namespace
Diffstat (limited to 'ddl/out/LambdaCube.TypeInfo.hpp')
-rw-r--r-- | ddl/out/LambdaCube.TypeInfo.hpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ddl/out/LambdaCube.TypeInfo.hpp b/ddl/out/LambdaCube.TypeInfo.hpp new file mode 100644 index 0000000..d2f239b --- /dev/null +++ b/ddl/out/LambdaCube.TypeInfo.hpp | |||
@@ -0,0 +1,50 @@ | |||
1 | // generated file, do not modify! | ||
2 | // 2016-01-28T13:15:31.255126Z | ||
3 | |||
4 | #ifndef HEADER_LambdaCube.TypeInfo_H | ||
5 | #define HEADER_LambdaCube.TypeInfo_H | ||
6 | |||
7 | #include "RT.hpp" | ||
8 | |||
9 | #include "LambdaCube.IR.hpp" | ||
10 | |||
11 | class TypeInfo { | ||
12 | public: | ||
13 | enum class tag { | ||
14 | TypeInfo | ||
15 | } tag; | ||
16 | }; | ||
17 | namespace data { | ||
18 | class TypeInfo : public ::TypeInfo { | ||
19 | public: | ||
20 | Int startLine; | ||
21 | Int startColumn; | ||
22 | Int endLine; | ||
23 | Int endColumn; | ||
24 | String text; | ||
25 | TypeInfo() { tag = tag::TypeInfo; } | ||
26 | }; | ||
27 | } | ||
28 | class MyEither { | ||
29 | public: | ||
30 | enum class tag { | ||
31 | MyLeft, | ||
32 | MyRight | ||
33 | } tag; | ||
34 | }; | ||
35 | namespace data { | ||
36 | class MyLeft : public ::MyEither { | ||
37 | public: | ||
38 | std::shared_ptr<::TypeInfo> _0; | ||
39 | std::vector<std::shared_ptr<::TypeInfo>> _1; | ||
40 | MyLeft() { tag = tag::MyLeft; } | ||
41 | }; | ||
42 | class MyRight : public ::MyEither { | ||
43 | public: | ||
44 | String _0; | ||
45 | std::shared_ptr<::Pipeline> _1; | ||
46 | std::vector<std::shared_ptr<::TypeInfo>> _2; | ||
47 | MyRight() { tag = tag::MyRight; } | ||
48 | }; | ||
49 | } | ||
50 | #endif | ||