4 #ifndef ASTRESTRUCTURE_H
5 #define ASTRESTRUCTURE_H
7 #include "roseInternal.h"
22 enum RelativePositionType
38 RelativePositionType location;
39 std::string unparseReplacement;
40 std::vector< std::pair<std::string,RelativePositionType> > stringList;
42 AstUnparseAttribute(std::string s, RelativePositionType inputlocation )
43 : location(inputlocation), unparseReplacement(s)
46 stringList.push_back(std::pair<std::string,RelativePositionType>(s,inputlocation));
48 virtual std::string
toString() {
return unparseReplacement; }
103 typedef std::set<SgNode*>
Lock;