1
/*****************************************************************************
2
* Copyright (C) 2008 EnterpriseDB Corporation.
3
* Copyright (C) 2011 Stado Global Development Group.
5
* This file is part of Stado.
7
* Stado is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* Stado is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with Stado. If not, see <http://www.gnu.org/licenses/>.
20
* You can find Stado at http://www.stado.us
22
****************************************************************************/
23
// Generated by JTB 1.2.2
1
/* Generated by JTB 1.4.4 */
26
2
package org.postgresql.stado.parser.core.syntaxtree;
30
* f0 -> ( <ST_SEGMENTIZE_> | <SEGMENTIZE_> )
31
* f1 -> <PARENTHESIS_START_>
32
* f2 -> SQLArgument(prn)
34
* f4 -> SQLArgument(prn)
35
* f5 -> <PARENTHESIS_CLOSE_>
37
public class Func_ST_SEGMENTIZE implements Node {
40
public SQLArgument f2;
42
public SQLArgument f4;
45
public Func_ST_SEGMENTIZE(NodeChoice n0, NodeToken n1, SQLArgument n2, NodeToken n3, SQLArgument n4, NodeToken n5) {
54
public Func_ST_SEGMENTIZE(NodeChoice n0, SQLArgument n1, SQLArgument n2) {
56
f1 = new NodeToken("(");
58
f3 = new NodeToken(",");
60
f5 = new NodeToken(")");
63
public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
66
public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
67
return v.visit(this,argu);
4
import org.postgresql.stado.parser.core.visitor.*;
6
public class Func_ST_SEGMENTIZE implements INode {
12
public SQLArgument f2;
16
public SQLArgument f4;
20
private static final long serialVersionUID = 144L;
22
public Func_ST_SEGMENTIZE(final NodeChoice n0, final NodeToken n1, final SQLArgument n2, final NodeToken n3, final SQLArgument n4, final NodeToken n5) {
31
public Func_ST_SEGMENTIZE(final NodeChoice n0, final SQLArgument n1, final SQLArgument n2) {
33
f1 = new NodeToken("(");
35
f3 = new NodeToken(",");
37
f5 = new NodeToken(")");
40
public <R, A> R accept(final IRetArguVisitor<R, A> vis, final A argu) {
41
return vis.visit(this, argu);
44
public <R> R accept(final IRetVisitor<R> vis) {
45
return vis.visit(this);
48
public <A> void accept(final IVoidArguVisitor<A> vis, final A argu) {
49
vis.visit(this, argu);
52
public void accept(final IVoidVisitor vis) {