Struct elite::parser::EliteParser
source · [−]pub struct EliteParser {
pub init_ast: EliteAST,
pub ast_nodes: ASTNode,
pub data_tree: EliteDataTree,
pub just_ct: bool,
}
Fields
init_ast: EliteAST
ast_nodes: ASTNode
data_tree: EliteDataTree
just_ct: bool
Implementations
sourceimpl EliteParser
impl EliteParser
pub fn parse_tokens(&mut self, tokens: &Vec<String>)
pub fn ast_parse_for_functions(
&mut self,
function: String,
argument: String
) -> bool
pub fn ast_parse_for_specific_target(&mut self, target: String) -> bool
pub fn ast_parse_if_function(
&mut self,
function: String,
argument_1: String,
argument_2: String
) -> bool
pub fn ast_parse_use_function(
&mut self,
function: String,
argument: String,
suppress: bool
)
pub fn ast_parse_use(&mut self, argument: String)
pub fn token_set(&mut self, variable: String, data: String)
pub fn token_get(&self, variable: String) -> String
pub fn token_append(
&mut self,
variable: String,
argument: String,
delimiter: char
)
pub fn is_exists(&self, path: &String) -> bool
pub fn is_same_arg(&self, argument: &String) -> bool
pub fn is_same(&self, target: &String) -> bool
pub fn is_same_argument(&self, argument_1: &String, argument_2: &String) -> bool
pub fn is_not_same_argument(
&self,
argument_1: &String,
argument_2: &String
) -> bool
Auto Trait Implementations
impl RefUnwindSafe for EliteParser
impl Send for EliteParser
impl Sync for EliteParser
impl Unpin for EliteParser
impl UnwindSafe for EliteParser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more