public class Parameters extends StringParameters implements ISimplifierRulesParameters
bufferpathSIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConsolidateDpSkeleton() |
boolean |
getEscapeGT() |
boolean |
getExitOnInvalid() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getProcessAllTargets() |
String |
getPropValueSep() |
int |
getSegType() |
String |
getSimplifierRules()
Get the code simplifier rules as defined by
SimplifierRules
(JavaCC file: core/simplifierrules/SimplifierRules.jj). |
void |
reset()
Reset this parameters object to its default values.
|
void |
setConsolidateDpSkeleton(boolean consolidateDpSkeleton) |
void |
setEscapeGT(boolean escapeGT) |
void |
setExitOnInvalid(boolean exitOnInvalid) |
void |
setProcessAllTargets(boolean processAllTargets) |
void |
setPropValueSep(String sep) |
void |
setSegType(int segType) |
void |
setSimplifierRules(String rules)
Set the simplifier rules.
|
void |
validateSimplifierRules()
Validate the current code simplifier rules.
|
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic boolean getProcessAllTargets()
public void setProcessAllTargets(boolean processAllTargets)
public boolean getConsolidateDpSkeleton()
public void setConsolidateDpSkeleton(boolean consolidateDpSkeleton)
public boolean getEscapeGT()
public void setEscapeGT(boolean escapeGT)
public boolean getExitOnInvalid()
public void setExitOnInvalid(boolean exitOnInvalid)
public int getSegType()
public void setSegType(int segType)
public String getPropValueSep()
public void setPropValueSep(String sep)
public String getSimplifierRules()
ISimplifierRulesParametersSimplifierRules
(JavaCC file: core/simplifierrules/SimplifierRules.jj).getSimplifierRules in interface ISimplifierRulesParameterspublic void setSimplifierRules(String rules)
ISimplifierRulesParameterssetSimplifierRules in interface ISimplifierRulesParametersrules - new simplifier rulespublic void validateSimplifierRules()
throws ParseException
ISimplifierRulesParametersvalidateSimplifierRules in interface ISimplifierRulesParametersParseException - if the rule cannot be parsedpublic ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParametersCopyright © 2021. All rights reserved.