[−][src]Trait antlr_rust::char_stream::CharStream
Provides underlying data for Tokens.
Required methods
pub fn get_text(&self, a: isize, b: isize) -> Data
[src]
Returns underlying data piece, either slice or owned copy. Panics if provided indexes are invalid Called by parser only on token intervals. This fact can be used by custom implementations
Implementors
impl<'a, 'b, T> CharStream<Cow<'b, str>> for InputStream<&'a [T]> where
[T]: InputData,
[src]
[T]: InputData,
impl<'a, T> CharStream<Cow<'a, [T]>> for InputStream<&'a [T]> where
[T]: InputData,
[src]
[T]: InputData,
impl<'a, T> CharStream<&'a [T]> for InputStream<&'a [T]> where
[T]: InputData,
[src]
[T]: InputData,
impl<'a, T> CharStream<String> for InputStream<&'a [T]> where
[T]: InputData,
[src]
[T]: InputData,