public class FlushDirectiveHandler extends AbstractDirectiveHandler
DIRECTIVE_PREFIX, DIRECTIVES, GLOBAL_DIRECTIVES, ONE_LINE_COMMENT, PREFIX_FOR_KEEPING_LINES, PREFIX_FOR_KEEPING_LINES_PROCESSED_DIRECTIVES
Constructor and Description |
---|
FlushDirectiveHandler() |
Modifier and Type | Method and Description |
---|---|
AfterDirectiveProcessingBehaviour |
execute(String string,
PreprocessorContext context)
Execute directive
|
String |
getName()
Get the name of the directive without prefix
|
String |
getReference()
Get the directive reference, it will be printed for a help request
|
executeOnlyWhenExecutionAllowed, getArgumentType, getFullName, isDeprecated, isGlobalPhaseAllowed, isPreprocessingPhaseAllowed
public String getName()
AbstractDirectiveHandler
getName
in class AbstractDirectiveHandler
public String getReference()
AbstractDirectiveHandler
getReference
in class AbstractDirectiveHandler
public AfterDirectiveProcessingBehaviour execute(String string, PreprocessorContext context)
AbstractDirectiveHandler
execute
in class AbstractDirectiveHandler
string
- the tail of the string where the directive has been met, must not be null but can be emptycontext
- the preprocessor contextCopyright © 2011–2021 Igor Maznitsa. All rights reserved.