perl-parser-core 0.13.1

Core parser engine for perl-parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! AST facade for the core parser engine.
//!
//! This module re-exports AST node definitions from `perl-ast` and anchors them
//! in the parser engine for the Parse → Index → Navigate → Complete → Analyze
//! workflow used by LSP providers and workspace tooling.
//!
//! # Usage Example
//!
//! ```rust,ignore
//! use perl_parser_core::engine::ast::{Node, NodeKind};
//! use perl_parser_core::SourceLocation;
//!
//! let node = Node::new(NodeKind::Empty, SourceLocation { start: 0, end: 0 });
//! assert!(matches!(node.kind, NodeKind::Empty));
//! ```

/// Re-exported AST node types used during Parse/Index/Analyze stages.
pub use perl_ast::ast::*;