atlantis
namespace Views
since 0.1.0-alpha.1linux
Types
- AssetNode
- Collector
- CsrfNode
- DfsState
- Engine
- EngineConfig
- ForNode
- Frame
- IfNode
- IncludeNode
- LiteralNode
- Node
- OutputNode
- ParseError
- Parser
- RenderEnv
- Resolved
- TagInfo
- Template
- TextNode
- View
- ViewException
- YieldNode
Constants and globals
installedEngine
Engine | None installedEngineFunctions
cmpStr
cmpStr(string a, string b) -> intcollectAll
countNewlines
countNewlines(string s) -> intdefaultEngineConfig
defaultEngineConfig() -> EngineConfigdfsIncludes
dfsIncludes(string name, Map<string, Template> loaded, Map<string, Collector> byName, DfsState st) -> voidengineOrThrow
engineOrThrow() -> EngineescapeHtml
escapeHtml(string s) -> stringescName
escName(int code) -> stringflash
flash(Http::Context ctx, string key, string value) -> voidflashModelKey
flashModelKey() -> stringfoundValue
fragment
fragment<T>(string name, T model) -> Viewinstall
install(Engine e) -> voidisEscByte
isEscByte(int code) -> boolmergeFlash
mergeFlash(Http::Context ctx, JsonValue model, Log::Logger logger) -> JsonValuenotFoundAt
render
render(Http::Context ctx, View v) -> HttpResponseresolvePath
runViewsCommand
runViewsCommand((Config::Config) => Engine buildEngine, Config::Config cfg) -> inttruthy
truthy(JsonValue v) -> boolview
view<T>(string name, T model) -> ViewviewsCommand
viewsCommand((Config::Config) => Engine buildEngine) -> App::CommandwalkNodes
wantsFragment
wantsFragment(Http::Context ctx) -> bool