JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
libs
joda
core
modules
queryparsing
src
error
LOAD_error.h
Go to the documentation of this file.
1
//
2
// Created by Nico on 21/05/2019.
3
//
4
5
#ifndef JODA_LOAD_ERROR_H
6
#define JODA_LOAD_ERROR_H
7
#include "../grammar/Load.h"
8
namespace
joda::queryparsing::grammar
{
9
10
// Missing Load
11
template
<>
12
const
std::string
query_control<loadKW>::error_message
=
13
"Query must start with 'LOAD' statement."
;
14
15
// Missing Load var
16
template
<>
17
const
std::string
query_control<loadIdent>::error_message
=
18
"Expected 'LOAD' variable. (LOAD X ...)"
;
19
20
// Missing LOAD X FROM FILE(S) "[...]"
21
template
<>
22
const
std::string
query_control<loadFilesliteral>::error_message
=
23
"Expected 'LOAD' file/directory specifier"
;
24
template
<>
25
const
std::string
query_control<loadFileLiteralStart>::error_message
=
26
"Expected '\"' after LOAD FROM FILE(S)"
;
27
template
<>
28
const
std::string
query_control<loadFileLiteralEnd>::error_message
=
29
"Expected '\"' after LOAD FROM FILE(S) \"[...]"
;
30
template
<>
31
const
std::string
query_control<loadFileName>::error_message
=
32
"Expected File/Directory name"
;
33
//
34
template
<>
35
const
std::string
query_control<loadCommand>::error_message
=
36
"Missing/Illegal 'LOAD' command"
;
37
38
template
<>
39
const
std::string
query_control<sampleNum>::error_message
=
40
"Expected sampling number in (0,1)"
;
41
42
template
<>
43
const
std::string
query_control<fromURLKW>::error_message
=
44
"FROM URL not supported."
;
45
46
}
// namespace joda::queryparsing::grammar
47
#endif
// JODA_LOAD_ERROR_H
joda::queryparsing::grammar
joda::queryparsing::grammar::query_control
Definition:
Control.h:10
Generated by
1.9.1