Class IndexAST

java.lang.Object
xyz.cofe.cxel.ast.ASTBase<IndexAST>
xyz.cofe.cxel.ast.IndexAST
All Implemented Interfaces:
xyz.cofe.collection.ImTree<AST>, xyz.cofe.collection.ImTreeWalk<AST>, AST, xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>

public class IndexAST
extends ASTBase<IndexAST>
Доступ к элементу массива
  • 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 AST base  
    protected AST index  

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

    begin, end
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected IndexAST()  
    protected IndexAST​(IndexAST sample)  
      IndexAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, AST index)  
  • Method Summary

    Modifier and Type Method Description
    AST base()  
    AST[] children()
    Возвращает дочерние узлы
    IndexAST clone()
    Клонирование AST узла
    AST index()  

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

    begin, children, children, 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

    • IndexAST

      protected IndexAST()
    • IndexAST

      protected IndexAST​(IndexAST sample)
    • IndexAST

      public IndexAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, AST index)
  • Method Details

    • clone

      public IndexAST clone()
      Description copied from class: ASTBase
      Клонирование AST узла
      Specified by:
      clone in class ASTBase<IndexAST>
      Returns:
      клон
    • base

      public AST base()
    • index

      public AST index()
    • children

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