org.codehaus.mojo.javacc

Class JTBJavaCCMojo

public class JTBJavaCCMojo extends AbstractJavaCCMojo

Preprocesses ordinary grammar files (*.jtb) with JTB and passes the output to JavaCC in order to finally generate a parser with parse tree actions.

Note: JTB requires Java 1.5 or higher. This goal will not work with earlier versions of the JRE.

Since: 2.4

Version: $Id: JTBJavaCCMojo.java 8156 2008-11-26 18:20:19Z bentmann $

Author: Benjamin Bentmann

UNKNOWN: jtb-javacc generate-sources

Method Summary
protected File[]getCompileSourceRoots()
protected String[]getExcludes()
protected String[]getIncludes()
protected FilegetOutputDirectory()
protected FilegetSourceDirectory()
protected intgetStaleMillis()
protected voidprocessGrammar(GrammarInfo grammarInfo)

Method Detail

getCompileSourceRoots

protected File[] getCompileSourceRoots()
{@inheritDoc }

getExcludes

protected String[] getExcludes()
{@inheritDoc }

getIncludes

protected String[] getIncludes()
{@inheritDoc }

getOutputDirectory

protected File getOutputDirectory()
{@inheritDoc }

getSourceDirectory

protected File getSourceDirectory()
{@inheritDoc }

getStaleMillis

protected int getStaleMillis()
{@inheritDoc }

processGrammar

protected void processGrammar(GrammarInfo grammarInfo)
{@inheritDoc }
Copyright © 2005-2010 Codehaus. All Rights Reserved.