~sgdg/stado/stado

« back to all changes in this revision

Viewing changes to src/org/postgresql/stado/parser/core/syntaxtree/WithList.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 -> WithDef(prn)
10
 
 * f1 -> ( "," WithDef(prn) )*
11
 
 */
12
 
public class WithList implements Node {
13
 
   public WithDef f0;
14
 
   public NodeListOptional f1;
15
 
 
16
 
   public WithList(WithDef n0, NodeListOptional n1) {
17
 
      f0 = n0;
18
 
      f1 = n1;
19
 
   }
20
 
 
21
 
   public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
22
 
      v.visit(this);
23
 
   }
24
 
   public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
25
 
      return v.visit(this,argu);
26
 
   }
 
4
import org.postgresql.stado.parser.core.visitor.*;
 
5
 
 
6
public class WithList implements INode {
 
7
 
 
8
  public WithDef f0;
 
9
 
 
10
  public NodeListOptional f1;
 
11
 
 
12
  private static final long serialVersionUID = 144L;
 
13
 
 
14
  public WithList(final WithDef n0, final NodeListOptional n1) {
 
15
    f0 = n0;
 
16
    f1 = n1;
 
17
  }
 
18
 
 
19
  public <R, A> R accept(final IRetArguVisitor<R, A> vis, final A argu) {
 
20
    return vis.visit(this, argu);
 
21
  }
 
22
 
 
23
  public <R> R accept(final IRetVisitor<R> vis) {
 
24
    return vis.visit(this);
 
25
  }
 
26
 
 
27
  public <A> void accept(final IVoidArguVisitor<A> vis, final A argu) {
 
28
    vis.visit(this, argu);
 
29
  }
 
30
 
 
31
  public void accept(final IVoidVisitor vis) {
 
32
    vis.visit(this);
 
33
  }
 
34
 
27
35
}
28