public class CUPTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
CUPTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
executes the task
parses all attributes and validates options...
|
java.lang.String |
getDestdir()
Gets the value of destdir
|
java.lang.String |
getExpect()
Gets the value of expect
|
boolean |
getForce()
Gets the value of force
|
java.lang.String |
getPackage()
Gets the value of _package
|
java.lang.String |
getParser()
Gets the value of parser
|
boolean |
getQuiet()
Gets the value of quiet
|
java.lang.String |
getSrcfile()
Get the Srcfile value.
|
java.lang.String |
getSymbols()
Gets the value of symbols
|
protected java.lang.String |
inspect(java.lang.String cupfile)
Let's search for package name
|
boolean |
isCompact_red()
Gets the value of compact_red
|
boolean |
isDebug()
Gets the value of debug
|
boolean |
isDebugSymbols()
Gets the value of debug
|
boolean |
isDump_grammar()
Gets the value of dump_grammar
|
boolean |
isDump_states()
Gets the value of dump_states
|
boolean |
isDump_tables()
Gets the value of dump_tables
|
boolean |
isDump()
Gets the value of dump
|
boolean |
isGenericlabels() |
boolean |
isInterface()
Gets the value of _interface
|
boolean |
isLocations()
Gets the value of locations
|
boolean |
isNonterms()
Gets the value of nonterms
|
boolean |
isNopositions()
Gets the value of nopositions
|
boolean |
isNoscanner()
Gets the value of noscanner
|
boolean |
isNosummary()
Gets the value of nosummary
|
boolean |
isNowarn()
Gets the value of nowarn
|
boolean |
isProgress()
Gets the value of progress
|
boolean |
isTime()
Gets the value of time
|
boolean |
isXmlactions() |
void |
setCompact_red(boolean argCompact_red)
Sets the value of compact_red
|
void |
setDebug(boolean argDebug)
Sets the value of debug
|
void |
setDebugSymbols(boolean argDebug)
Sets the value of debug
|
void |
setDestdir(java.lang.String destdir)
Sets the value of destdir
|
void |
setDump_grammar(boolean argDump_grammar)
Sets the value of dump_grammar
|
void |
setDump_states(boolean argDump_states)
Sets the value of dump_states
|
void |
setDump_tables(boolean argDump_tables)
Sets the value of dump_tables
|
void |
setDump(boolean argDump)
Sets the value of dump
|
void |
setExpect(java.lang.String argExpect)
Sets the value of expect
|
void |
setForce(boolean argforce)
Sets the value of force
|
void |
setGenericlabels(boolean genericlabels) |
void |
setInterface(boolean arg_interface)
Sets the value of _interface
|
void |
setLocations(boolean argLocations)
Sets the value of locations
|
void |
setNonterms(boolean argNonterms)
Sets the value of nonterms
|
void |
setNopositions(boolean argNopositions)
Sets the value of nopositions
|
void |
setNoscanner(boolean argNoscanner)
Sets the value of noscanner
|
void |
setNosummary(boolean argNosummary)
Sets the value of nosummary
|
void |
setNowarn(boolean argNowarn)
Sets the value of nowarn
|
void |
setPackage(java.lang.String arg_package)
Sets the value of _package
|
void |
setParser(java.lang.String argParser)
Sets the value of parser
|
void |
setProgress(boolean argProgress)
Sets the value of progress
|
void |
setQuiet(boolean argquiet)
Sets the value of quiet
|
void |
setSrcfile(java.lang.String newSrcfile)
Set the Srcfile value.
|
void |
setSymbols(java.lang.String argSymbols)
Sets the value of symbols
|
void |
setTime(boolean argTime)
Sets the value of time
|
void |
setXmlactions(boolean xmlactions) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
protected java.lang.String inspect(java.lang.String cupfile)
cupfile
- where we have to search for the package namepublic boolean getQuiet()
public void setQuiet(boolean argquiet)
arg_quiet
- Value to assign to this.quietpublic boolean getForce()
public void setForce(boolean argforce)
arg_package
- Value to assign to this.forcepublic java.lang.String getPackage()
public void setPackage(java.lang.String arg_package)
arg_package
- Value to assign to this._packagepublic java.lang.String getDestdir()
public void setDestdir(java.lang.String destdir)
arg_package
- Value to assign to this.destdirpublic boolean isInterface()
public void setInterface(boolean arg_interface)
arg_interface
- Value to assign to this._interfacepublic java.lang.String getSrcfile()
public void setSrcfile(java.lang.String newSrcfile)
newSrcfile
- The new Srcfile value.public java.lang.String getParser()
public void setParser(java.lang.String argParser)
argParser
- Value to assign to this.parserpublic java.lang.String getSymbols()
public void setSymbols(java.lang.String argSymbols)
argSymbols
- Value to assign to this.symbolspublic boolean isNonterms()
public void setNonterms(boolean argNonterms)
argNonterms
- Value to assign to this.nontermspublic java.lang.String getExpect()
public void setExpect(java.lang.String argExpect)
argExpect
- Value to assign to this.expectpublic boolean isCompact_red()
public void setCompact_red(boolean argCompact_red)
argCompact_red
- Value to assign to this.compact_redpublic boolean isNowarn()
public void setNowarn(boolean argNowarn)
argNowarn
- Value to assign to this.nowarnpublic boolean isNosummary()
public void setNosummary(boolean argNosummary)
argNosummary
- Value to assign to this.nosummarypublic boolean isProgress()
public void setProgress(boolean argProgress)
argProgress
- Value to assign to this.progresspublic boolean isDump_grammar()
public void setDump_grammar(boolean argDump_grammar)
argDump_grammar
- Value to assign to this.dump_grammarpublic boolean isDump_states()
public void setDump_states(boolean argDump_states)
argDump_states
- Value to assign to this.dump_statespublic boolean isDump_tables()
public void setDump_tables(boolean argDump_tables)
argDump_tables
- Value to assign to this.dump_tablespublic boolean isDump()
public void setDump(boolean argDump)
argDump
- Value to assign to this.dumppublic boolean isTime()
public void setTime(boolean argTime)
argTime
- Value to assign to this.timepublic boolean isDebug()
public void setDebug(boolean argDebug)
argDebug
- Value to assign to this.debugpublic boolean isDebugSymbols()
public void setDebugSymbols(boolean argDebug)
argDebug
- Value to assign to this.debugpublic boolean isNopositions()
public void setNopositions(boolean argNopositions)
argNopositions
- Value to assign to this.nopositionspublic boolean isLocations()
public void setLocations(boolean argLocations)
argLocations
- Value to assign to this.locationspublic boolean isNoscanner()
public void setNoscanner(boolean argNoscanner)
argNoscanner
- Value to assign to this.noscannerpublic boolean isXmlactions()
public void setXmlactions(boolean xmlactions)
public boolean isGenericlabels()
public void setGenericlabels(boolean genericlabels)