public class IfDefDirectiveHandler extends IfDefinedDirectiveHandler
DIRECTIVE_PREFIX, DIRECTIVES, GLOBAL_DIRECTIVES, ONE_LINE_COMMENT, PREFIX_FOR_KEEPING_LINES, PREFIX_FOR_KEEPING_LINES_PROCESSED_DIRECTIVES
Constructor and Description |
---|
IfDefDirectiveHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeOnlyWhenExecutionAllowed()
Shows that the directive can be executed only when the preprocessing n
active state i.e.
|
DirectiveArgumentType |
getArgumentType()
Get the argument type needed by the 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
|
execute, postprocessFlag
getFullName, isDeprecated, isGlobalPhaseAllowed, isPreprocessingPhaseAllowed
public String getName()
AbstractDirectiveHandler
getName
in class IfDefinedDirectiveHandler
public String getReference()
AbstractDirectiveHandler
getReference
in class IfDefinedDirectiveHandler
public boolean executeOnlyWhenExecutionAllowed()
AbstractDirectiveHandler
executeOnlyWhenExecutionAllowed
in class IfDefinedDirectiveHandler
public DirectiveArgumentType getArgumentType()
AbstractDirectiveHandler
getArgumentType
in class IfDefinedDirectiveHandler
Copyright © 2011–2021 Igor Maznitsa. All rights reserved.