koto_parser/
lib.rs

1//! Contains the parser and AST format used by the Koto language
2
3#![warn(missing_docs)]
4
5mod ast;
6mod constant_pool;
7mod error;
8mod node;
9mod parser;
10mod string;
11mod string_format_options;
12mod string_slice;
13
14pub use crate::{
15    ast::*,
16    constant_pool::{Constant, ConstantIndex, ConstantPool},
17    error::{Error, ErrorKind, ExpectedIndentation, Result, SyntaxError, format_source_excerpt},
18    node::*,
19    parser::{Parser, ParserOptions},
20    string::KString,
21    string_format_options::{StringAlignment, StringFormatOptions, StringFormatRepresentation},
22    string_slice::StringSlice,
23};
24pub use koto_lexer::{Position, RawStringDelimiter, Span, StringQuote, StringType};