Uses of Class
com.igormaznitsa.jcp.context.PreprocessingState
Packages that use PreprocessingState
Package
Description
-
Uses of PreprocessingState in com.igormaznitsa.jcp.containers
Methods in com.igormaznitsa.jcp.containers that return PreprocessingStateModifier and TypeMethodDescriptionFileInfoContainer.preprocessFile
(PreprocessingState state, PreprocessorContext context) Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsMethods in com.igormaznitsa.jcp.containers with parameters of type PreprocessingStateModifier and TypeMethodDescriptionFileInfoContainer.preprocessFile
(PreprocessingState state, PreprocessorContext context) Preprocess file, NB! it doesn't clear local variables automatically for cloned contextsprotected AfterDirectiveProcessingBehaviour
FileInfoContainer.processDirective
(PreprocessingState state, String directiveString, PreprocessorContext context, boolean firstPass) FileInfoContainer.processGlobalDirectives
(PreprocessingState state, PreprocessorContext context) -
Uses of PreprocessingState in com.igormaznitsa.jcp.context
Fields in com.igormaznitsa.jcp.context declared as PreprocessingStateMethods in com.igormaznitsa.jcp.context that return PreprocessingStateModifier and TypeMethodDescriptionPreprocessorContext.getPreprocessingState()
Get the last generated preprocessing state, it is the current onePreprocessingState.goToString
(int stringIndex) PreprocessingState.popIf()
PreprocessingState.popWhile()
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 contextPreprocessorContext.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 contextPreprocessingState.pushIf
(boolean makeActive) PreprocessingState.pushWhile
(boolean makeActive) -
Uses of PreprocessingState in com.igormaznitsa.jcp.expression
Methods in com.igormaznitsa.jcp.expression with parameters of type PreprocessingStateModifier and TypeMethodDescriptionprivate 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)