public final class FunctionSTR2GO extends AbstractFunction
| Modifier and Type | Field and Description |
|---|---|
private static ValueType[][] |
ARG_TYPES |
ALL_FUNCTIONS, EXECUTION_PREFIX, FUNCTION_NAME_MAP, UID_COUNTER| Constructor and Description |
|---|
FunctionSTR2GO() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
escapeGo(java.lang.String value) |
Value |
executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
ValueType[][] |
getAllowedArgumentTypes()
Get arrays of supported argument types
|
int |
getArity()
Get the function arity
|
java.lang.String |
getName()
Get the function name
|
java.lang.String |
getReference()
Get the function reference to be output for a help request
|
ValueType |
getResultType()
Get the result type
|
private static java.lang.String |
toUnicode(char c) |
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toStringprivate static final ValueType[][] ARG_TYPES
public java.lang.String getName()
AbstractFunctiongetName in class AbstractFunctionpublic Value executeStrBool(PreprocessorContext context, Value source, Value splitAndQuoteLines)
private static java.lang.String toUnicode(char c)
private static java.lang.String escapeGo(java.lang.String value)
public int getArity()
AbstractFunctiongetArity in class AbstractFunction@MustNotContainNull public ValueType[][] getAllowedArgumentTypes()
AbstractFunctiongetAllowedArgumentTypes in class AbstractFunctionpublic java.lang.String getReference()
AbstractFunctiongetReference in class AbstractFunctionpublic ValueType getResultType()
AbstractFunctiongetResultType in class AbstractFunction