org.codehaus.mojo.antlr3
Class Antlr3PluginMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.antlr3.Antlr3PluginMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileAntlr3PluginMojo

public abstract class Antlr3PluginMojo
extends org.apache.maven.plugin.AbstractMojo

Generate source code from ANTLRv3 grammar specifications.

Version:
$Id $
Author:
David Holroyd

Field Summary
protected  boolean debug
          Enables ANTLR-specific network debugging.
protected  Set excludes
          A set of exclude patterns.
protected  Set includes
          A set of patterns matching files from the sourceDirectory that should be processed as grammars.
protected  boolean profile
          Generate a parser that computes profiling information.
protected  org.apache.maven.project.MavenProject project
           
protected  boolean trace
          Generate a parser that logs rule entry/exit messages.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Antlr3PluginMojo()
           
 
Method Summary
 void execute()
           
 Set getIncludesPatterns()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includes

protected Set includes
A set of patterns matching files from the sourceDirectory that should be processed as grammars.


excludes

protected Set excludes
A set of exclude patterns.


debug

protected boolean debug
Enables ANTLR-specific network debugging. Requires a tool able to talk this protocol e.g. ANTLRWorks.


trace

protected boolean trace
Generate a parser that logs rule entry/exit messages.


profile

protected boolean profile
Generate a parser that computes profiling information.


project

protected org.apache.maven.project.MavenProject project
Constructor Detail

Antlr3PluginMojo

public Antlr3PluginMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()

getIncludesPatterns

public Set getIncludesPatterns()


Copyright © 2007-2012 Codehaus. All Rights Reserved.