~sgdg/stado/stado

« back to all changes in this revision

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

  • Committer: Andrei Martsinchyk
  • Date: 2013-04-22 15:04:09 UTC
  • mfrom: (9.1.2 stado30)
  • Revision ID: andrei.martsinchyk@gmail.com-20130422150409-cv4i89c21bbgvby1
Merge in 3.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// Generated by JTB 1.2.2
3
 
//
4
 
 
 
1
/* Generated by JTB 1.4.4 */
5
2
package org.postgresql.stado.parser.core.syntaxtree;
6
3
 
7
 
/**
8
 
 * Grammar production:
9
 
 * f0 -> ( <ST_ROTATEZ_> | <ROTATEZ_> | <ST_ROTATE_> | <ROTATE_> )
10
 
 * f1 -> <PARENTHESIS_START_>
11
 
 * f2 -> SQLArgument(prn)
12
 
 * f3 -> ","
13
 
 * f4 -> SQLArgument(prn)
14
 
 * f5 -> <PARENTHESIS_CLOSE_>
15
 
 */
16
 
public class Func_ST_ROTATEZ implements Node {
17
 
   public NodeChoice f0;
18
 
   public NodeToken f1;
19
 
   public SQLArgument f2;
20
 
   public NodeToken f3;
21
 
   public SQLArgument f4;
22
 
   public NodeToken f5;
23
 
 
24
 
   public Func_ST_ROTATEZ(NodeChoice n0, NodeToken n1, SQLArgument n2, NodeToken n3, SQLArgument n4, NodeToken n5) {
25
 
      f0 = n0;
26
 
      f1 = n1;
27
 
      f2 = n2;
28
 
      f3 = n3;
29
 
      f4 = n4;
30
 
      f5 = n5;
31
 
   }
32
 
 
33
 
   public Func_ST_ROTATEZ(NodeChoice n0, SQLArgument n1, SQLArgument n2) {
34
 
      f0 = n0;
35
 
      f1 = new NodeToken("(");
36
 
      f2 = n1;
37
 
      f3 = new NodeToken(",");
38
 
      f4 = n2;
39
 
      f5 = new NodeToken(")");
40
 
   }
41
 
 
42
 
   public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
43
 
      v.visit(this);
44
 
   }
45
 
   public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
46
 
      return v.visit(this,argu);
47
 
   }
 
4
import org.postgresql.stado.parser.core.visitor.*;
 
5
 
 
6
public class Func_ST_ROTATEZ implements INode {
 
7
 
 
8
  public NodeChoice 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
  private static final long serialVersionUID = 144L;
 
21
 
 
22
  public Func_ST_ROTATEZ(final NodeChoice n0, final NodeToken n1, final SQLArgument n2, final NodeToken n3, final SQLArgument n4, final NodeToken n5) {
 
23
    f0 = n0;
 
24
    f1 = n1;
 
25
    f2 = n2;
 
26
    f3 = n3;
 
27
    f4 = n4;
 
28
    f5 = n5;
 
29
  }
 
30
 
 
31
  public Func_ST_ROTATEZ(final NodeChoice n0, final SQLArgument n1, final SQLArgument n2) {
 
32
    f0 = n0;
 
33
    f1 = new NodeToken("(");
 
34
    f2 = n1;
 
35
    f3 = new NodeToken(",");
 
36
    f4 = n2;
 
37
    f5 = new NodeToken(")");
 
38
  }
 
39
 
 
40
  public <R, A> R accept(final IRetArguVisitor<R, A> vis, final A argu) {
 
41
    return vis.visit(this, argu);
 
42
  }
 
43
 
 
44
  public <R> R accept(final IRetVisitor<R> vis) {
 
45
    return vis.visit(this);
 
46
  }
 
47
 
 
48
  public <A> void accept(final IVoidArguVisitor<A> vis, final A argu) {
 
49
    vis.visit(this, argu);
 
50
  }
 
51
 
 
52
  public void accept(final IVoidVisitor vis) {
 
53
    vis.visit(this);
 
54
  }
 
55
 
48
56
}
49