Table of Contents

Class TReturnStmt

Namespace
gudusoft.gsqlparser.stmt
Assembly
gudusoft.gsqlparser.dll

The RETURN statement immediately completes the execution of a subprogram and returns control to the invoker

public class TReturnStmt : TCustomSqlStatement, Visitable
Inheritance
TReturnStmt
Implements
Inherited Members

Constructors

TReturnStmt()

public TReturnStmt()

TReturnStmt(EDbVendor)

public TReturnStmt(EDbVendor dbvendor)

Parameters

dbvendor EDbVendor

Properties

Expression

A combination of variables, constants, literals, operators, and function calls. The simplest expression consists of a single variable. When the RETURN statement is executed, the value of expression is assigned to the function identifier. @return

public virtual TExpression Expression { get; set; }

Property Value

TExpression

Methods

accept(TParseTreeVisitor)

public override void accept(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

acceptChildren(TParseTreeVisitor)

public override void acceptChildren(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

doParseStatement(TCustomSqlStatement)

analyze SQL

public override int doParseStatement(TCustomSqlStatement psql)

Parameters

psql TCustomSqlStatement

Returns

int

init(object)

Initialize a query tree node.

public override void init(object arg1)

Parameters

arg1 object