Class VanRuntime
java.lang.Object
dev.vanengine.core.runtime.VanRuntime
Server-side rendering processor for Van templates.
AST-based single-pass: parse → walk tree (v-for/v-if/v-show/:class/{{ }}) → serialize.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringprocessAll(String html, Map<String, Object> scope) Process all SSR directives with default timeout (5s).static StringprocessAll(String html, Map<String, Object> scope, long timeoutMs) Process all SSR directives with custom timeout.static StringProcess on pre-parsed AST nodes (avoids re-parsing for cached templates).
-
Method Details
-
processAll
-
processAll
-
renderAst
-