~sgdg/stado/stado30

« back to all changes in this revision

Viewing changes to src/org/postgresql/stado/parser/core/syntaxtree/Func_SetBit.java

  • Committer: Jim Mlodgenski
  • Date: 2011-11-09 20:39:51 UTC
  • Revision ID: jim@cirrusql.com-20111109203951-bpj0woiwl76xkezn
Changes necessary to handle the updated versions of JTB and JavaCC

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************
2
 
 * Copyright (C) 2008 EnterpriseDB Corporation.
3
 
 * Copyright (C) 2011 Stado Global Development Group.
4
 
 *
5
 
 * This file is part of Stado.
6
 
 *
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.
11
 
 *
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.
16
 
 *
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/>.
19
 
 *
20
 
 * You can find Stado at http://www.stado.us
21
 
 *
22
 
 ****************************************************************************/
23
 
// Generated by JTB 1.2.2
24
 
//
25
 
 
 
1
/* Generated by JTB 1.4.4 */
26
2
package org.postgresql.stado.parser.core.syntaxtree;
27
3
 
28
 
/**
29
 
 * Grammar production:
30
 
 * f0 -> <SET_BIT_>
31
 
 * f1 -> <PARENTHESIS_START_>
32
 
 * f2 -> SQLArgument(prn)
33
 
 * f3 -> ","
34
 
 * f4 -> SQLArgument(prn)
35
 
 * f5 -> ","
36
 
 * f6 -> SQLArgument(prn)
37
 
 * f7 -> <PARENTHESIS_CLOSE_>
38
 
 */
39
 
public class Func_SetBit implements Node {
40
 
   public NodeToken f0;
41
 
   public NodeToken f1;
42
 
   public SQLArgument f2;
43
 
   public NodeToken f3;
44
 
   public SQLArgument f4;
45
 
   public NodeToken f5;
46
 
   public SQLArgument f6;
47
 
   public NodeToken f7;
48
 
 
49
 
   public Func_SetBit(NodeToken n0, NodeToken n1, SQLArgument n2, NodeToken n3, SQLArgument n4, NodeToken n5, SQLArgument n6, NodeToken n7) {
50
 
      f0 = n0;
51
 
      f1 = n1;
52
 
      f2 = n2;
53
 
      f3 = n3;
54
 
      f4 = n4;
55
 
      f5 = n5;
56
 
      f6 = n6;
57
 
      f7 = n7;
58
 
   }
59
 
 
60
 
   public Func_SetBit(SQLArgument n0, SQLArgument n1, SQLArgument n2) {
61
 
      f0 = new NodeToken("SET_BIT");
62
 
      f1 = new NodeToken("(");
63
 
      f2 = n0;
64
 
      f3 = new NodeToken(",");
65
 
      f4 = n1;
66
 
      f5 = new NodeToken(",");
67
 
      f6 = n2;
68
 
      f7 = new NodeToken(")");
69
 
   }
70
 
 
71
 
   public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
72
 
      v.visit(this);
73
 
   }
74
 
   public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
75
 
      return v.visit(this,argu);
76
 
   }
 
4
import org.postgresql.stado.parser.core.visitor.*;
 
5
 
 
6
public class Func_SetBit implements INode {
 
7
 
 
8
  public NodeToken f0;
 
9
 
 
10
  public NodeToken f1;
 
11
 
 
12
  public SQLArgument f2;
 
13
 
 
14
  public NodeToken f3;
 
15
 
 
16
  public SQLArgument f4;
 
17
 
 
18
  public NodeToken f5;
 
19
 
 
20
  public SQLArgument f6;
 
21
 
 
22
  public NodeToken f7;
 
23
 
 
24
  private static final long serialVersionUID = 144L;
 
25
 
 
26
  public Func_SetBit(final NodeToken n0, final NodeToken n1, final SQLArgument n2, final NodeToken n3, final SQLArgument n4, final NodeToken n5, final SQLArgument n6, final NodeToken n7) {
 
27
    f0 = n0;
 
28
    f1 = n1;
 
29
    f2 = n2;
 
30
    f3 = n3;
 
31
    f4 = n4;
 
32
    f5 = n5;
 
33
    f6 = n6;
 
34
    f7 = n7;
 
35
  }
 
36
 
 
37
  public Func_SetBit(final SQLArgument n0, final SQLArgument n1, final SQLArgument n2) {
 
38
    f0 = new NodeToken("SET_BIT");
 
39
    f1 = new NodeToken("(");
 
40
    f2 = n0;
 
41
    f3 = new NodeToken(",");
 
42
    f4 = n1;
 
43
    f5 = new NodeToken(",");
 
44
    f6 = n2;
 
45
    f7 = new NodeToken(")");
 
46
  }
 
47
 
 
48
  public <R, A> R accept(final IRetArguVisitor<R, A> vis, final A argu) {
 
49
    return vis.visit(this, argu);
 
50
  }
 
51
 
 
52
  public <R> R accept(final IRetVisitor<R> vis) {
 
53
    return vis.visit(this);
 
54
  }
 
55
 
 
56
  public <A> void accept(final IVoidArguVisitor<A> vis, final A argu) {
 
57
    vis.visit(this, argu);
 
58
  }
 
59
 
 
60
  public void accept(final IVoidVisitor vis) {
 
61
    vis.visit(this);
 
62
  }
 
63
 
77
64
}
78