#![doc = "APL — Attribute Policy Language. See docs/specs/apl-design.md."]
pub mod attributes;
pub mod evaluator;
pub mod parser;
pub mod pipeline;
pub mod plugin_decl;
pub mod route;
pub mod rules;
pub mod step;
pub use attributes::{AttributeBag, AttributeExtractor, AttributeValue};
pub use evaluator::{
evaluate_effects, evaluate_pipeline, evaluate_rules, Decision, FieldOutcome, PipelineEvaluation,
};
pub use parser::{
compile_config, compile_policy_block_value, parse_pipeline, parse_predicate, parse_rule,
CompiledConfig, ConfigYaml, ParseError, RouteYaml,
};
pub use pipeline::{FieldRule, Pipeline, ScanKind, Stage, TaintEvent, TaintScope, TypeCheck};
pub use plugin_decl::{
CapsView, EffectivePlugin, PluginDeclaration, PluginOverride, PluginRegistry,
};
pub use route::{evaluate_post, evaluate_pre, evaluate_route, RouteDecision, RoutePayload};
pub use rules::{
CompareOp, CompiledRoute, Condition, Effect, Expression, Literal, Phase, PhaseSet, Rule,
};
pub use step::{
delegation_bag_keys, DelegateStep, DelegationError, DelegationInvoker, DelegationOutcome,
DispatchPhase, NoopDelegationInvoker, PdpCall, PdpDecision, PdpDialect, PdpError, PdpFactory,
PdpResolver, PluginError, PluginInvocation, PluginInvoker, PluginOutcome,
};