Class AstNode

java.lang.Object
xyz.cofe.text.template.ast.AstNode
All Implemented Interfaces:
xyz.cofe.collection.GetTreeParent<AstNode>, xyz.cofe.collection.ImTree<AstNode>, xyz.cofe.collection.ImTreeWalk<AstNode>, xyz.cofe.collection.IndexTree<AstNode>, xyz.cofe.collection.Tree<AstNode>, xyz.cofe.collection.TreeNotify<AstNode>, xyz.cofe.collection.UpTree<AstNode>
Direct Known Subclasses:
Block, BlockBody, Code, Escape, Sequence, Text

public abstract class AstNode
extends java.lang.Object
implements xyz.cofe.collection.IndexTree<AstNode>
Узел AST дерева
Author:
nt.gocha@gmail.com
  • Nested Class Summary

    Nested classes/interfaces inherited from interface xyz.cofe.collection.ImTreeWalk

    xyz.cofe.collection.ImTreeWalk.Walk<A extends xyz.cofe.collection.ImTree<? extends A>>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static xyz.cofe.collection.NodesExtracter<AstNode,​AstNode> astNodeExtracter  
  • Constructor Summary

    Constructors 
    Constructor Description
    AstNode()  
  • Method Summary

    Modifier and Type Method Description
    protected AstNode[] children​(AstNode... nodes)  
    static void visit​(AstNode tree, xyz.cofe.collection.Visitor<AstNode> visitor)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface xyz.cofe.collection.ImTreeWalk

    walk

    Methods inherited from interface xyz.cofe.collection.IndexTree

    deepOffset, getNodesCount, getRootOffset, treeNotify

    Methods inherited from interface xyz.cofe.collection.Tree

    clear, count, get, nodes

    Methods inherited from interface xyz.cofe.collection.TreeNotify

    addTreeListener, addTreeListener, getTreeListeners, listen, removeAllTreeListeners, removeTreeListener

    Methods inherited from interface xyz.cofe.collection.UpTree

    append, appends, appends, compareAndSetParent, delete, deletes, deletes, getNextSibling, getParent, getPreviousSibling, getSibIndex, insert, inserts, inserts, level, path, remove, removes, removes, set, setParent, sets, sets, sibling