ape_parser 0.1.7

syntax analysis for Aperture programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

#[test]
fn stmt_1() {
    let left = vec![Statement::Mod {
        src: "\"source\"".to_string(),
    }];
    let right = get_ast("mod \"source\";");

    assert_eq!(left, right, "testing `mod \"source\";`");
}