Class IfAST

java.lang.Object
xyz.cofe.cxel.ast.ASTBase<IfAST>
xyz.cofe.cxel.ast.IfAST
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 IfAST
extends ASTBase<IfAST>
Условный оператор (тренарный)
  • 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 condition  
    protected AST failure  
    protected AST success  

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

    begin, end
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected IfAST()  
    protected IfAST​(IfAST sample)  
      IfAST​(xyz.cofe.text.tparse.TPointer begin, xyz.cofe.text.tparse.TPointer end, AST condition, AST success, AST failure)  
  • Method Summary

    Modifier and Type Method Description
    AST[] children()
    Возвращает дочерние узлы
    IfAST clone()
    Клонирование AST узла
    AST condition()  
    IfAST condition​(AST newCondition)  
    AST failure()  
    IfAST failure​(AST newFailure)  
    AST success()  
    IfAST success​(AST newSuccess)  

    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