Class ReturnExpr

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

public abstract class ReturnExpr extends Object implements Expr
  • Constructor Details

    • ReturnExpr

      public ReturnExpr()
  • Method Details

    • expr

      public abstract Expr expr()
    • 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
    • withExpr

      public static ReturnExpr withExpr(Expr expr)