cedar_policy_core/
ast.rs

1/*
2 * Copyright Cedar Contributors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! This module contains the AST datatypes.
18
19mod expr;
20#[cfg(feature = "tolerant-ast")]
21pub(crate) mod expr_allows_errors;
22pub use expr::*;
23mod entity;
24pub use entity::*;
25mod extension;
26pub use extension::*;
27mod id;
28pub use id::*;
29mod integer;
30pub use integer::{InputInteger, Integer};
31mod literal;
32pub use literal::*;
33mod name;
34pub use name::*;
35mod ops;
36pub use ops::*;
37mod pattern;
38pub use pattern::*;
39mod partial_value;
40pub use partial_value::*;
41mod policy;
42pub use policy::*;
43mod policy_set;
44pub use policy_set::*;
45mod request;
46pub use request::*;
47mod restricted_expr;
48pub use restricted_expr::*;
49mod types;
50pub use types::*;
51mod value;
52pub use value::*;
53mod expr_iterator;
54pub use expr_iterator::*;
55mod annotation;
56pub use annotation::*;
57mod expr_visitor;
58pub use expr_visitor::*;