Class PropertyAST

java.lang.Object
xyz.cofe.cxel.ast.ASTBase<PropertyAST>
xyz.cofe.cxel.ast.PropertyAST
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 PropertyAST
extends ASTBase<PropertyAST>
Чтение свойства объекта
  • 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 IdTok idTok
    имя свойства (идентификатор)

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

    begin, end
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected PropertyAST()
    Конструктор по умолчанию
    protected PropertyAST​(PropertyAST sample)
    Конструктор копирования
      PropertyAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, IdTok idTok)
    Конструктор
  • Method Summary

    Modifier and Type Method Description
    AST base()
    объект чье свойство интересует
    AST[] children()
    Возвращает дочерние узлы
    PropertyAST clone()
    Клонирование AST узла
    IdTok idTok()
    Возвращает имя свойства (идентификатор)
    java.lang.String property()
    Возвращает имя свойства

    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

    • base

      protected AST base
    • idTok

      protected IdTok idTok
      имя свойства (идентификатор)
  • Constructor Details

    • PropertyAST

      protected PropertyAST()
      Конструктор по умолчанию
    • PropertyAST

      protected PropertyAST​(PropertyAST sample)
      Конструктор копирования
      Parameters:
      sample - образец
    • PropertyAST

      public PropertyAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST base, IdTok idTok)
      Конструктор
      Parameters:
      begin - начало
      end - конец
      base - объект чье свойство интересует
      idTok - имя свойства
  • Method Details

    • clone

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

      public AST base()
      объект чье свойство интересует
      Returns:
      объект
    • idTok

      public IdTok idTok()
      Возвращает имя свойства (идентификатор)
      Returns:
      имя свойства (идентификатор)
    • property

      public java.lang.String property()
      Возвращает имя свойства
      Returns:
      имя свойства
    • children

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