java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.rgg.model.XLFilter
de.grogra.grogra.LSYFilter
- All Implemented Interfaces:
Filter
,FilterSource
,ObjectSource
,RegistryContext
,Map
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
-
Field Summary
Fields inherited from class de.grogra.pf.io.FilterBase
item, source
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Parser
Creates the parser which will subsequently be used to parse the token stream resulting fromt
into an abstract syntax tree.protected Tokenizer
Creates the tokenizer to be used for scanning of the source.protected Class[]
Defines the automatic member type imports (e.g.,import java.awt.PageAttributes
protected String[]
Defines the automatic package imports (e.g.,import java.lang
protected Class[]
Defines the automatic single type imports (e.g.,import java.util.Map;
).protected Class[]
Defines the automatic static type imports (e.g.,import static java.lang.Math
protected boolean
Defines whether the conversion fromdouble
tofloat
should be considered as widening, i.e., should be done automatically if required.Methods inherited from class de.grogra.rgg.model.XLFilter
compile, compile, getClassName, getEnclosingAnnotations, getImports, getLoaderForAll, getLoaderForRegistry, getObject
Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Constructor Details
-
LSYFilter
-
-
Method Details
-
createTokenizer
Description copied from class:XLFilter
Creates the tokenizer to be used for scanning of the source.- Overrides:
createTokenizer
in classXLFilter
- Returns:
- tokenizer instance
-
createParser
Description copied from class:XLFilter
Creates the parser which will subsequently be used to parse the token stream resulting fromt
into an abstract syntax tree.- Overrides:
createParser
in classXLFilter
- Parameters:
t
- token stream input- Returns:
- parser which parses token stream of
t
-
getPackageImports
Description copied from class:XLFilter
Defines the automatic package imports (e.g.,import java.lang.*;
). The implementation ofXLFilter
returns{"java.lang"}
.- Overrides:
getPackageImports
in classXLFilter
- Returns:
- automatic package imports
-
getMemberTypeImports
Description copied from class:XLFilter
Defines the automatic member type imports (e.g.,import java.awt.PageAttributes.*;
).- Overrides:
getMemberTypeImports
in classXLFilter
- Returns:
- types whose member types are imported automatically
-
getSingleTypeImports
Description copied from class:XLFilter
Defines the automatic single type imports (e.g.,import java.util.Map;
).- Overrides:
getSingleTypeImports
in classXLFilter
- Returns:
- types which are imported automatically
-
getStaticTypeImports
Description copied from class:XLFilter
Defines the automatic static type imports (e.g.,import static java.lang.Math.*;
).- Overrides:
getStaticTypeImports
in classXLFilter
- Returns:
- types whose static members are imported automatically
-
isD2FWidening
protected boolean isD2FWidening()Description copied from class:XLFilter
Defines whether the conversion fromdouble
tofloat
should be considered as widening, i.e., should be done automatically if required.- Overrides:
isD2FWidening
in classXLFilter
- Returns:
- implicit conversion from
double
tofloat
?
-