valkyrie-parser 0.2.5

The hand write parser of valkyrie language
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::LexerContext;
// use nyar_hir::{ASTKind, ASTNode};

impl LexerContext {
    // pub(crate) fn new_number(handler: &str, data: &str) -> ASTKind {
    //     ASTKind::NumberLiteral { handler: String::from(handler), data: String::from(data) }
    // }
    // pub(crate) fn new_string(handler: &str, data: &str) -> ASTNode {
    //     ASTKind::StringLiteral { handler: String::from(handler), data: String::from(data) }
    // }
}