Module helpers

Module helpers 

Source
Expand description

Utility functions and helper types for parsing operations. Helper utilities for common operations in the Oak Core parsing framework.

This module provides utility functions for file system operations, URL handling, and other common tasks that are useful when working with the parsing framework.

Structs§

LexerTester
A lexer testing utility that can run tests against multiple files.
ParserTester
A concurrent parser testing utility that can run tests against multiple files with timeout support.

Functions§

create_file
Creates a file and returns a file handle.
json_from_path
Reads JSON data from a file path.
open_file
Opens a file and returns a file handle.
source_from_path
Reads source text from a file path.
url_from_path
Converts a file system path to a URL.