Interface AST

All Superinterfaces:
xyz.cofe.collection.ImTree<AST>, xyz.cofe.collection.ImTreeWalk<AST>, xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>
All Known Subinterfaces:
LiteralAST
All Known Implementing Classes:
ASTBase, BinaryOpAST, BooleanAST, CallAST, IfAST, IndexAST, KeywordAST, ListAST, MapAST, MapEntryAST, MapExprEntreyAST, MapLiteralEntreyAST, MapPropEntreyAST, NullAST, NumberAST, OpAST, ParenthesAST, PropertyAST, StringAST, UnaryOpAST, VarRefAST

public interface AST
extends xyz.cofe.text.tparse.Tok<xyz.cofe.text.tparse.TPointer>, xyz.cofe.collection.ImTree<AST>, xyz.cofe.collection.ImTreeWalk<AST>
Описывает узел AST
  • 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>>
  • Method Summary

    Modifier and Type Method Description
    AST[] children()
    Возвращает дочерние узлы
    default xyz.cofe.iter.Eterable<AST> nodes()  

    Methods inherited from interface xyz.cofe.collection.ImTreeWalk

    walk

    Methods inherited from interface xyz.cofe.text.tparse.Tok

    begin, end
  • Method Details

    • children

      AST[] children()
      Возвращает дочерние узлы
      Returns:
      дочерние узлы
    • nodes

      default xyz.cofe.iter.Eterable<AST> nodes()
      Specified by:
      nodes in interface xyz.cofe.collection.ImTree<AST>