From 4790ccdcdc4d2f12d8ff662cf826bf6a28bdb456 Mon Sep 17 00:00:00 2001 From: Olybear9 Date: Wed, 16 Jun 2021 21:37:18 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20delete(parser.rs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compiler/typesharp_parser/parser.rs | 44 ------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/compiler/typesharp_parser/parser.rs 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) { -// }