pub fn check(input: &'a str) -> Result<Self, String> {
        let node = Parser::compile(input)?;
        let mut visitor = StaticPathParser {
            valid: VisitStatus::PartialValid,
            last_token: None,
            static_path_elements: vec![],
        };
        visitor.visit(&node);
        Ok(visitor)
    }
///
/// Checks if path is static & valid
///
Checks if path is static & valid
Checks if path is static & valid
pub fn check(input: &'a str) -> Result<Self, String> {
        let node = Parser::compile(input)?;
        let mut visitor = StaticPathParser {
            valid: VisitStatus::PartialValid,
            last_token: None,
            static_path_elements: vec![],
        };
        visitor.visit(&node);
        Ok(visitor)
    }
pub fn check ( input : & ' a str ) -> Result < Self , String > { let node = Parser :: compile ( input ) ? ; let mut visitor = StaticPathParser { valid : VisitStatus :: PartialValid , last_token : None , static_path_elements : vec ! [ ] , } ; visitor . visit ( & node ) ; Ok ( visitor ) }
Checks if path is static & valid
Checks if path is static & valid
input
&'a str
input
&'a str