zenith-core 0.0.0

Zenith core: KDL parser adapter, semantic AST, canonical formatter, tokens, validation, and diagnostics.
Documentation
//! AST type re-exports for zenith-core.

pub mod action;
pub mod asset;
pub mod block_style;
pub mod brand;
pub mod document;
pub mod library;
pub mod node;
pub mod policy;
pub mod provenance;
pub mod recipe;
pub mod span;
pub mod style;
pub mod token;
pub mod value;
pub mod variant;

// Flat re-exports used throughout the crate.
pub use action::ActionDef;
pub use asset::{AssetBlock, AssetDecl, AssetKind};
pub use block_style::{BLOCK_ROLE_VOCAB, BlockStyle};
pub use brand::BrandContract;
pub use document::{
    ComponentDef, Document, DocumentBody, Fold, MasterDef, Page, Project, SafeZone, SafeZoneType,
    SectionDef,
};
pub use library::LibraryDef;
pub use node::{
    Anchor, AnchorEdge, ChartNode, ChartSeries, CodeNode, ConnectorNode, EllipseNode, FieldNode,
    FootnoteNode, FrameNode, GroupNode, ImageNode, InstanceNode, LineNode, Node, ObjectPosition,
    Override, PatternNode, Point, PolygonNode, PolylineNode, ProtectedRegion, RectNode, ShapeNode,
    TableCell, TableColumn, TableNode, TableRow, TextNode, TextSpan, TocNode, UnknownNode,
    UnknownProperty, UnknownValue, anchor_xy, parse_anchor, parse_anchor_edge,
};
pub use policy::{DiagnosticPolicy, PolicyEntry, PolicyVerb};
pub use provenance::ProvenanceDef;
pub use recipe::{RecipeDef, RecipeParam};
pub use span::Span;
pub use style::{
    STYLE_RECOGNIZED_KEYS, Style, StyleBlock, UnknownStyleProp, canonicalize_style_key,
};
pub use token::{
    FilterKind, FilterLiteral, FilterOp, GradientKind, GradientLiteral, GradientStopRef,
    MaskLiteral, MaskShape, ShadowLayerRef, ShadowLiteral, Token, TokenBlock, TokenLiteral,
    TokenType, TokenValue,
};
pub use value::{Dimension, PropertyValue, Unit, dim_to_px};
pub use variant::{VariantDef, VariantOverride};