Crate oak_core
Source Expand description
pub use crate::builder::Builder;pub use crate::errors::LexResult;pub use crate::errors::OakDiagnostics;pub use crate::errors::OakError;pub use crate::errors::OakErrorKind;pub use crate::errors::ParseResult;pub use crate::kinds::SyntaxKind;pub use crate::language::Language;pub use crate::lexer::Lexer;pub use crate::lexer::LexerState;pub use crate::lexer::Token;pub use crate::parser::Associativity;pub use crate::parser::OperatorInfo;pub use crate::parser::Parser;pub use crate::parser::PrattParser;pub use crate::parser::Precedence;pub use crate::source::SourceLocation;pub use crate::source::SourceText;pub use crate::tree::*;
- builder
- Tree building and construction utilities for the Oak parsing framework.
- errors
- Error handling and diagnostic reporting for the parsing system.
- helpers
- Utility functions and helper types for parsing operations.
Helper utilities for common operations in the Oak Core parsing framework.
- kinds
- Syntax kind definitions for tokens and nodes in the parsing system.
- language
- Language definition trait for coordinating language-specific components.
- lexer
- Lexical analysis and tokenization functionality.
Lexical analysis and tokenization for the Oak Core parsing framework.
- parser
- Parsing functionality for converting tokens to kind trees.
- source
- Source text management and location tracking.
Source text management and location tracking for incremental parsing.
- tree
- Tree structures for representing kind trees (green and red trees).
Red-green tree implementation for efficient kind tree representation.
- visitor
- Tree traversal utilities for visiting and transforming kind trees.