OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sexp Namespace Reference

Namespaces

 IOFlags
 

Classes

class  ostream
 
struct  FlagElemInfo_
 
struct  AtomInfo_
 
struct  CommentInfo_
 
struct  EscapeStringInfo_
 
struct  IndentAmntInfo_
 
struct  IndentStepInfo_
 

Typedefs

typedef ostream &(* omanip )(ostream &)
 

Functions

ostreamoperator<< (std::ostream &os, omanip f)
 
ostreamEndAtom (ostream &sos)
 
ostreamEndList (ostream &sos)
 
ostreamQuote (ostream &sos)
 
ostreamBegComment (ostream &sos)
 
ostreamEndComment (ostream &sos)
 
ostreamEndLine (ostream &sos)
 
ostreamIndent (ostream &sos)
 
ostreamIndentIncr (ostream &sos)
 
ostreamIndentDecr (ostream &sos)
 
ostreamoperator<< (std::ostream &os, const FlagElemInfo_ x)
 
FlagElemInfo_ BegAtom (int flags)
 
ostreamBegAtom (ostream &sos)
 
FlagElemInfo_ BegList (int flags)
 
ostreamBegList (ostream &sos)
 
template<class T >
ostreamoperator<< (std::ostream &os, const AtomInfo_< T > &x)
 
template<class T >
AtomInfo_< T > Atom (int xflags, const T &val)
 
template<class T >
AtomInfo_< T > Atom (const T &val)
 
ostreamoperator<< (std::ostream &os, const CommentInfo_ x)
 
CommentInfo_ Comment (const char *str_)
 
ostreamoperator<< (std::ostream &os, const EscapeStringInfo_ &x)
 
EscapeStringInfo_ EscapeString (const char *val)
 
ostreamoperator<< (std::ostream &os, const IndentAmntInfo_ x)
 
IndentAmntInfo_ SetIndentAmnt (int amnt_)
 
ostreamoperator<< (std::ostream &os, const IndentStepInfo_ x)
 
IndentStepInfo_ SetIndentStep (int step_)
 
bool is_atom (sexp_t *sx)
 
bool is_list (sexp_t *sx)
 
bool is_null_list (sexp_t *sx)
 
bool is_atom_basic (sexp_t *sx)
 
char * get_value (sexp_t *sx)
 
long get_value_l (sexp_t *sx, long default_val=0)
 
unsigned long get_value_ul (sexp_t *sx, unsigned long default_val=0)
 
int32_t get_value_i32 (sexp_t *sx, int32_t default_val=0)
 
uint32_t get_value_ui32 (sexp_t *sx, uint32_t default_val=0)
 
int64_t get_value_i64 (sexp_t *sx, int64_t default_val=0)
 
uint64_t get_value_ui64 (sexp_t *sx, uint64_t default_val=0)
 
sexp_t * get_elem (sexp_t *sx, unsigned int n)
 
sexp_t * get_elem0 (sexp_t *sx)
 
sexp_t * get_elem1 (sexp_t *sx)
 
sexp_t * get_elem2 (sexp_t *sx)
 
sexp_t * get_elem3 (sexp_t *sx)
 
sexp_t * get_next (sexp_t *sx)
 
sexp_t * get_wnast_attrs (sexp_t *sx)
 
sexp_t * get_wnast_kid0 (sexp_t *sx)
 

Typedef Documentation

typedef ostream&(* sexp::omanip)(ostream &)

Definition at line 256 of file sexpostream.h.

Function Documentation

template<class T >
AtomInfo_<T> sexp::Atom ( const T &  val)

Definition at line 416 of file sexpostream.h.

References sexp::IOFlags::NONE.

FlagElemInfo_ sexp::BegAtom ( int  flags)
inline

Definition at line 356 of file sexpostream.h.

References sexp::FlagElemInfo_::flags.

Referenced by sexp::ostream::Atom().

ostream& sexp::BegAtom ( ostream &  sos)
inline

Definition at line 364 of file sexpostream.h.

References sexp::ostream::BegAtom().

Here is the call graph for this function:

ostream& sexp::BegComment ( ostream &  sos)
inline
FlagElemInfo_ sexp::BegList ( int  flags)
inline

Definition at line 371 of file sexpostream.h.

References sexp::FlagElemInfo_::flags.

Referenced by operator<<(), whirl2sexp::TranslateGlobalSymbolTables(), whirl2sexp::TranslateLocalSymbolTables(), whirl2sexp::TranslateWN(), whirl2sexp::xlate_ARB_TAB(), whirl2sexp::xlate_ARRAYx(), whirl2sexp::xlate_BinaryOp(), whirl2sexp::xlate_BLK_TAB(), whirl2sexp::xlate_BLOCK(), whirl2sexp::xlate_CASEGOTO(), whirl2sexp::xlate_condBR(), whirl2sexp::xlate_CONST(), whirl2sexp::xlate_CVT_CVTL(), whirl2sexp::xlate_FILE_INFO(), whirl2sexp::xlate_FLD_TAB(), whirl2sexp::xlate_FUNC_ENTRY(), whirl2sexp::xlate_GOTOx_LABEL(), whirl2sexp::xlate_IDNAME(), whirl2sexp::xlate_INITO_TAB(), whirl2sexp::xlate_INITV_TAB(), whirl2sexp::xlate_INTCONST(), whirl2sexp::xlate_IO(), whirl2sexp::xlate_IO_ITEM(), xlate_IR(), whirl2sexp::xlate_LABEL_TAB(), whirl2sexp::xlate_LDA_LDMA(), whirl2sexp::xlate_LDID_STID(), whirl2sexp::xlate_misc_stmt(), whirl2sexp::xlate_multiBR(), whirl2sexp::xlate_PARM(), whirl2sexp::xlate_PREG_TAB(), xlate_PU(), whirl2sexp::xlate_PU_TAB(), xlate_PUForest(), xlate_PUTree(), whirl2sexp::xlate_RETURNx(), whirl2sexp::xlate_ST_ATTR_TAB(), whirl2sexp::xlate_ST_TAB(), whirl2sexp::xlate_STR_TAB(), whirl2sexp::xlate_STRCTFLD(), whirl2sexp::xlate_structured_cf(), whirl2sexp::xlate_SYMTAB_entry(), whirl2sexp::xlate_SYMTAB_entry_STR(), whirl2sexp::xlate_SYMTAB_entry_TCON_STR(), whirl2sexp::xlate_TAS(), whirl2sexp::xlate_TCON_STR_TAB(), whirl2sexp::xlate_TCON_TAB(), whirl2sexp::xlate_TernaryOp(), whirl2sexp::xlate_TY_TAB(), whirl2sexp::xlate_TYLIST_TAB(), whirl2sexp::xlate_UnaryOp(), whirl2sexp::xlate_xCALL(), whirl2sexp::xlate_xLOADx_xSTOREx(), and whirl2sexp::xlate_xPRAGMA().

ostream& sexp::BegList ( ostream &  sos)
inline

Definition at line 379 of file sexpostream.h.

References sexp::ostream::BegList().

Here is the call graph for this function:

CommentInfo_ sexp::Comment ( const char *  str_)
inline

Definition at line 439 of file sexpostream.h.

References sexp::CommentInfo_::str.

Referenced by xlate_IO_ITEM_format(), and xlate_IO_ITEM_unit().

ostream& sexp::EndAtom ( ostream &  sos)
inline

Definition at line 267 of file sexpostream.h.

References sexp::ostream::EndAtom().

Referenced by sexp::ostream::Atom().

Here is the call graph for this function:

ostream& sexp::EndComment ( ostream &  sos)
inline
ostream& sexp::EndLine ( ostream &  sos)
inline
ostream& sexp::EndList ( ostream &  sos)
inline

Definition at line 274 of file sexpostream.h.

References sexp::ostream::EndList().

Referenced by operator<<(), whirl2sexp::TranslateGlobalSymbolTables(), whirl2sexp::TranslateLocalSymbolTables(), whirl2sexp::TranslateWN(), whirl2sexp::xlate_ARB_TAB(), whirl2sexp::xlate_ARRAYx(), whirl2sexp::xlate_BinaryOp(), whirl2sexp::xlate_BLK_TAB(), whirl2sexp::xlate_BLOCK(), whirl2sexp::xlate_CASEGOTO(), whirl2sexp::xlate_condBR(), whirl2sexp::xlate_CONST(), whirl2sexp::xlate_CVT_CVTL(), whirl2sexp::xlate_FILE_INFO(), whirl2sexp::xlate_FLD_TAB(), whirl2sexp::xlate_FUNC_ENTRY(), whirl2sexp::xlate_GOTOx_LABEL(), whirl2sexp::xlate_IDNAME(), whirl2sexp::xlate_INITO_TAB(), whirl2sexp::xlate_INITV_TAB(), whirl2sexp::xlate_INTCONST(), whirl2sexp::xlate_IO(), whirl2sexp::xlate_IO_ITEM(), xlate_IR(), whirl2sexp::xlate_LABEL_TAB(), whirl2sexp::xlate_LDA_LDMA(), whirl2sexp::xlate_LDID_STID(), whirl2sexp::xlate_misc_stmt(), whirl2sexp::xlate_multiBR(), whirl2sexp::xlate_PARM(), whirl2sexp::xlate_PREG_TAB(), xlate_PU(), whirl2sexp::xlate_PU_TAB(), xlate_PUForest(), xlate_PUTree(), whirl2sexp::xlate_RETURNx(), whirl2sexp::xlate_ST_ATTR_TAB(), whirl2sexp::xlate_ST_TAB(), whirl2sexp::xlate_STR_TAB(), whirl2sexp::xlate_STRCTFLD(), whirl2sexp::xlate_structured_cf(), whirl2sexp::xlate_SYMTAB_entry(), whirl2sexp::xlate_SYMTAB_entry_STR(), whirl2sexp::xlate_SYMTAB_entry_TCON_STR(), whirl2sexp::xlate_TAS(), whirl2sexp::xlate_TCON_STR_TAB(), whirl2sexp::xlate_TCON_TAB(), whirl2sexp::xlate_TernaryOp(), whirl2sexp::xlate_TY_TAB(), whirl2sexp::xlate_TYLIST_TAB(), whirl2sexp::xlate_UnaryOp(), whirl2sexp::xlate_xCALL(), whirl2sexp::xlate_xLOADx_xSTOREx(), and whirl2sexp::xlate_xPRAGMA().

Here is the call graph for this function:

EscapeStringInfo_ sexp::EscapeString ( const char *  val)
inline

Definition at line 465 of file sexpostream.h.

Referenced by sexp::ostream::Atom().

sexp_t* sexp::get_elem ( sexp_t *  sx,
unsigned int  n 
)
inline

Definition at line 136 of file sexputil.h.

References OA::n.

Referenced by get_elem3(), and get_wnast_kid0().

sexp_t* sexp::get_elem3 ( sexp_t *  sx)
inline
int32_t sexp::get_value_i32 ( sexp_t *  sx,
int32_t  default_val = 0 
)
inline
int64_t sexp::get_value_i64 ( sexp_t *  sx,
int64_t  default_val = 0 
)
inline
long sexp::get_value_l ( sexp_t *  sx,
long  default_val = 0 
)
inline

Definition at line 78 of file sexputil.h.

References NULL, and val.

Referenced by get_value_i32().

uint64_t sexp::get_value_ui64 ( sexp_t *  sx,
uint64_t  default_val = 0 
)
inline
unsigned long sexp::get_value_ul ( sexp_t *  sx,
unsigned long  default_val = 0 
)
inline

Definition at line 88 of file sexputil.h.

References NULL, and val.

Referenced by get_value_ui32().

ostream& sexp::Indent ( ostream &  sos)
inline

Definition at line 311 of file sexpostream.h.

References sexp::ostream::Indent().

Referenced by sexp::ostream::EndLine().

Here is the call graph for this function:

ostream& sexp::IndentDecr ( ostream &  sos)
inline

Definition at line 325 of file sexpostream.h.

References sexp::ostream::IndentDecr().

Referenced by sexp::ostream::EndList().

Here is the call graph for this function:

ostream& sexp::IndentIncr ( ostream &  sos)
inline

Definition at line 318 of file sexpostream.h.

References sexp::ostream::IndentIncr().

Referenced by sexp::ostream::BegList().

Here is the call graph for this function:

bool sexp::is_atom ( sexp_t *  sx)
inline

Definition at line 42 of file sexputil.h.

bool sexp::is_atom_basic ( sexp_t *  sx)
inline

Definition at line 65 of file sexputil.h.

bool sexp::is_null_list ( sexp_t *  sx)
inline

Definition at line 54 of file sexputil.h.

References NULL.

Referenced by sexp2whirl::TranslateWN().

ostream& sexp::operator<< ( std::ostream &  os,
omanip  f 
)
inline

Definition at line 259 of file sexpostream.h.

ostream& sexp::operator<< ( std::ostream &  os,
const FlagElemInfo_  x 
)
inline

Definition at line 348 of file sexpostream.h.

References sexp::ostream::BegList(), and sexp::FlagElemInfo_::flags.

Here is the call graph for this function:

template<class T >
ostream& sexp::operator<< ( std::ostream &  os,
const AtomInfo_< T > &  x 
)

Definition at line 399 of file sexpostream.h.

References sexp::ostream::Atom().

Here is the call graph for this function:

ostream& sexp::operator<< ( std::ostream &  os,
const CommentInfo_  x 
)
inline

Definition at line 431 of file sexpostream.h.

References sexp::ostream::Comment(), and sexp::CommentInfo_::str.

Here is the call graph for this function:

ostream& sexp::operator<< ( std::ostream &  os,
const EscapeStringInfo_ &  x 
)
inline

Definition at line 457 of file sexpostream.h.

References sexp::ostream::EscapeString(), and sexp::EscapeStringInfo_::val.

Here is the call graph for this function:

ostream& sexp::operator<< ( std::ostream &  os,
const IndentAmntInfo_  x 
)
inline

Definition at line 480 of file sexpostream.h.

References sexp::IndentAmntInfo_::amnt, and sexp::ostream::SetIndentAmnt().

Here is the call graph for this function:

ostream& sexp::operator<< ( std::ostream &  os,
const IndentStepInfo_  x 
)
inline

Definition at line 503 of file sexpostream.h.

References sexp::ostream::SetIndentStep(), and sexp::IndentStepInfo_::step.

Here is the call graph for this function:

ostream& sexp::Quote ( ostream &  sos)
inline

Definition at line 281 of file sexpostream.h.

References sexp::ostream::Quote().

Here is the call graph for this function:

IndentAmntInfo_ sexp::SetIndentAmnt ( int  amnt_)
inline

Definition at line 488 of file sexpostream.h.

References sexp::IndentAmntInfo_::amnt.

IndentStepInfo_ sexp::SetIndentStep ( int  step_)
inline

Definition at line 511 of file sexpostream.h.

References sexp::IndentStepInfo_::step.