perl-parser-core 0.14.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, 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,
    RecoveryConfidence, RequireDecl, ScopeFrame, ScopeGraph, ScopeKind, StashConfidence,
    StashDynamicBoundary, StashDynamicBoundaryKind, StashGraph, StashProvenance, StorageClass,
    SubDecl, UseDecl, VariableBinding, VariableDecl,
};