Class TExitStmt
- Namespace
- gudusoft.gsqlparser.stmt
- Assembly
- gudusoft.gsqlparser.dll
The EXIT statement exits a loop and transfers control to the end of the loop. The EXIT statement has two forms: the unconditional EXIT and the conditional EXIT WHEN.
public class TExitStmt : TCustomSqlStatement, Visitable
- Inheritance
-
TExitStmt
- Implements
- Inherited Members
Constructors
TExitStmt()
public TExitStmt()
TExitStmt(EDbVendor)
public TExitStmt(EDbVendor dbvendor)
Parameters
dbvendorEDbVendor
Properties
ExitlabelName
public virtual TObjectName ExitlabelName { get; set; }
Property Value
WhenCondition
Valid only in the conditional EXIT WHEN.
public virtual TExpression WhenCondition { get; set; }
Property Value
- TExpression
If and only if the value of this expression is TRUE, the current loop (or the loop labeled by label_name) is exited immediately.
Methods
accept(TParseTreeVisitor)
public override void accept(TParseTreeVisitor v)
Parameters
acceptChildren(TParseTreeVisitor)
public override void acceptChildren(TParseTreeVisitor v)
Parameters
doParseStatement(TCustomSqlStatement)
analyze SQL
public override int doParseStatement(TCustomSqlStatement psql)
Parameters
psqlTCustomSqlStatement
Returns
init(object)
Initialize a query tree node.
public override void init(object arg1)
Parameters
arg1object
setExitlabelName(TObjectName)
public void setExitlabelName(TObjectName n)