org.eclipse.cdt.make.core.makefile
Interface IMacroDefinition

All Superinterfaces:
IDirective
All Known Subinterfaces:
IVariableDefinition
All Known Implementing Classes:
DefineVariable, ExportVariable, MacroDefinition, OverrideDefine, OverrideVariable, TargetVariable, VariableDefinition

public interface IMacroDefinition
extends IDirective

IMacroDefinitions are in the form: string1 = [string2]


Method Summary
 java.lang.String getName()
          Returns the name of the macro
 java.lang.StringBuffer getValue()
          Returns the value of the macro
 boolean isFromCommand()
          The macro was pass from an option to make.
 boolean isFromDefault()
          The macro is a built-in
 boolean isFromEnviroment()
          The macro came from the environment.
 boolean isFromEnvironmentOverride()
          The macro came from the make command option -e
 boolean isFromMakefile()
          The macro was found in a Makefile.
 
Methods inherited from interface org.eclipse.cdt.make.core.makefile.IDirective
getEndLine, getFileName, getParent, getStartLine, toString
 

Method Detail

getName

java.lang.String getName()
Returns the name of the macro

Returns:

getValue

java.lang.StringBuffer getValue()
Returns the value of the macro

Returns:

isFromDefault

boolean isFromDefault()
The macro is a built-in

Returns:

isFromMakefile

boolean isFromMakefile()
The macro was found in a Makefile.

Returns:

isFromEnviroment

boolean isFromEnviroment()
The macro came from the environment.

Returns:

isFromEnvironmentOverride

boolean isFromEnvironmentOverride()
The macro came from the make command option -e

Returns:

isFromCommand

boolean isFromCommand()
The macro was pass from an option to make.

Returns: