- 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>>
-
-
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
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
-
-
Constructor Details
-
-
protected IfAST(
IfAST sample)
-
public IfAST(
xyz.cofe.text.tparse.TPointer begin,
xyz.cofe.text.tparse.TPointer end,
AST condition,
AST success,
AST failure)
-
Method Details
-
-
Description copied from interface: AST
Возвращает дочерние узлы
- Returns:
- дочерние узлы
-
-
public IfAST condition(
AST newCondition)
-
-
-
-