cedar_policy_core/
ast.rs

1/*
2 * Copyright 2022-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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;
20pub use expr::*;
21mod entity;
22pub use entity::*;
23mod extension;
24pub use extension::*;
25mod literal;
26pub use literal::*;
27mod name;
28pub use name::*;
29mod ops;
30pub use ops::*;
31mod pattern;
32pub use pattern::*;
33mod policy;
34pub use policy::*;
35mod policy_set;
36pub use policy_set::*;
37mod request;
38pub use request::*;
39mod restricted_expr;
40pub use restricted_expr::*;
41mod types;
42pub use types::*;
43mod value;
44pub use value::*;
45mod expr_iterator;
46pub use expr_iterator::*;