LEVIATHAN v962456e · 962456eee1

atlantis

namespace Views

since 0.1.0-alpha.1linux

Types

Constants and globals

installedEngine

Engine | None installedEngine

Functions

cmpStr

cmpStr(string a, string b) -> int

collectAll

collectAll(Template t) -> Collector

countNewlines

countNewlines(string s) -> int

defaultEngineConfig

defaultEngineConfig() -> EngineConfig

dfsIncludes

dfsIncludes(string name, Map<string, Template> loaded, Map<string, Collector> byName, DfsState st) -> void

engineOrThrow

engineOrThrow() -> Engine

escapeHtml

escapeHtml(string s) -> string

escName

escName(int code) -> string

flash

flash(Http::Context ctx, string key, string value) -> void

flashModelKey

flashModelKey() -> string

foundValue

foundValue(JsonValue v) -> Resolved

fragment

fragment(string name, JsonValue model) -> View
fragment<T>(string name, T model) -> View

install

install(Engine e) -> void

isEscByte

isEscByte(int code) -> bool

mergeFlash

mergeFlash(Http::Context ctx, JsonValue model, Log::Logger logger) -> JsonValue

notFoundAt

notFoundAt(int idx, JsonValue parent, bool haveParent) -> Resolved

render

render(Http::Context ctx, View v) -> HttpResponse

resolvePath

resolvePath(Array<string> path, Frame f) -> Resolved

runViewsCommand

runViewsCommand((Config::Config) => Engine buildEngine, Config::Config cfg) -> int

truthy

truthy(JsonValue v) -> bool

view

view(string name, JsonValue model) -> View
view<T>(string name, T model) -> View

viewsCommand

viewsCommand((Config::Config) => Engine buildEngine) -> App::Command

walkNodes

walkNodes(Array<Node> nodes, Collector c) -> void

wantsFragment

wantsFragment(Http::Context ctx) -> bool