[][src]Struct makepad_tinyserde::DeRonState

pub struct DeRonState {
    pub cur: char,
    pub tok: DeRonTok,
    pub strbuf: String,
    pub numbuf: String,
    pub identbuf: String,
    pub line: usize,
    pub col: usize,
}

Fields

cur: chartok: DeRonTokstrbuf: Stringnumbuf: Stringidentbuf: Stringline: usizecol: usize

Methods

impl DeRonState[src]

pub fn next(&mut self, i: &mut Chars)[src]

pub fn err_exp(&self, name: &str) -> DeRonErr[src]

pub fn err_nf(&self, name: &str) -> DeRonErr[src]

pub fn err_enum(&self, name: &str) -> DeRonErr[src]

pub fn err_token(&self, what: &str) -> DeRonErr[src]

pub fn err_range(&self, what: &str) -> DeRonErr[src]

pub fn err_type(&self, what: &str) -> DeRonErr[src]

pub fn err_parse(&self, what: &str) -> DeRonErr[src]

pub fn eat_comma_paren(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn eat_comma_block(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn eat_comma_curly(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn colon(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn ident(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn next_colon(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn next_ident(&mut self) -> Option<()>[src]

pub fn paren_open(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn paren_close(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn block_open(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn block_close(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn curly_open(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn curly_close(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

pub fn u64_range(&mut self, max: u64) -> Result<u64, DeRonErr>[src]

pub fn i64_range(&mut self, min: i64, max: i64) -> Result<i64, DeRonErr>[src]

pub fn as_f64(&mut self) -> Result<f64, DeRonErr>[src]

pub fn as_bool(&mut self) -> Result<bool, DeRonErr>[src]

pub fn as_string(&mut self) -> Result<String, DeRonErr>[src]

pub fn next_tok(&mut self, i: &mut Chars) -> Result<(), DeRonErr>[src]

Trait Implementations

impl Default for DeRonState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.