ocelot-ast 0.1.2

Abstract syntax tree types for the ocelot project
Documentation
1
2
3
4
5
6
7
8
9
use crate::statement::Statement;
use crate::test_item::TestItem;

/// Variants of top-level source file items.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum ItemKind {
    Statement(Statement),
    Test(TestItem),
}