Package org.eclipse.cdt.core.dom.rewrite
Interface MacroExpansionExplorer.IMacroExpansionStep
-
- Enclosing class:
- MacroExpansionExplorer
public static interface MacroExpansionExplorer.IMacroExpansionStepRepresentation of a single expansion step or a complete expansion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCodeAfterStep()Returns the code after this step.StringgetCodeBeforeStep()Returns the code before this step.IMacroBindinggetExpandedMacro()Returns the macro that gets expanded in this step, ornullfor a step representing a full expansion.IASTFileLocationgetLocationOfExpandedMacroDefinition()Returns the location of the macro-definition that gets expanded in this step, ornullfor built-in macros or for a step representing a full expansion.org.eclipse.text.edits.ReplaceEdit[]getReplacements()Returns an array of replacements representing the change from the code before this step to the code after this step.
-
-
-
Method Detail
-
getCodeBeforeStep
String getCodeBeforeStep()
Returns the code before this step.
-
getCodeAfterStep
String getCodeAfterStep()
Returns the code after this step.
-
getReplacements
org.eclipse.text.edits.ReplaceEdit[] getReplacements()
Returns an array of replacements representing the change from the code before this step to the code after this step.
-
getExpandedMacro
IMacroBinding getExpandedMacro()
Returns the macro that gets expanded in this step, ornullfor a step representing a full expansion.
-
getLocationOfExpandedMacroDefinition
IASTFileLocation getLocationOfExpandedMacroDefinition()
Returns the location of the macro-definition that gets expanded in this step, ornullfor built-in macros or for a step representing a full expansion.
-
-