~sgdg/stado/stado25

« back to all changes in this revision

Viewing changes to src/org/postgresql/stado/parser/core/syntaxtree/Func_ST_DIMENSION.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
/*****************************************************************************
 
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
 
 
26
package org.postgresql.stado.parser.core.syntaxtree;
 
27
 
 
28
/**
 
29
 * Grammar production:
 
30
 * f0 -> ( <ST_DIMENSION_> | <DIMENSION_> )
 
31
 * f1 -> <PARENTHESIS_START_>
 
32
 * f2 -> SQLArgument(prn)
 
33
 * f3 -> <PARENTHESIS_CLOSE_>
 
34
 */
 
35
public class Func_ST_DIMENSION implements Node {
 
36
   public NodeChoice f0;
 
37
   public NodeToken f1;
 
38
   public SQLArgument f2;
 
39
   public NodeToken f3;
 
40
 
 
41
   public Func_ST_DIMENSION(NodeChoice n0, NodeToken n1, SQLArgument n2, NodeToken n3) {
 
42
      f0 = n0;
 
43
      f1 = n1;
 
44
      f2 = n2;
 
45
      f3 = n3;
 
46
   }
 
47
 
 
48
   public Func_ST_DIMENSION(NodeChoice n0, SQLArgument n1) {
 
49
      f0 = n0;
 
50
      f1 = new NodeToken("(");
 
51
      f2 = n1;
 
52
      f3 = new NodeToken(")");
 
53
   }
 
54
 
 
55
   public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
 
56
      v.visit(this);
 
57
   }
 
58
   public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
 
59
      return v.visit(this,argu);
 
60
   }
 
61
}
 
62