ezno-parser 0.0.1

Parser and AST definitions for Ezno
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use ezno_parser::{ASTNode, SourceId, Statement};

fn main() {
	let statement = Statement::from_string(
		"const x = 4".to_owned(),
		Default::default(),
		SourceId::NULL,
		None,
		Vec::new(),
	);
	println!("{:#?}", statement);
}