pub struct EliteAST {Show 23 fields
pub ast_set: String,
pub ast_as: String,
pub ast_is: String,
pub ast_for: String,
pub ast_print: String,
pub ast_println: String,
pub ast_use: String,
pub ast_if: String,
pub ast_required_version: String,
pub ast_suppress: String,
pub ast_left_parenthese: String,
pub ast_right_parenthese: String,
pub ast_square_left_bracket: String,
pub ast_square_right_bracket: String,
pub ast_for_use: Vec<String>,
pub ast_for_functions_arguments: Vec<String>,
pub ast_for_use_arguments: Vec<String>,
pub syntax_list: HashMap<String, EliteKeywords>,
pub ast_for_functions: HashMap<String, EliteKeywords>,
pub ast_for_specific_targets: HashMap<String, EliteKeywords>,
pub ast_if_functions: HashMap<String, EliteKeywords>,
pub ast_use_functions: HashMap<String, EliteKeywords>,
pub ast_use_list: HashMap<String, EliteKeywords>,
}Fields§
§ast_set: String§ast_as: String§ast_is: String§ast_for: String§ast_print: String§ast_println: String§ast_use: String§ast_if: String§ast_required_version: String§ast_suppress: String§ast_left_parenthese: String§ast_right_parenthese: String§ast_square_left_bracket: String§ast_square_right_bracket: String§ast_for_use: Vec<String>§ast_for_functions_arguments: Vec<String>§ast_for_use_arguments: Vec<String>§syntax_list: HashMap<String, EliteKeywords>§ast_for_functions: HashMap<String, EliteKeywords>§ast_for_specific_targets: HashMap<String, EliteKeywords>§ast_if_functions: HashMap<String, EliteKeywords>§ast_use_functions: HashMap<String, EliteKeywords>§ast_use_list: HashMap<String, EliteKeywords>Implementations§
Source§impl EliteAST
impl EliteAST
pub fn init_keywords(&mut self)
pub fn to(&self, data: &str) -> String
pub fn match_for_functions(&mut self, function: &String) -> &EliteKeywords
pub fn match_for_specific_targets(&mut self, target: &String) -> &EliteKeywords
pub fn match_if_functions(&mut self, statement: &String) -> &EliteKeywords
pub fn match_use_functions(&mut self, function: &String) -> &EliteKeywords
pub fn match_use_arguments(&mut self, argument: &String) -> &EliteKeywords
pub fn match_types(&mut self, token: &String) -> &EliteKeywords
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EliteAST
impl RefUnwindSafe for EliteAST
impl Send for EliteAST
impl Sync for EliteAST
impl Unpin for EliteAST
impl UnsafeUnpin for EliteAST
impl UnwindSafe for EliteAST
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more