15 lines
240 B
Rust
15 lines
240 B
Rust
|
use crate::parser::{syntax_kind::SyntaxKind::*, Parser};
|
||
|
|
||
|
use self::{instruction::instr, lit::literal};
|
||
|
|
||
|
mod instruction;
|
||
|
mod lit;
|
||
|
|
||
|
pub fn expression(p: &mut Parser) {
|
||
|
let expr = p.start();
|
||
|
|
||
|
instr(p);
|
||
|
|
||
|
expr.complete(p, EXPR);
|
||
|
}
|