Package | Description |
---|---|
com.igormaznitsa.jcp.containers | |
com.igormaznitsa.jcp.context | |
com.igormaznitsa.jcp.expression |
Modifier and Type | Method and Description |
---|---|
PreprocessingState |
FileInfoContainer.preprocessFile(PreprocessingState state,
PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for
cloned contexts
|
Modifier and Type | Method and Description |
---|---|
PreprocessingState |
FileInfoContainer.preprocessFile(PreprocessingState state,
PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for
cloned contexts
|
protected AfterDirectiveProcessingBehaviour |
FileInfoContainer.processDirective(PreprocessingState state,
java.lang.String directiveString,
PreprocessorContext context,
boolean firstPass) |
java.util.List<PreprocessingState.ExcludeIfInfo> |
FileInfoContainer.processGlobalDirectives(PreprocessingState state,
PreprocessorContext context) |
Modifier and Type | Field and Description |
---|---|
private PreprocessingState |
PreprocessorContext.currentState |
Modifier and Type | Method and Description |
---|---|
PreprocessingState |
PreprocessorContext.getPreprocessingState()
Get the last generated preprocessing state, it is the current one
|
PreprocessingState |
PreprocessingState.goToString(int stringIndex) |
PreprocessingState |
PreprocessingState.popIf() |
PreprocessingState |
PreprocessingState.popWhile() |
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
int phaseIndex)
Generate new preprocessing state object, also the new preprocessing state
will be saved as the current one in the context
|
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container,
also the new preprocessing state will be saved as the current one in the
context
|
PreprocessingState |
PreprocessingState.pushIf(boolean makeActive) |
PreprocessingState |
PreprocessingState.pushWhile(boolean makeActive) |
Modifier and Type | Method and Description |
---|---|
private ExpressionTreeElement |
Expression.calculateTreeElement(ExpressionTreeElement element,
PreprocessingState state) |
private Value |
Expression.eval(PreprocessingState state) |
private ExpressionTreeElement |
Expression.evalFunction(ExpressionTreeElement functionElement,
PreprocessingState state) |
private ExpressionTreeElement |
Expression.evalOperator(ExpressionTreeElement operatorElement,
PreprocessingState state) |