Interface TemplateNode
- All Known Implementing Classes:
ForNode, IfNode, IncludeNode, TextNode, VariableNode
Template Node - Sealed interface for template AST nodes.
模板节点 - 模板AST节点的密封接口。
Features | 主要功能:
- Sealed interface with permitted node types - 密封接口限定节点类型
- Context-based rendering - 基于上下文的渲染
Usage Examples | 使用示例:
TemplateNode node = new TextNode("Hello");
String result = node.render(Map.of());
Security | 安全性:
- Thread-safe: Depends on implementation - 线程安全: 取决于实现
- Since:
- JDK 25, opencode-base-string V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Method Summary
-
Method Details
-
render
-