public class ModFunctionModifier extends AliasModifier
alias
Constructor and Description |
---|
ModFunctionModifier(String modFunction,
LanguageFactory langFactory) |
ModFunctionModifier(String modFunction,
LanguageFactory langFactory,
Collection<? extends Class<?>> supportedTypes) |
Modifier and Type | Method and Description |
---|---|
List<?> |
translate(Function function)
Return a List of translated parts (
LanguageObject s and Objects), or null
if this FunctionModifier wishes to rely on the default translation of the
conversion visitor. |
modify
getCode
public ModFunctionModifier(String modFunction, LanguageFactory langFactory)
public ModFunctionModifier(String modFunction, LanguageFactory langFactory, Collection<? extends Class<?>> supportedTypes)
public List<?> translate(Function function)
FunctionModifier
LanguageObject
s and Objects), or null
if this FunctionModifier wishes to rely on the default translation of the
conversion visitor.translate
in class AliasModifier
function
- IFunction to be translatedCopyright © 2019. All rights reserved.