[][src]Struct makepad_widget::JSTokenizer

pub struct JSTokenizer {
    pub comment_single: bool,
    pub comment_depth: usize,
}

Fields

comment_single: boolcomment_depth: usize

Methods

impl JSTokenizer[src]

pub fn new() -> JSTokenizer[src]

pub fn next_token<'a>(
    &mut self,
    state: &mut TokenizerState<'a>,
    chunk: &mut Vec<char>,
    token_chunks: &Vec<TokenChunk>
) -> TokenType
[src]

pub fn auto_format(text_buffer: &mut TextBuffer) -> FormatOutput[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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