public class DefinelDirectiveHandler extends DefineDirectiveHandler
DIRECTIVE_PREFIX, DIRECTIVES, GLOBAL_DIRECTIVES, ONE_LINE_COMMENT, PREFIX_FOR_KEEPING_LINES, PREFIX_FOR_KEEPING_LINES_PROCESSED_DIRECTIVES
Constructor and Description |
---|
DefinelDirectiveHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the directive without prefix
|
String |
getReference()
Get the directive reference, it will be printed for a help request
|
protected void |
process(PreprocessorContext context,
String varName,
Value value,
boolean exists) |
execute, getArgumentType
executeOnlyWhenExecutionAllowed, getFullName, isDeprecated, isGlobalPhaseAllowed, isPreprocessingPhaseAllowed
public String getName()
AbstractDirectiveHandler
getName
in class DefineDirectiveHandler
public String getReference()
AbstractDirectiveHandler
getReference
in class DefineDirectiveHandler
protected void process(PreprocessorContext context, String varName, Value value, boolean exists)
process
in class DefineDirectiveHandler
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.