Modifier and Type | Method and Description |
---|---|
static List<String> |
InfoHelper.makeTextForHelpInfo() |
Modifier and Type | Method and Description |
---|---|
static void |
JCPreprocessor.main(String... args) |
Modifier and Type | Method and Description |
---|---|
String[] |
PreprocessTask.getVariableNames() |
Modifier and Type | Method and Description |
---|---|
String[] |
TextFileDataContainer.getText() |
List<PreprocessingState.ExcludeIfInfo> |
FileInfoContainer.processGlobalDirectives(PreprocessingState state,
PreprocessorContext context) |
Constructor and Description |
---|
TextFileDataContainer(File currentFile,
String[] text,
boolean fileEndedByNextLine,
int stringIndex) |
Modifier and Type | Method and Description |
---|---|
File[] |
PreprocessorContext.getConfigFiles()
Get array of current registered configuration files
|
String[] |
PreprocessorContext.getExcludedFileExtensions()
Get excluded file extension list as a string array
|
String[] |
PreprocessorContext.getExcludedFolderPatterns()
Get patterns for excluded folders.
|
String[] |
PreprocessorContext.getProcessingFileExtensions()
Get file extensions of files to be preprocessed as a string array
|
static List<JCPSpecialVariableProcessor.NameReferencePair> |
JCPSpecialVariableProcessor.getReference() |
File[] |
PreprocessorContext.getSourceDirectoryAsFiles()
Get the current source directories as a file array
|
String[] |
JCPSpecialVariableProcessor.getVariableNames() |
String[] |
EnvironmentVariableProcessor.getVariableNames() |
String[] |
SpecialVariableProcessor.getVariableNames()
Get all variable names allowed by the processor as an array, all names must
be in lower case
|
FilePositionInfo[] |
PreprocessingState.makeIncludeStack() |
List<PreprocessingState.ExcludeIfInfo> |
PreprocessingState.popAllExcludeIfInfoData() |
Modifier and Type | Method and Description |
---|---|
void |
PreprocessorContext.setExcludedFolderPatterns(String... patterns)
Set patterns for excluded folders.
|
Modifier and Type | Method and Description |
---|---|
FilePositionInfo[] |
PreprocessorException.getIncludeChain() |
Constructor and Description |
---|
PreprocessorException(String message,
String processedText,
FilePositionInfo[] includeStack,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionTreeElement.fillArguments(List<ExpressionTree> arguments)
It fills children slots from a list containing expression trees
|
Constructor and Description |
---|
ExpressionTree(FilePositionInfo[] callStack,
String sources) |
Modifier and Type | Method and Description |
---|---|
ValueType[][] |
AbstractStrConverter.getAllowedArgumentTypes() |
ValueType[][] |
FunctionEVALFILE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTR2JAVA.getAllowedArgumentTypes() |
ValueType[][] |
FunctionDefinedByUser.getAllowedArgumentTypes() |
ValueType[][] |
FunctionIS.getAllowedArgumentTypes() |
ValueType[][] |
FunctionABS.getAllowedArgumentTypes() |
ValueType[][] |
FunctionROUND.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTR2GO.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTRLEN.getAllowedArgumentTypes() |
abstract ValueType[][] |
AbstractFunction.getAllowedArgumentTypes()
Get arrays of supported argument types
|
ValueType[][] |
FunctionISSUBSTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionBINFILE.getAllowedArgumentTypes() |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Modifier and Type | Method and Description |
---|---|
ValueType[][] |
FunctionXML_OPEN.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_SIZE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_ATTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XLIST.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_NAME.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XELEMENT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_TEXT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_LIST.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_GET.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_ROOT.getAllowedArgumentTypes() |
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 |
---|---|
File[] |
PreprocessorMojo.getCfgFiles() |
String[] |
PreprocessorMojo.getExcludedFolders() |
String[] |
MavenPropertiesImporter.getVariableNames() |
Modifier and Type | Method and Description |
---|---|
void |
PreprocessorMojo.setCfgFiles(File[] files) |
void |
PreprocessorMojo.setExcludedFolders(String... antPatterns) |
Modifier and Type | Method and Description |
---|---|
static String[] |
PreprocessorUtils.readWholeTextFileIntoArray(File file,
String encoding,
AtomicBoolean endedByNextLine) |
static String[] |
PreprocessorUtils.replaceChar(String[] source,
char toBeReplaced,
char replacement) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.splitExtensionCommaList(String extensions) |
static String[] |
PreprocessorUtils.splitForChar(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForCharAndHoldEmptyLine(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForEqualChar(String string) |
Modifier and Type | Method and Description |
---|---|
static String[] |
PreprocessorUtils.replaceChar(String[] source,
char toBeReplaced,
char replacement) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.