NAME
TSQL::AST::SQLIfStatement - Represents a TSQL If Statement.
VERSION
Version 0.01
SYNOPSIS
Represents the parsed version/AST of a TSQL If Statement.
DESCRIPTION
See TSQL::AST.
DEPENDENCIES
See TSQL::AST.
AUTHOR
Ded MedVed, <dedmedved at cpan.org>
BUGS
See TSQL::AST.
METHODS
new
TSQL::AST::SQLIfStatement->new()
It creates and returns a new TSQL::AST::SQLIfStatement object.
parse
$if->parse( integer index into array, array of sqlfragments )
This is the method which parses the split up SQL code.
condition
$if->condition()
TSQL::AST::SQLConditionalExpression representing the condtion clause of the While statement.
ifBranch
$if->ifBranch()
TSQL::AST::SQLStatement representing the body of the If statement if-branch.
elseBranch
$if->elseBranch()
TSQL::AST::SQLStatement representing the body of the If statement else-branch.
LIMITATIONS
No limitations are currently known, as far as the intended usage is concerned. You *are* bound to uncover a large number of problems.
Please report any problematic cases.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc TSQL::AST
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
None yet.
SEE ALSO
LICENSE AND COPYRIGHT
Copyright 2012 Ded MedVed.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.