SageInterface::cutPreprocessingInfo
Cut preprocessing information from a source node and save it into a buffer. Used in combination of pastePreprocessingInfo(). The cutāpaste operation is similar to moveUpPreprocessingInfo() but it is more flexible in that the destination node can be unknown during the cut operation.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
cutPreprocessingInfo(
SgLocatedNode* src_node,
PreprocessingInfo::RelativePositionType pos,
AttachedPreprocessingInfoType& save_buf);
Parameters
Name |
Description |
src_node |
This class represents the notion of an expression or statement which |
pos |
MK: Enum type to store if the directive goes before or after the corresponding line of source code |
Created with MrDocs