Uses of Class
xyz.cofe.text.template.ast.AstNode
| Package | Description |
|---|---|
| xyz.cofe.text.template | |
| xyz.cofe.text.template.ast |
-
Uses of AstNode in xyz.cofe.text.template
Fields in xyz.cofe.text.template with type parameters of type AstNode Modifier and Type Field Description protected java.util.Stack<AstNode>TemplateASTVisitor. pathprotected xyz.cofe.fn.Fn1<xyz.cofe.collection.Pointer<xyz.cofe.text.lex.Token>,AstNode>TemplateParser. start_anyprotected xyz.cofe.fn.Fn1<xyz.cofe.collection.Pointer<xyz.cofe.text.lex.Token>,AstNode>TemplateParser. start_codeprotected xyz.cofe.fn.Fn1<xyz.cofe.collection.Pointer<xyz.cofe.text.lex.Token>,AstNode>TemplateParser. start_escapeprotected java.util.Map<java.lang.String,xyz.cofe.fn.Fn1<xyz.cofe.collection.Pointer<xyz.cofe.text.lex.Token>,AstNode>>TemplateParser. start_patternsMethods in xyz.cofe.text.template that return AstNode Modifier and Type Method Description AstNodeBasicTemplate. getAst()AST дерева шаблонаAstNodeTemplateParser. parse(java.lang.String source)Парсинг шаблона и формирование соответ AST дереваprotected AstNodeTemplateParser. start(xyz.cofe.collection.Pointer<xyz.cofe.text.lex.Token> ptr)Methods in xyz.cofe.text.template with parameters of type AstNode Modifier and Type Method Description booleanTemplateASTVisitor. enter(AstNode obj)<ResultType, EvalCode, EvalText>
xyz.cofe.fn.Fn0<ResultType>TemplateParser. eval(AstNode tree, xyz.cofe.fn.Fn1<java.lang.String,EvalText> evalText, xyz.cofe.fn.Fn1<java.lang.String,EvalCode> evalCode, xyz.cofe.fn.Fn0<ResultType> initResult, xyz.cofe.fn.Fn2<ResultType,EvalText,ResultType> appendText, xyz.cofe.fn.Fn2<ResultType,EvalCode,ResultType> appendCode)Обход шаблона (AST дерева) и форматирование сообщенияxyz.cofe.fn.Fn0<java.lang.String>TemplateParser. evalAndPrint(AstNode tree, xyz.cofe.fn.Fn1<java.lang.String,java.lang.String> evalCode)Обход шаблона (AST дерева) и форматирование сообщенияxyz.cofe.fn.Fn0<java.lang.String>TemplateParser. evalAndPrint(AstNode tree, xyz.cofe.fn.Fn1<java.lang.String,java.lang.String> evalText, xyz.cofe.fn.Fn1<java.lang.String,java.lang.String> evalCode)Обход шаблона (AST дерева) и форматирование сообщенияvoidTemplateASTVisitor. exit(AstNode obj)voidTemplateASTVisitor. visit(AstNode val)static voidTemplateASTVisitor. visit(AstNode tree, TemplateASTVisitor visitor) -
Uses of AstNode in xyz.cofe.text.template.ast
Subclasses of AstNode in xyz.cofe.text.template.ast Modifier and Type Class Description classBlockAST Блок кодаclassBlockBodyAST тело блока кодаclassCodeAST код вставкаclassEscapeAST - Escape последовательностьclassSequenceAST контейнер - последовательность AST узловclassTextAST - текстовый узелFields in xyz.cofe.text.template.ast declared as AstNode Modifier and Type Field Description AstNodeBlock. bodyAstNodeBlockBody. bodyAstNodeSequence. nextAstNodeSequence. previousFields in xyz.cofe.text.template.ast with type parameters of type AstNode Modifier and Type Field Description static xyz.cofe.collection.NodesExtracter<AstNode,AstNode>AstNode. astNodeExtracterstatic xyz.cofe.collection.NodesExtracter<AstNode,AstNode>AstNode. astNodeExtracterMethods in xyz.cofe.text.template.ast that return AstNode Modifier and Type Method Description protected AstNode[]AstNode. children(AstNode... nodes)Methods in xyz.cofe.text.template.ast with parameters of type AstNode Modifier and Type Method Description protected AstNode[]AstNode. children(AstNode... nodes)static voidAstNode. visit(AstNode tree, xyz.cofe.collection.Visitor<AstNode> visitor)Method parameters in xyz.cofe.text.template.ast with type arguments of type AstNode Modifier and Type Method Description static voidAstNode. visit(AstNode tree, xyz.cofe.collection.Visitor<AstNode> visitor)