TSQL::AST::SQLIfStatement - Represents a TSQL If Statement.
Version 0.02
Represents the parsed version/AST of a TSQL If Statement.
See TSQL::AST.
Ded MedVed, <dedmedved at cpan.org>
<dedmedved at cpan.org>
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 condition clause of the While statement.
ifBranch
$if->ifBranch()
TSQL::AST::SQLStatement representing the body of the If statement if-branch.
elseBranch
$if->elseBranch()
Optional TSQL::AST::SQLStatement representing the body of the If statement optional else-branch.
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.
You can find documentation for this module with the perldoc command.
perldoc TSQL::AST::SQLIfStatement
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TSQL::AST
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/TSQL::AST
CPAN Ratings
http://cpanratings.perl.org/d/TSQL::AST
Search CPAN
http://search.cpan.org/dist/TSQL::AST/
None yet.
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.
To install TSQL::AST::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TSQL::AST::Factory
CPAN shell
perl -MCPAN -e shell install TSQL::AST::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.