summaryrefslogtreecommitdiff
path: root/ddl/Definitions.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ddl/Definitions.hs')
-rw-r--r--ddl/Definitions.hs16
1 files changed, 14 insertions, 2 deletions
diff --git a/ddl/Definitions.hs b/ddl/Definitions.hs
index 9e08cc9..847078c 100644
--- a/ddl/Definitions.hs
+++ b/ddl/Definitions.hs
@@ -474,9 +474,21 @@ typeInfo = do
474 , "text" #:: String 474 , "text" #:: String
475 ] 475 ]
476 476
477 data_ "WarningInfo" $ do
478 constR_ "WarningInfo"
479 [ "wRange" #:: "Range"
480 , "wText" #:: String
481 ]
482
483 data_ "ErrorInfo" $ do
484 constR_ "ErrorInfo"
485 [ "eRange" #:: "Range"
486 , "eText" #:: String
487 ]
488
477 data_ "CompileResult" $ do 489 data_ "CompileResult" $ do
478 const_ "CompileError" [Array "Range", String, Array "TypeInfo"] 490 const_ "CompileError" [Array "TypeInfo", Array "WarningInfo", Array "ErrorInfo"]
479 const_ "Compiled" [String, String, "Pipeline", Array "TypeInfo"] 491 const_ "Compiled" [String, String, "Pipeline", Array "TypeInfo", Array "WarningInfo"]
480 492
481pipelineSchema = do 493pipelineSchema = do
482 data_ "StreamType" $ do 494 data_ "StreamType" $ do