mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-10 12:26:50 +00:00
remove ast
This commit is contained in:
parent
5dabbf2ca0
commit
ca4877d06c
1 changed files with 1 additions and 6 deletions
|
@ -6,16 +6,11 @@ use thiserror::Error;
|
|||
pub struct Parser {
|
||||
tokens: TokenStream,
|
||||
current: usize,
|
||||
ast: Ast,
|
||||
}
|
||||
|
||||
impl Parser {
|
||||
pub fn new(tokens: TokenStream) -> Self {
|
||||
Parser {
|
||||
tokens,
|
||||
current: 0,
|
||||
ast: Ast::default(),
|
||||
}
|
||||
Parser { tokens, current: 0 }
|
||||
}
|
||||
|
||||
pub fn parse(&mut self) -> Result<Ast, ParserError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue