Expand description
Abstract Syntax Tree (AST) definitions for Perl parsing. Parser engine components and supporting utilities. Abstract Syntax Tree (AST) definitions for Perl parsing. 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
ⓘ
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));Structs§
- Node
- Core AST node representing any Perl language construct within parsing workflows.
- Token
- Token produced by the lexer and consumed by the parser.
Enums§
- Node
Kind - Comprehensive enumeration of all Perl language constructs supported by the parser.
- Token
Kind - Token classification for Perl parsing.
Type Aliases§
- Source
Location - Type alias for backward compatibility with
SourceLocation.