Class UnparseFortran_type#

Class Documentation#

class UnparseFortran_type#

Public Functions

inline UnparseFortran_type(Unparser *unp)#
inline virtual ~UnparseFortran_type()#
void curprint(const std::string &str) const#
virtual void unparseType(SgType *type, SgUnparse_Info &info, bool printAttrs = true)#
Parameters:

printAttrs – - true means print the type attributes such as dimension or length on the left of :: for the given type; false means not. the default is set to true so that all extant callers of this method are unaffected.

virtual void unparsePointerType(SgType *type, SgUnparse_Info &info, bool printAttrs = true)#

unparse type functions implemented in unparse_type.C

Parameters:

printAttrs – - true means print the type attributes such as dimension or length on the left of :: for the given type; false means not. the default is set to true so that all extant callers of this method are unaffected.

virtual void unparseReferenceType(SgType *type, SgUnparse_Info &info)#
virtual void unparseClassType(SgType *type, SgUnparse_Info &info)#
virtual void unparseModifierType(SgType *type, SgUnparse_Info &info)#
virtual void unparseFunctionType(SgType *type, SgUnparse_Info &info)#
virtual void unparseArrayType(SgType *type, SgUnparse_Info &info, bool printDim = true)#
Parameters:

printDim – - true means print the dimension attribute on the left of :: for the given type; false means not. the default is set to true so that all extant callers of this method are unaffected.

virtual void unparseStringType(SgType *type, SgUnparse_Info &info, bool printAttrs = true)#
Parameters:

printAttrs – - true means print the type attributes such as dimension or length on the left of :: for the given type; false means not. the default is set to true so that all extant callers of this method are unaffected.

bool generateElaboratedType(SgDeclarationStatement *declarationStatement, const SgUnparse_Info &info)#
bool isCharType(SgType *type)#
void unparseTypeKind(SgType *type, SgUnparse_Info &info)#
void unparseTypeLengthAndKind(SgType *type, SgExpression *lengthExpression, SgUnparse_Info &info)#
void unparseBaseType(SgType *type, const std::string &nameOfType, SgUnparse_Info &info)#