public class TemplateParser extends Object
| Constructor and Description |
|---|
TemplateParser() |
| Modifier and Type | Method and Description |
|---|---|
<ResultType,EvalCode,EvalText> |
eval(AstNode tree,
xyz.cofe.collection.Func1<EvalText,String> evalText,
xyz.cofe.collection.Func1<EvalCode,String> evalCode,
xyz.cofe.collection.Func0<ResultType> initResult,
xyz.cofe.collection.Func2<ResultType,ResultType,EvalText> appendText,
xyz.cofe.collection.Func2<ResultType,ResultType,EvalCode> appendCode) |
xyz.cofe.collection.Func0<String> |
evalAndPrint(AstNode tree,
xyz.cofe.collection.Func1<String,String> evalCode) |
xyz.cofe.collection.Func0<String> |
evalAndPrint(AstNode tree,
xyz.cofe.collection.Func1<String,String> evalText,
xyz.cofe.collection.Func1<String,String> evalCode) |
AstNode |
parse(String source) |
public <ResultType,EvalCode,EvalText> xyz.cofe.collection.Func0<ResultType> eval(AstNode tree, xyz.cofe.collection.Func1<EvalText,String> evalText, xyz.cofe.collection.Func1<EvalCode,String> evalCode, xyz.cofe.collection.Func0<ResultType> initResult, xyz.cofe.collection.Func2<ResultType,ResultType,EvalText> appendText, xyz.cofe.collection.Func2<ResultType,ResultType,EvalCode> appendCode)
public xyz.cofe.collection.Func0<String> evalAndPrint(AstNode tree, xyz.cofe.collection.Func1<String,String> evalCode)
public xyz.cofe.collection.Func0<String> evalAndPrint(AstNode tree, xyz.cofe.collection.Func1<String,String> evalText, xyz.cofe.collection.Func1<String,String> evalCode)
Copyright © 2017. All rights reserved.