perl-parser-core 0.16.0

Core parser engine for perl-parser
Documentation
//! High-level IR lowered from the parser AST.
//!
//! HIR is the first compiler-substrate layer above raw parser nodes. It keeps
//! stable language constructs, parser anchors, source ranges, and scope graph
//! proof data without changing LSP provider behavior.

mod lower;
mod model;

pub use lower::lower_ast;
pub use model::{
    AstAnchor, BarewordExpr, BarewordFact, BarewordRole, BarewordTable, Binding, BindingReference,
    BlockShell, COMPILE_EFFECT_MODEL_VERSION, CallExpr, CallForm, CompileConfidence,
    CompileDirective, CompileDirectiveAction, CompileDirectiveKind, CompileEffect,
    CompileEffectFactKind, CompileEffectKind, CompileEffectSourceKind, CompileEnvironment,
    CompileEnvironmentBoundary, CompileEnvironmentBoundaryKind, CompilePhase, CompilePhaseBlock,
    CompileProvenance, DynamicBoundary, DynamicBoundaryKind, ExportDeclaration,
    ExportDeclarationKind, FrameworkAdapterKind, FrameworkAdapterRegistry,
    FrameworkDynamicBoundaryFact, FrameworkExportedSymbolFact, FrameworkExportedSymbolKind,
    FrameworkFactGraph, GlobSlot, GlobSlotKind, GlobSlotSource, HirBindingId, HirFile, HirId,
    HirItem, HirKind, HirScopeId, IncRootAction, IncRootFact, IncRootKind, IndirectCallExpr,
    InheritanceSource, LiteralExpr, LiteralKind, MethodCallExpr, MethodDecl, ModuleRequest,
    ModuleRequestKind, ModuleResolutionCacheInvalidation, ModuleResolutionCacheKey,
    ModuleResolutionCacheRootKey, ModuleResolutionCandidate, ModuleResolutionCandidatePathState,
    ModuleResolutionCandidateRoot, ModuleResolutionCandidateStatus, ModuleResolutionRoot,
    ModuleResolutionStatus, PackageDecl, PackageInheritanceEdge, PackageStash, PragmaArgumentKind,
    PragmaEffect, PragmaStateFact, PrototypeFact, PrototypeTable, RecoveryConfidence, RequireDecl,
    ScopeFrame, ScopeGraph, ScopeKind, StashConfidence, StashDynamicBoundary,
    StashDynamicBoundaryKind, StashGraph, StashProvenance, StorageClass, SubDecl, UseDecl,
    VariableBinding, VariableDecl,
};