Class TernaryExpr

java.lang.Object
com.google.api.generator.engine.ast.TernaryExpr
All Implemented Interfaces:
AstNode, Expr

public abstract class TernaryExpr extends Object implements Expr
  • Constructor Details

    • TernaryExpr

      public TernaryExpr()
  • Method Details

    • conditionExpr

      public abstract Expr conditionExpr()
    • thenExpr

      public abstract Expr thenExpr()
    • elseExpr

      public abstract Expr elseExpr()
    • type

      public TypeNode type()
      Specified by:
      type in interface Expr
    • 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
    • builder

      public static TernaryExpr.Builder builder()