databend_common_ast/parser/
mod.rs

1// Copyright 2021 Datafuse Labs
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15mod comment;
16mod common;
17mod copy;
18mod data_mask;
19pub mod dynamic_table;
20mod error;
21pub mod expr;
22mod input;
23#[allow(clippy::module_inception)]
24mod parser;
25pub mod query;
26pub mod script;
27mod sequence;
28mod stage;
29pub mod statement;
30pub mod stream;
31pub mod token;
32
33pub use common::match_text;
34pub use common::match_token;
35pub use common::IResult;
36pub use error::display_parser_error;
37pub use error::Backtrace;
38pub use error::Error;
39pub use error::ErrorKind;
40pub use input::Dialect;
41pub use input::Input;
42pub use input::ParseMode;
43pub use parser::*;
44pub use token::all_reserved_keywords;