Module loader

Source
Expand description

Defines file loader for stack graph languages

Structs§

FileAnalyzers
FileLanguageConfigurations
Struct holding the language configurations for a file.
FileReader
FileReader reads files from the filesystem and caches the most recently read file.
LanguageConfiguration
Data type that holds all information to recognize and analyze files for a language
Loader
The loader is created from either a tree-sitter configuration or a list of search paths, and an optional scope and search paths for stack graphs definitions and builtins; or a list of language configurations.

Enums§

LoadError
LoadPath
A load path specifies a file to load from, either as a regular path or relative to the grammar location.

Statics§

DEFAULT_BUILTINS_PATHS
DEFAULT_TSG_PATHS

Traits§

ContentProvider

Functions§

matches_file