inktree 0.1.0

An incremental syntax tree engine for fast, expressive language tooling in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use syn::Ident;

use crate::{derive::parser::FromMeta, language::ElementError};

#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
pub struct Root;

impl FromMeta for Root {
    fn from_path(_: &syn::Path, _name: Option<&Ident>) -> Result<Self, ElementError> {
        Ok(Self)
    }
}