View Javadoc
1 /* FOREGEJ - FOrmatting REfactoring GEnerating Java 2 * 3 * Copyright (C) 2003 Andreas Arrgard 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 package com.octagroup.foregej.java.doc; 20 import antlr.ParserSharedInputState; 21 import antlr.RecognitionException; 22 import antlr.TokenBuffer; 23 import antlr.TokenStream; 24 /*** 25 */ 26 public abstract class JavaDocParserBase extends antlr.LLkParser 27 { 28 /*** 29 * set to true if this parser has determined eny errors. 30 */ 31 private boolean hasErrors_=false; 32 /*** 33 * @param arg0 34 */ 35 public JavaDocParserBase(int arg0) 36 { 37 super(arg0); 38 } 39 /*** 40 * @param arg0 41 * @param arg1 42 */ 43 public JavaDocParserBase(ParserSharedInputState arg0,int arg1) 44 { 45 super(arg0, arg1); 46 } 47 /*** 48 * @param arg0 49 * @param arg1 50 */ 51 public JavaDocParserBase(TokenBuffer arg0,int arg1) 52 { 53 super(arg0, arg1); 54 } 55 /*** 56 * @param arg0 57 * @param arg1 58 */ 59 public JavaDocParserBase(TokenStream arg0,int arg1) 60 { 61 super(arg0, arg1); 62 } 63 /*** 64 * @param ex 65 */ 66 public void reportError(RecognitionException ex) 67 { 68 hasErrors_=true; 69 super.reportError(ex); 70 } 71 /*** 72 * Returns true if the parser has stumbled upon an error. 73 * 74 * @return true if the parser has stumbled upon an error. 75 */ 76 public boolean isErrornous() 77 { 78 return hasErrors_; 79 } 80 }

This page was automatically generated by Maven