Function leo_parser::parse_ast[][src]

pub fn parse_ast<T: AsRef<str>, Y: AsRef<str>>(
    path: T,
    source: Y
) -> SyntaxResult<Ast>

Creates a new AST from a given file path and source code text.