summaryrefslogtreecommitdiff
path: root/ddl/out/LambdaCube.TypeInfo.hpp
blob: dd6b0235ed751ccd12724d8987a0828e6449c22d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// generated file, do not modify!
// 2016-02-26T10:42:57.376331000000Z

#ifndef HEADER_LambdaCube.TypeInfo_H
#define HEADER_LambdaCube.TypeInfo_H

#include "RT.hpp"

#include "LambdaCube.IR.hpp"

class TypeInfo {
  public:
    enum class tag { 
      TypeInfo
    } tag;
};
namespace data { 
  class TypeInfo : public ::TypeInfo {
    public:
      Int startLine;
      Int startColumn;
      Int endLine;
      Int endColumn;
      String text;
      TypeInfo() { tag = tag::TypeInfo; }
  };
}
class CompileResult {
  public:
    enum class tag { 
      CompileError,
      Compiled
    } tag;
};
namespace data { 
  class CompileError : public ::CompileResult {
    public:
      std::vector<std::shared_ptr<::TypeInfo>> _0;
      std::vector<std::shared_ptr<::TypeInfo>> _1;
      CompileError() { tag = tag::CompileError; }
  };
  class Compiled : public ::CompileResult {
    public:
      String _0;
      std::shared_ptr<::Pipeline> _1;
      std::vector<std::shared_ptr<::TypeInfo>> _2;
      Compiled() { tag = tag::Compiled; }
  };
}
#endif