|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
java_cup.anttask.CUPTask
public class CUPTask
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
CUPTask()
|
Method Summary | |
---|---|
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 |
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 |
isInterface()
Gets the value of _interface |
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 |
void |
setCompact_red(boolean argCompact_red)
Sets the value of compact_red |
void |
setDebug(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 |
setInterface(boolean arg_interface)
Sets the value of _interface |
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 |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CUPTask()
Method Detail |
---|
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 name
public 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 isNopositions()
public void setNopositions(boolean argNopositions)
argNopositions
- Value to assign to this.nopositionspublic boolean isNoscanner()
public void setNoscanner(boolean argNoscanner)
argNoscanner
- Value to assign to this.noscanner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |