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:
ContextEnabled, Mojo
Direct Known Subclasses:
CompileAntlr3PluginMojo

public abstract class Antlr3PluginMojo
extends 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  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.

Is defined by:

excludes

protected Set excludes
A set of exclude patterns.

Is defined by:

debug

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

Is defined by:
default-value:
false

trace

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

Is defined by:
default-value:
false

profile

protected boolean profile
Generate a parser that computes profiling information.

Is defined by:
default-value:
false

project

protected MavenProject project
Is defined by:
expression:
${project}
Is readonly.
Is required.
Constructor Detail

Antlr3PluginMojo

public Antlr3PluginMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException
See Also:
Mojo.execute()

getIncludesPatterns

public Set getIncludesPatterns()


Copyright © 2007-2008 Codehaus. All Rights Reserved.