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.CharScanner; 21 import antlr.InputBuffer; 22 import antlr.LexerSharedInputState; 23 import antlr.Token; 24 /*** 25 */ 26 public abstract class JavaDocLexerBase extends CharScanner 27 { 28 /*** 29 */ 30 public JavaDocLexerBase() 31 { 32 super(); 33 tokenObjectClass=JavaDocToken.class; 34 } 35 /*** 36 */ 37 public JavaDocLexerBase(InputBuffer arg0) 38 { 39 super(arg0); 40 tokenObjectClass=JavaDocToken.class; 41 } 42 /*** 43 */ 44 public JavaDocLexerBase(LexerSharedInputState arg0) 45 { 46 super(arg0); 47 tokenObjectClass=JavaDocToken.class; 48 } 49 /*** 50 * makes a new token. 51 * 52 * @param type 53 * @return 54 */ 55 public Token makeToken(int type) 56 { 57 JavaDocToken token=(JavaDocToken)super.makeToken(type); 58 //System.out.println("Created token:" + token); 59 return token; 60 } 61 }

This page was automatically generated by Maven