mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
- Promote common accessors (Expr/Rule span/eidx, ScopeContext constructors, Engine::set_rego_v0) to const - Prefer Option combinators (map_or, then_some) and map_or_else - Tighten engine logic: add missing semicolons, use checked u32::try_from, make boolean query evaluation avoid unchecked indexing, Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
12 lines
330 B
Rust
12 lines
330 B
Rust
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
//! Compiler-related functionality for Regorus.
|
|
//!
|
|
//! This module contains utilities and data structures used during
|
|
//! the compilation phase to prepare policies for efficient execution.
|
|
|
|
pub mod context;
|
|
pub mod destructuring_planner;
|
|
pub mod hoist;
|