pub struct AST { /* private fields */ }Implementations§
Source§impl AST
impl AST
pub fn associate_end_lines(&mut self) -> Result<(), String>
pub fn build(&mut self) -> Result<(), String>
pub fn print_tree(&self)
pub fn output_tree(&self) -> String
pub fn print_nodes_info(&self) -> Result<(), String>
pub fn extract_packages(code_text: &str) -> Vec<NodeData>
pub fn parse_condition_expression(condition_str: &str) -> ConditionExpr
pub fn recursive_function( keyword_str: &str, condstring: String, index: usize, lst: &mut Vec<Expression>, ) -> Expression
pub fn supersplitter( condstring_in: String, lst: &mut Vec<Expression>, ) -> Expression
pub fn flag_setter( condstring: &str, index: usize, char: char, string_flag: i32, number_of_open_parenthesis: i32, number_of_closed_parenthesis: i32, ) -> (i32, i32, i32)
pub fn flags_check( number_of_open_parenthesis: i32, number_of_closed_parenthesis: i32, string_flag: i32, ) -> bool
pub fn is_parenthesis_exterior(expression: &str) -> bool
pub fn is_expression_a_parenthesis(expression: &str) -> bool
pub fn clean_code(raw_code: &str) -> String
pub fn extract_all_nodes(code_text: &str) -> Vec<NodeData>
pub fn leggitree(nodo: &Expression, level: u32, prefix: &str)
Auto Trait Implementations§
impl Freeze for AST
impl RefUnwindSafe for AST
impl Send for AST
impl Sync for AST
impl Unpin for AST
impl UnwindSafe for AST
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