Struct ream::parser::Parser [−][src]
Fields
scanner: Scanner<'source>
level: usize
Implementations
impl<'source> Parser<'source>
[src]
impl<'source> Parser<'source>
[src]pub fn new(source: &'source str) -> Self
[src]
pub fn parse_header(&mut self) -> Result<usize, ReamError>
[src]
pub fn parse_identifier(&mut self) -> Result<String, ReamError>
[src]
pub fn parse_entry(&mut self) -> Result<Option<Entry>, ReamError>
[src]
pub fn parse_variable(&mut self) -> Result<Option<ReamVariable>, ReamError>
[src]
pub fn parse_value(&mut self, typ: ValueType) -> Result<ReamValue, ReamError>
[src]
pub fn parse_list_items(
&mut self,
typ: ValueType
) -> Result<ReamValue, ReamError>
[src]
&mut self,
typ: ValueType
) -> Result<ReamValue, ReamError>