blob: 94ed70c366dbaa69ad9d8500f06a1a49880522f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
use crate::*;
pub struct SemanticParser {
pub syntactic_tokens: Vec<SyntacticToken>,
pub semantic_tokens: Vec<SemanticToken>,
}
impl SemanticParser {
pub fn new(syntactic_tokens: Vec<SyntacticToken>) -> Self {
Self {
syntactic_tokens,
semantic_tokens: Vec::new(),
}
}
pub fn parse(&mut self) {
todo!()
}
}
|