Polly 22.0.0git
TupleKind Struct Reference

#include <template_cpp.h>

Inheritance diagram for TupleKind:
[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.

References name.

Referenced by Pair::Pair(), and ProperTupleKind::ProperTupleKind().

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 Pair, and ProperTupleKind.

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

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