Class MapEntryAST<KEY extends AST,​SELF extends MapEntryAST<KEY,​SELF>>

java.lang.Object
xyz.cofe.cxel.ast.ASTBase<SELF>
xyz.cofe.cxel.ast.MapEntryAST<KEY,​SELF>
All Implemented Interfaces:
xyz.cofe.collection.ImTree<AST>, xyz.cofe.collection.ImTreeWalk<AST>, AST, xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>
Direct Known Subclasses:
MapExprEntreyAST, MapLiteralEntreyAST, MapPropEntreyAST

public abstract class MapEntryAST<KEY extends AST,​SELF extends MapEntryAST<KEY,​SELF>>
extends ASTBase<SELF>
  • 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
    protected KEY key  
    protected AST value  

    Fields inherited from class xyz.cofe.cxel.ast.ASTBase

    begin, end
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected MapEntryAST()  
    protected MapEntryAST​(SELF sample)  
      MapEntryAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, KEY key, AST value)  
  • Method Summary

    Modifier and Type Method Description
    AST[] children()
    Возвращает дочерние узлы
    KEY key()  
    SELF key​(KEY newKey)  
    AST value()  
    SELF value​(AST newValue)  

    Methods inherited from class xyz.cofe.cxel.ast.ASTBase

    begin, children, children, clone, cloneAndConf, emptyChildren, end

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface xyz.cofe.cxel.ast.AST

    nodes

    Methods inherited from interface xyz.cofe.collection.ImTreeWalk

    walk
  • Field Details

  • Constructor Details

  • Method Details

    • key

      public KEY key()
    • key

      public SELF key​(KEY newKey)
    • value

      public AST value()
    • value

      public SELF value​(AST newValue)
    • children

      public AST[] children()
      Description copied from interface: AST
      Возвращает дочерние узлы
      Returns:
      дочерние узлы