Skip to main content

oak_dockerfile/
lib.rs

1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
4#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
5#![warn(missing_docs)]
6
7/// Root node of the Dockerfile AST.
8pub mod ast;
9/// Builder for the Dockerfile AST.
10pub mod builder;
11/// Language configuration for Dockerfile.
12pub mod language;
13mod lexer;
14#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
15pub mod lsp;
16mod parser;
17
18pub use crate::{
19    ast::DockerfileRoot,
20    builder::DockerfileBuilder,
21    language::DockerfileLanguage,
22    lexer::{DockerfileLexer, token_type::DockerfileTokenType},
23    parser::{DockerfileParser, element_type::DockerfileElementType},
24};