[−][src]Struct yarte_codegen::wasm::client::WASMCodeGen
Stack automaton for parse DOM representation and generate TokenStream Theory: https://core.ac.uk/download/pdf/82195817.pdf
Abstract
The stack automaton has a two-way input tape, a finite control and a stack. The stack is similar to a push-down store, in that writing and erasing occur only at the top. However, the stack head may also move up or down the stack in a read only mode. Here, nonerasing stack automata only, are considered. These are stack automata that never erase a symbol from their stack. It is shown that the deterministic, nonerasing stack automaton is equivalent to a deterministic, off-line Turing machine whose storage tape never grows beyond n logz n cells where n is the length of the input.
Deterministic it's equivalent n log n-bounded Turing Machine and that accepts context sensitive languages
Implementations
impl<'a> WASMCodeGen<'a>
[src]
pub fn new<'n>(s: &'n Struct<'n>) -> WASMCodeGen<'n>
[src]
Trait Implementations
impl<'a> CodeGen for WASMCodeGen<'a>
[src]
fn gen(&mut self, ir: Vec<HIR>) -> TokenStream
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for WASMCodeGen<'a>
impl<'a> !Send for WASMCodeGen<'a>
impl<'a> !Sync for WASMCodeGen<'a>
impl<'a> Unpin for WASMCodeGen<'a>
impl<'a> !UnwindSafe for WASMCodeGen<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,