Surface.Compiler.EExEngine (surface v0.7.0) View Source
This module glues together surface's AST and Phoenix.LiveView.Engine to actually render an AST.
It takes a list of Surface AST nodes, and processes them into a sequence of static raw html items and dynamic pieces. It then converts these into tokens which an EEx engine can understand (see EEx.Tokenizer for information on this). Finally, it passes these tokens into the engine sequentially in the same manner as EEx.Compiler.compile/2
Link to this section Summary
Link to this section Functions
Specs
translate([Surface.AST.t()], nil | maybe_improper_list() | map()) :: any()