~sgdg/stado/stado25

« back to all changes in this revision

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

  • Committer: Jim Mlodgenski
  • Date: 2011-08-30 22:39:37 UTC
  • mfrom: (1.1.3 stado)
  • Revision ID: jim@cirrusql.com-20110830223937-25q231a31x0e08b4
Merge from Spatial branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
 
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
 ****************************************************************************/
2
23
// Generated by JTB 1.2.2
3
24
//
4
25
 
12
33
 * f3 -> SelectList(prn)
13
34
 * f4 -> FromClause(prn)
14
35
 * f5 -> [ WhereClause(prn) ]
15
 
 * f6 -> <PARENTHESIS_CLOSE_>
 
36
 * f6 -> [ LimitClause(prn) ]
 
37
 * f7 -> <PARENTHESIS_CLOSE_>
16
38
 */
17
39
public class PseudoColumn implements Node {
18
40
   public NodeToken f0;
21
43
   public SelectList f3;
22
44
   public FromClause f4;
23
45
   public NodeOptional f5;
24
 
   public NodeToken f6;
 
46
   public NodeOptional f6;
 
47
   public NodeToken f7;
25
48
 
26
 
   public PseudoColumn(NodeToken n0, NodeToken n1, NodeOptional n2, SelectList n3, FromClause n4, NodeOptional n5, NodeToken n6) {
 
49
   public PseudoColumn(NodeToken n0, NodeToken n1, NodeOptional n2, SelectList n3, FromClause n4, NodeOptional n5, NodeOptional n6, NodeToken n7) {
27
50
      f0 = n0;
28
51
      f1 = n1;
29
52
      f2 = n2;
31
54
      f4 = n4;
32
55
      f5 = n5;
33
56
      f6 = n6;
 
57
      f7 = n7;
34
58
   }
35
59
 
36
 
   public PseudoColumn(NodeOptional n0, SelectList n1, FromClause n2, NodeOptional n3) {
 
60
   public PseudoColumn(NodeOptional n0, SelectList n1, FromClause n2, NodeOptional n3, NodeOptional n4) {
37
61
      f0 = new NodeToken("(");
38
62
      f1 = new NodeToken("SELECT");
39
63
      f2 = n0;
40
64
      f3 = n1;
41
65
      f4 = n2;
42
66
      f5 = n3;
43
 
      f6 = new NodeToken(")");
 
67
      f6 = n4;
 
68
      f7 = new NodeToken(")");
44
69
   }
45
70
 
46
71
   public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {