diff --git a/src/compiler/typesharp_parser/parser.rs b/src/compiler/typesharp_parser/parser.rs deleted file mode 100644 index d2e9175..0000000 --- a/src/compiler/typesharp_parser/parser.rs +++ /dev/null @@ -1,44 +0,0 @@ -use crate::compiler::{typesharp_ast::ast, typesharp_lexer::Token}; - -// pub struct TypeSharpRCTX { -// pub resources: Vec, -// pub scopes: Vec, -// pub current: Option -// } - -// impl ast::IContext for TypeSharpRCTX { -// fn new(&self) -> Self { -// return Self { -// resources: vec!(), -// scopes: vec!(), -// current: None -// } -// } - -// // Gets the current resource to be parsed. -// fn getCurrentResource(&self) -> Option { -// return self.current.clone(); -// } - -// /// Gets the current AST scope -// fn getCurrentScope(&self) -> Option<&ast::ASTStatement> { -// if self.scopes.len() > 0 { -// self.scopes.get(self.scopes.len()) -// } else { -// None -// } -// } - -// /// Gets all AST scopes -// fn getScopes(&self) -> Vec { -// self.scopes.clone() -// } - -// fn nextResource(&self) -> bool { -// true -// } -// } - -// // Typesharp parser -// pub fn parse(mut curr: &ast::AST, tokens: &Vec) { -// }