Struct tree_sitter::Parser [−][src]
pub struct Parser(_);
Methods
impl Parser
[src]
impl Parser
pub fn new() -> Parser
[src]
pub fn new() -> Parser
pub fn set_language(&mut self, language: Language) -> Result<(), String>
[src]
pub fn set_language(&mut self, language: Language) -> Result<(), String>
pub fn logger(&self) -> Option<&Box<FnMut(LogType, &str) + 'a>>
[src]
pub fn logger(&self) -> Option<&Box<FnMut(LogType, &str) + 'a>>
pub fn set_logger(&mut self, logger: Option<Box<FnMut(LogType, &str) + 'a>>)
[src]
pub fn set_logger(&mut self, logger: Option<Box<FnMut(LogType, &str) + 'a>>)
pub fn parse_str(
&mut self,
input: &str,
old_tree: Option<&Tree>
) -> Option<Tree>
[src]
pub fn parse_str(
&mut self,
input: &str,
old_tree: Option<&Tree>
) -> Option<Tree>
pub fn parse_utf8<'a, T: 'a + FnMut(u32, Point) -> &'a [u8]>(
&mut self,
input: &mut T,
old_tree: Option<&Tree>
) -> Option<Tree>
[src]
pub fn parse_utf8<'a, T: 'a + FnMut(u32, Point) -> &'a [u8]>(
&mut self,
input: &mut T,
old_tree: Option<&Tree>
) -> Option<Tree>
pub fn parse_utf16<'a, T: 'a + FnMut(u32, Point) -> &'a [u16]>(
&mut self,
input: &mut T,
old_tree: Option<&Tree>
) -> Option<Tree>
[src]
pub fn parse_utf16<'a, T: 'a + FnMut(u32, Point) -> &'a [u16]>(
&mut self,
input: &mut T,
old_tree: Option<&Tree>
) -> Option<Tree>
pub fn reset(&mut self)
[src]
pub fn reset(&mut self)
pub fn set_operation_limit(&mut self, limit: usize)
[src]
pub fn set_operation_limit(&mut self, limit: usize)