File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
javacc/net/sf/jsqlparser/parser
java/net/sf/jsqlparser/statement/execute Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 2121 */
2222package net .sf .jsqlparser .statement .execute ;
2323
24+ import net .sf .jsqlparser .expression .operators .relational .ExpressionList ;
2425import net .sf .jsqlparser .statement .Statement ;
2526import net .sf .jsqlparser .statement .StatementVisitor ;
2627
3031 */
3132public class Execute implements Statement {
3233
34+ private String name ;
35+ private ExpressionList exprList ;
36+
37+ public String getName () {
38+ return name ;
39+ }
40+
41+ public void setName (String name ) {
42+ this .name = name ;
43+ }
44+
45+ public ExpressionList getExprList () {
46+ return exprList ;
47+ }
48+
49+ public void setExprList (ExpressionList exprList ) {
50+ this .exprList = exprList ;
51+ }
52+
3353 @ Override
3454 public void accept (StatementVisitor statementVisitor ) {
3555 statementVisitor .visit (this );
Original file line number Diff line number Diff line change @@ -1938,11 +1938,14 @@ Execute Execute(): {
19381938{
19391939 (<K_EXEC> | <K_EXECUTE>)
19401940
1941- funcName=RelObjectName()
1941+ funcName=RelObjectName() { execute.setName(funcName); }
19421942
19431943 [ expressionList=SimpleExpressionList() ]
19441944
1945- { return execute; }
1945+ {
1946+ execute.setExprList(expressionList);
1947+ return execute;
1948+ }
19461949}
19471950
19481951Function Function():
You can’t perform that action at this time.
0 commit comments