Class TernaryExpr

  • All Implemented Interfaces:
    AstNode, Expr

    public abstract class TernaryExpr
    extends Object
    implements Expr
    • Constructor Detail

      • TernaryExpr

        public TernaryExpr()
    • Method Detail

      • conditionExpr

        public abstract Expr conditionExpr()
      • thenExpr

        public abstract Expr thenExpr()
      • elseExpr

        public abstract Expr elseExpr()
      • accept

        public void accept​(AstNodeVisitor visitor)
        Description copied from interface: AstNode
        Writes the syntatically-correct Java code representation of this node.
        Specified by:
        accept in interface AstNode
        Specified by:
        accept in interface Expr