org.codehaus.mojo.jflex

Class LexSimpleAnalyzer

public class LexSimpleAnalyzer extends Object

Field Summary
static StringDEFAULT_NAME
Method Summary
protected static ClassInfoguessPackageAndClass(File lexFile)
Guess the package and class name, based on this grammar definition.

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME

Method Detail

guessPackageAndClass

protected static ClassInfo guessPackageAndClass(File lexFile)
Guess the package and class name, based on this grammar definition. Does not overide the Mojo configuration if it exist.

Returns: The name of the java code to generate. Credit goes to the authors of the maven-jlex-plugin

Throws: IOException FileNotFoundException if the lex file does not exist

Author: Rafal Mantiuk (Rafal.Mantiuk@bellstream.pl) Gerwin Klein (lsf@jflex.de)

Copyright © 2007-2010. All Rights Reserved.