1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/*****************************************************************************
* Copyright (C) 2008 EnterpriseDB Corporation.
* Copyright (C) 2011 Stado Global Development Group.
*
* This file is part of Stado.
*
* Stado is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Stado is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Stado. If not, see <http://www.gnu.org/licenses/>.
*
* You can find Stado at http://www.stado.us
*
****************************************************************************/
// Generated by JTB 1.2.2
//
package org.postgresql.stado.parser.core.syntaxtree;
/**
* Grammar production:
* f0 -> <SIN_>
* f1 -> <PARENTHESIS_START_>
* f2 -> SQLArgument(prn)
* f3 -> <PARENTHESIS_CLOSE_>
*/
public class Func_Sin implements Node {
public NodeToken f0;
public NodeToken f1;
public SQLArgument f2;
public NodeToken f3;
public Func_Sin(NodeToken n0, NodeToken n1, SQLArgument n2, NodeToken n3) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
}
public Func_Sin(SQLArgument n0) {
f0 = new NodeToken("SIN");
f1 = new NodeToken("(");
f2 = n0;
f3 = new NodeToken(")");
}
public void accept(org.postgresql.stado.parser.core.visitor.Visitor v) {
v.visit(this);
}
public Object accept(org.postgresql.stado.parser.core.visitor.ObjectVisitor v, Object argu) {
return v.visit(this,argu);
}
}
|