Package java_cup.anttask
Class CUPTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
java_cup.anttask.CUPTask
- All Implemented Interfaces:
Cloneable
public class CUPTask
extends org.apache.tools.ant.Task
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()executes the task parses all attributes and validates options...Gets the value of destdirGets the value of expectbooleangetForce()Gets the value of forceGets the value of _packageGets the value of parserbooleangetQuiet()Gets the value of quietGet the Srcfile value.Gets the value of symbolsprotected StringLet's search for package namebooleanGets the value of compact_redbooleanisDebug()Gets the value of debugbooleanGets the value of debugbooleanisDump()Gets the value of dumpbooleanGets the value of dump_grammarbooleanGets the value of dump_statesbooleanGets the value of dump_tablesbooleanbooleanGets the value of _interfacebooleanGets the value of locationsbooleanGets the value of nontermsbooleanGets the value of nopositionsbooleanGets the value of noscannerbooleanGets the value of nosummarybooleanisNowarn()Gets the value of nowarnbooleanGets the value of progressbooleanisTime()Gets the value of timebooleanvoidsetCompact_red(boolean argCompact_red) Sets the value of compact_redvoidsetDebug(boolean argDebug) Sets the value of debugvoidsetDebugSymbols(boolean argDebug) Sets the value of debugvoidsetDestdir(String destdir) Sets the value of destdirvoidsetDump(boolean argDump) Sets the value of dumpvoidsetDump_grammar(boolean argDump_grammar) Sets the value of dump_grammarvoidsetDump_states(boolean argDump_states) Sets the value of dump_statesvoidsetDump_tables(boolean argDump_tables) Sets the value of dump_tablesvoidSets the value of expectvoidsetForce(boolean argforce) Sets the value of forcevoidsetGenericlabels(boolean genericlabels) voidsetInterface(boolean arg_interface) Sets the value of _interfacevoidsetLocations(boolean argLocations) Sets the value of locationsvoidsetNonterms(boolean argNonterms) Sets the value of nontermsvoidsetNopositions(boolean argNopositions) Sets the value of nopositionsvoidsetNoscanner(boolean argNoscanner) Sets the value of noscannervoidsetNosummary(boolean argNosummary) Sets the value of nosummaryvoidsetNowarn(boolean argNowarn) Sets the value of nowarnvoidsetPackage(String arg_package) Sets the value of _packagevoidSets the value of parservoidsetProgress(boolean argProgress) Sets the value of progressvoidsetQuiet(boolean argquiet) Sets the value of quietvoidsetSrcfile(String newSrcfile) Set the Srcfile value.voidsetSymbols(String argSymbols) Sets the value of symbolsvoidsetTime(boolean argTime) Sets the value of timevoidsetXmlactions(boolean xmlactions) 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
CUPTask
public CUPTask()
-
-
Method Details
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionexecutes the task parses all attributes and validates options...- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
inspect
Let's search for package name- Parameters:
cupfile- where we have to search for the package name- Returns:
- the package folder structure
-
getQuiet
public boolean getQuiet()Gets the value of quiet- Returns:
- the value of quiet
-
setQuiet
public void setQuiet(boolean argquiet) Sets the value of quiet- Parameters:
arg_quiet- Value to assign to this.quiet
-
getForce
public boolean getForce()Gets the value of force- Returns:
- the value of force
-
setForce
public void setForce(boolean argforce) Sets the value of force- Parameters:
arg_package- Value to assign to this.force
-
getPackage
Gets the value of _package- Returns:
- the value of _package
-
setPackage
Sets the value of _package- Parameters:
arg_package- Value to assign to this._package
-
getDestdir
Gets the value of destdir- Returns:
- the value of destdir
-
setDestdir
Sets the value of destdir- Parameters:
arg_package- Value to assign to this.destdir
-
isInterface
public boolean isInterface()Gets the value of _interface- Returns:
- the value of _interface
-
setInterface
public void setInterface(boolean arg_interface) Sets the value of _interface- Parameters:
arg_interface- Value to assign to this._interface
-
getSrcfile
Get the Srcfile value.- Returns:
- the Srcfile value.
-
setSrcfile
Set the Srcfile value.- Parameters:
newSrcfile- The new Srcfile value.
-
getParser
Gets the value of parser- Returns:
- the value of parser
-
setParser
Sets the value of parser- Parameters:
argParser- Value to assign to this.parser
-
getSymbols
Gets the value of symbols- Returns:
- the value of symbols
-
setSymbols
Sets the value of symbols- Parameters:
argSymbols- Value to assign to this.symbols
-
isNonterms
public boolean isNonterms()Gets the value of nonterms- Returns:
- the value of nonterms
-
setNonterms
public void setNonterms(boolean argNonterms) Sets the value of nonterms- Parameters:
argNonterms- Value to assign to this.nonterms
-
getExpect
Gets the value of expect- Returns:
- the value of expect
-
setExpect
Sets the value of expect- Parameters:
argExpect- Value to assign to this.expect
-
isCompact_red
public boolean isCompact_red()Gets the value of compact_red- Returns:
- the value of compact_red
-
setCompact_red
public void setCompact_red(boolean argCompact_red) Sets the value of compact_red- Parameters:
argCompact_red- Value to assign to this.compact_red
-
isNowarn
public boolean isNowarn()Gets the value of nowarn- Returns:
- the value of nowarn
-
setNowarn
public void setNowarn(boolean argNowarn) Sets the value of nowarn- Parameters:
argNowarn- Value to assign to this.nowarn
-
isNosummary
public boolean isNosummary()Gets the value of nosummary- Returns:
- the value of nosummary
-
setNosummary
public void setNosummary(boolean argNosummary) Sets the value of nosummary- Parameters:
argNosummary- Value to assign to this.nosummary
-
isProgress
public boolean isProgress()Gets the value of progress- Returns:
- the value of progress
-
setProgress
public void setProgress(boolean argProgress) Sets the value of progress- Parameters:
argProgress- Value to assign to this.progress
-
isDump_grammar
public boolean isDump_grammar()Gets the value of dump_grammar- Returns:
- the value of dump_grammar
-
setDump_grammar
public void setDump_grammar(boolean argDump_grammar) Sets the value of dump_grammar- Parameters:
argDump_grammar- Value to assign to this.dump_grammar
-
isDump_states
public boolean isDump_states()Gets the value of dump_states- Returns:
- the value of dump_states
-
setDump_states
public void setDump_states(boolean argDump_states) Sets the value of dump_states- Parameters:
argDump_states- Value to assign to this.dump_states
-
isDump_tables
public boolean isDump_tables()Gets the value of dump_tables- Returns:
- the value of dump_tables
-
setDump_tables
public void setDump_tables(boolean argDump_tables) Sets the value of dump_tables- Parameters:
argDump_tables- Value to assign to this.dump_tables
-
isDump
public boolean isDump()Gets the value of dump- Returns:
- the value of dump
-
setDump
public void setDump(boolean argDump) Sets the value of dump- Parameters:
argDump- Value to assign to this.dump
-
isTime
public boolean isTime()Gets the value of time- Returns:
- the value of time
-
setTime
public void setTime(boolean argTime) Sets the value of time- Parameters:
argTime- Value to assign to this.time
-
isDebug
public boolean isDebug()Gets the value of debug- Returns:
- the value of debug
-
setDebug
public void setDebug(boolean argDebug) Sets the value of debug- Parameters:
argDebug- Value to assign to this.debug
-
isDebugSymbols
public boolean isDebugSymbols()Gets the value of debug- Returns:
- the value of debug
-
setDebugSymbols
public void setDebugSymbols(boolean argDebug) Sets the value of debug- Parameters:
argDebug- Value to assign to this.debug
-
isNopositions
public boolean isNopositions()Gets the value of nopositions- Returns:
- the value of nopositions
-
setNopositions
public void setNopositions(boolean argNopositions) Sets the value of nopositions- Parameters:
argNopositions- Value to assign to this.nopositions
-
isLocations
public boolean isLocations()Gets the value of locations- Returns:
- the value of locations
-
setLocations
public void setLocations(boolean argLocations) Sets the value of locations- Parameters:
argLocations- Value to assign to this.locations
-
isNoscanner
public boolean isNoscanner()Gets the value of noscanner- Returns:
- the value of noscanner
-
setNoscanner
public void setNoscanner(boolean argNoscanner) Sets the value of noscanner- Parameters:
argNoscanner- Value to assign to this.noscanner
-
isXmlactions
public boolean isXmlactions() -
setXmlactions
public void setXmlactions(boolean xmlactions) -
isGenericlabels
public boolean isGenericlabels() -
setGenericlabels
public void setGenericlabels(boolean genericlabels)
-