JFlexTokenizer.java revision eb11fe3584b7b243fb0641da4ab2e157610bb767
2ronwalf * The contents of this file are subject to the terms of the 2ronwalf * Common Development and Distribution License (the "License"). 2ronwalf * You may not use this file except in compliance with the License. 2ronwalf * language governing permissions and limitations under the License. 2ronwalf * When distributing Covered Code, include this CDDL HEADER in each 2ronwalf * If applicable, add the following below this CDDL HEADER, with the 2ronwalf * fields enclosed by brackets "[]" replaced with your own identifying 2ronwalf * information: Portions Copyright [yyyy] [name of copyright owner] 2ronwalf * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved. 2ronwalf * Generally this is a "template" for all new Tokenizers, so be careful when 2ronwalf * changing it, it will impact almost ALL symbol tokenizers in OpenGrok ... 2ronwalf // default jflex scanner methods and variables 2ronwalf //TODO can be removed once we figure out jflex generation of empty constructor 2ronwalf * Reinitialize the tokenizer with new reader. 2ronwalf * This will re-initalize internal AttributeImpls, or it returns false if 2ronwalf * @return false if no more tokens, otherwise true //FIXME increasing below by one(default) might be tricky, need more analysis // after lucene upgrade to 3.5 below is most probably not even needed