Modifier and Type | Method and Description |
---|---|
Value |
PreprocessTask.getVariable(String varName,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PreprocessTask.setVariable(String varName,
Value value,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
Value |
PreprocessorContext.findVariableForName(String name,
boolean enforceUnknownVarAsNull)
Find value among local and global variables for a name.
|
Value |
PreprocessorContext.getLocalVariable(String name)
Get a local variable value
|
Value |
JCPSpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
EnvironmentVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
SpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context)
Get the value for the variable
|
Modifier and Type | Method and Description |
---|---|
PreprocessorContext |
PreprocessorContext.setGlobalVariable(String name,
Value value)
Set a global variable value
|
PreprocessorContext |
PreprocessorContext.setLocalVariable(String name,
Value value)
Set a local variable value
|
void |
JCPSpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
EnvironmentVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
SpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context)
Set a value to the variable
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefineDirectiveHandler.process(PreprocessorContext context,
String varName,
Value value,
boolean exists) |
protected void |
DefinelDirectiveHandler.process(PreprocessorContext context,
String varName,
Value value,
boolean exists) |
protected void |
UndefDirectiveHandler.process(PreprocessorContext context,
String varName,
Value value,
boolean exists) |
Modifier and Type | Field and Description |
---|---|
static Value |
Value.BOOLEAN_FALSE |
static Value |
Value.BOOLEAN_TRUE |
static Value |
Value.INT_FIVE |
static Value |
Value.INT_FOUR |
static Value |
Value.INT_ONE |
static Value |
Value.INT_THREE |
static Value |
Value.INT_TWO |
static Value |
Value.INT_ZERO |
Modifier and Type | Method and Description |
---|---|
static Value |
Expression.evalExpression(String expression,
PreprocessorContext context)
Evaluate expression
|
static Value |
Expression.evalTree(ExpressionTree tree,
PreprocessorContext context)
Evaluate an expression tree
|
static Value |
Value.recognizeOf(String str) |
static Value |
Value.recognizeRawString(String str) |
static Value |
Value.valueOf(Boolean val) |
static Value |
Value.valueOf(Float val) |
static Value |
Value.valueOf(Long val) |
static Value |
Value.valueOf(String val) |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Value |
FunctionABS.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeInt(PreprocessorContext context,
Value value) |
abstract Value |
AbstractStrConverter.executeStr(PreprocessorContext context,
Value stringToConvert) |
Value |
FunctionEVALFILE.executeStr(PreprocessorContext context,
Value strfilePath) |
Value |
FunctionSTR2INT.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2CSV.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2WEB.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JSON.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTRLEN.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2XML.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionTRIMLINES.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JS.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Value |
FunctionABS.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeInt(PreprocessorContext context,
Value value) |
abstract Value |
AbstractStrConverter.executeStr(PreprocessorContext context,
Value stringToConvert) |
Value |
FunctionEVALFILE.executeStr(PreprocessorContext context,
Value strfilePath) |
Value |
FunctionSTR2INT.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2CSV.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2WEB.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JSON.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTRLEN.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2XML.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionTRIMLINES.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JS.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionXML_OPEN.executeStr(PreprocessorContext context,
Value filePath) |
Value |
FunctionXML_SIZE.executeStr(PreprocessorContext context,
Value elementListId) |
Value |
FunctionXML_NAME.executeStr(PreprocessorContext context,
Value elementId) |
Value |
FunctionXML_TEXT.executeStr(PreprocessorContext context,
Value elementid) |
Value |
FunctionXML_ROOT.executeStr(PreprocessorContext context,
Value documentId) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionXML_OPEN.executeStr(PreprocessorContext context,
Value filePath) |
Value |
FunctionXML_SIZE.executeStr(PreprocessorContext context,
Value elementListId) |
Value |
FunctionXML_NAME.executeStr(PreprocessorContext context,
Value elementId) |
Value |
FunctionXML_TEXT.executeStr(PreprocessorContext context,
Value elementid) |
Value |
FunctionXML_ROOT.executeStr(PreprocessorContext context,
Value documentId) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Modifier and Type | Method and Description |
---|---|
Value |
OperatorADD.executeAnyStr(Value arg1,
Value arg2) |
Value |
OperatorNOT.executeBool(Value arg1) |
Value |
OperatorOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorAND.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorNOT.executeInt(Value arg1) |
Value |
OperatorLESSEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorAND.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeStrAny(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeStrStr(Value arg1,
Value arg2) |
Modifier and Type | Method and Description |
---|---|
Value |
PreprocessorExtension.processUserFunction(String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
Modifier and Type | Method and Description |
---|---|
boolean |
PreprocessorExtension.processAction(PreprocessorContext context,
Value[] parameters)
To process an action (it will be called if the preprocessor is met
//#action directive)
|
Value |
PreprocessorExtension.processUserFunction(String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
Modifier and Type | Method and Description |
---|---|
Value |
MavenPropertiesImporter.getVariable(String varName,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
MavenPropertiesImporter.setVariable(String varName,
Value value,
PreprocessorContext context) |
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.