Class Block

java.lang.Object
xyz.cofe.text.template.ast.AstNode
xyz.cofe.text.template.ast.Block
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>

public class Block
extends 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
    xyz.cofe.text.lex.Token begin  
    AstNode body  
    xyz.cofe.text.lex.Token end  

    Fields inherited from class xyz.cofe.text.template.ast.AstNode

    astNodeExtracter
  • Constructor Summary

    Constructors 
    Constructor Description
    Block​(xyz.cofe.text.lex.Token begin, AstNode body, xyz.cofe.text.lex.Token end)  
  • Method Summary

    Methods inherited from class xyz.cofe.text.template.ast.AstNode

    children, visit

    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
  • Field Details

    • begin

      public final xyz.cofe.text.lex.Token begin
    • body

      public final AstNode body
    • end

      public final xyz.cofe.text.lex.Token end
  • Constructor Details

    • Block

      public Block​(xyz.cofe.text.lex.Token begin, AstNode body, xyz.cofe.text.lex.Token end)