Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ASTCompilationUnit.java

00001 package edu.ksu.cis.bandera.abstraction.predicate.parser;
00002 
00003 /* Generated By:JJTree: Do not edit this line. ASTCompilationUnit.java */
00004 import java.util.*;
00005 
00006 public class ASTCompilationUnit extends SimpleNode {
00007   // Added attributes begin
00008   private LinkedList pred = new LinkedList();
00009   // Added code end
00010 
00011   public ASTCompilationUnit(int id) {
00012     super(id);
00013   }  
00014   public ASTCompilationUnit(PredicateParser p, int id) {
00015     super(p, id);
00016   }  
00017   // Added attributes end
00018 
00019   // Added code begin
00020   public void addPredicate(Predicate p) { pred.addLast(p); }  
00021   public List getPredicate() { return pred; }  
00022   /** Accept the visitor. **/
00023   public Object jjtAccept(PredicateParserVisitor visitor, Object data) {
00024     return visitor.visit(this, data);
00025   }  
00026   public static Node jjtCreate(int id) {
00027       return new ASTCompilationUnit(id);
00028   }  
00029   public static Node jjtCreate(PredicateParser p, int id) {
00030       return new ASTCompilationUnit(p, id);
00031   }  
00032 }

Generated at Thu Feb 7 06:39:52 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001