Skip to content

Commit 3e75c68

Browse files
committed
introduced linking between Function and ASTNode
1 parent e96f485 commit 3e75c68

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

src/main/java/net/sf/jsqlparser/expression/Function.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
package net.sf.jsqlparser.expression;
2323

2424
import net.sf.jsqlparser.expression.operators.relational.ExpressionList;
25+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2526

2627
/**
2728
* A function as MAX,COUNT...
2829
*/
29-
public class Function implements Expression {
30+
public class Function extends ASTNodeAccessImpl implements Expression {
3031

3132
private String name;
3233
private ExpressionList parameters;

src/main/java/net/sf/jsqlparser/parser/ASTNodeAccessImpl.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,6 @@
1919
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
2020
* #L%
2121
*/
22-
/*
23-
* Copyright (C) 2015 JSQLParser.
24-
*
25-
* This library is free software; you can redistribute it and/or
26-
* modify it under the terms of the GNU Lesser General Public
27-
* License as published by the Free Software Foundation; either
28-
* version 2.1 of the License, or (at your option) any later version.
29-
*
30-
* This library is distributed in the hope that it will be useful,
31-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
32-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33-
* Lesser General Public License for more details.
34-
*
35-
* You should have received a copy of the GNU Lesser General Public
36-
* License along with this library; if not, write to the Free Software
37-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
38-
* MA 02110-1301 USA
39-
*/
4022
package net.sf.jsqlparser.parser;
4123

4224
/**

0 commit comments

Comments
 (0)