valkyrie-ast 0.1.0

Strong typed abstract syntax tree of valkyrie language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[cfg(feature = "pretty-print")]
use pretty_print::{PrettyPrint, PrettyProvider, PrettyTree};

use crate::{
    ArgumentKeyNode, ConditionType, ElsePart, ExpressionNode, PatternCondition, PatternType, StatementBlock, StatementNode,
};
use alloc::{boxed::Box, vec::Vec};
use core::{
    fmt::{Debug, Display, Formatter},
    ops::Range,
};

pub mod control;
pub mod for_loop;
pub mod guard_statement;
pub mod if_else;
pub mod looping;
pub mod pattern;