Slime.Parser.EmbeddedEngine behaviour (jgy_slime v1.3.0) View Source

Embedded engine behaviour module. Provides basic logic of parsing slime with embedded parts for other engines.

Link to this section Summary

Link to this section Types

Specs

engine_input() :: [binary() | {:eex, binary()}]

Specs

parser_tag() ::
  binary()
  | {binary(), Keyword.t()}
  | %Slime.Parser.Nodes.EExNode{
      children: term(),
      content: term(),
      output: term(),
      safe?: term(),
      spaces: term()
    }

Link to this section Callbacks

Specs

render(engine_input(), Keyword.t()) :: parser_tag()

Link to this section Functions