1
2
3 package org.osoco.dyninc.parser;
4
5 import org.osoco.dyninc.Context;
6
7
8 public class ASTFalseNode extends SimpleNode {
9 public ASTFalseNode(int id) {
10 super(id);
11 }
12
13 public ASTFalseNode(Parser p, int id) {
14 super(p, id);
15 }
16
17 public static Node jjtCreate(int id) {
18 return new ASTFalseNode(id);
19 }
20
21 public static Node jjtCreate(Parser p, int id) {
22 return new ASTFalseNode(p, id);
23 }
24
25 /*** Accept the visitor. **/
26 public Object jjtAccept(ParserVisitor visitor, Object data) {
27 return visitor.visit(this, data);
28 }
29
30
31
32
33 protected Object getValue(Context context, Object current) throws Exception {
34 return Boolean.FALSE;
35 }
36
37 }