Polly 19.0.0git
Public Member Functions | Public Attributes | List of all members
TupleKind Struct Reference

#include <template_cpp.h>

Inheritance diagram for TupleKind:
Inheritance graph
[legend]

Public Member Functions

 TupleKind (const std::string &name)
 
virtual std::string to_string () const
 
virtual std::vector< std::string > params () const
 
virtual TupleKindPtr apply (const Substitution &subs, const TupleKindPtr &self) const
 
virtual TupleKindPtr left () const
 
virtual TupleKindPtr right () const
 

Public Attributes

const std::string name
 

Detailed Description

Definition at line 40 of file template_cpp.h.

Constructor & Destructor Documentation

◆ TupleKind()

TupleKind::TupleKind ( const std::string &  name)
inline

Definition at line 41 of file template_cpp.h.

Member Function Documentation

◆ apply()

TupleKindPtr TupleKind::apply ( const Substitution subs,
const TupleKindPtr self 
) const
virtual

Reimplemented in Pair.

Definition at line 72 of file template_cpp.cc.

References name.

◆ left()

TupleKindPtr TupleKind::left ( ) const
virtual

Reimplemented in Pair.

Definition at line 91 of file template_cpp.cc.

◆ params()

std::vector< std::string > TupleKind::params ( ) const
virtual

Reimplemented in ProperTupleKind, and Pair.

Definition at line 60 of file template_cpp.cc.

◆ right()

TupleKindPtr TupleKind::right ( ) const
virtual

Reimplemented in Pair.

Definition at line 100 of file template_cpp.cc.

◆ to_string()

std::string TupleKind::to_string ( ) const
virtual

Reimplemented in Pair.

Definition at line 51 of file template_cpp.cc.

References name.

Member Data Documentation

◆ name

const std::string TupleKind::name

Definition at line 50 of file template_cpp.h.

Referenced by apply(), ProperTupleKind::params(), and to_string().


The documentation for this struct was generated from the following files: