mCRL2
Loading...
Searching...
No Matches
mcrl2::pbes_system::detail::replace_subterm_builder Struct Reference

#include <replace_subterm.h>

Inheritance diagram for mcrl2::pbes_system::detail::replace_subterm_builder:
mcrl2::pbes_system::pbes_expression_builder< replace_subterm_builder > mcrl2::pbes_system::add_pbes_expressions< Builder, Derived >

Public Types

using super = pbes_expression_builder< replace_subterm_builder >
 
- Public Types inherited from mcrl2::pbes_system::add_pbes_expressions< Builder, Derived >
using super = Builder< Derived >
 

Public Member Functions

 replace_subterm_builder (std::size_t xpos_, std::size_t ypos_, const pbes_expression &replacement_)
 
template<typename T >
pbes_expression visit (const T &x)
 
template<class T >
void apply (T &result, const data::data_expression &x)
 
template<class T >
void apply (T &result, const propositional_variable_instantiation &x)
 
template<class T >
void apply (T &result, const pbes_system::forall &x)
 
template<class T >
void apply (T &result, const pbes_system::exists &x)
 
template<class T >
void apply (T &result, const pbes_system::and_ &x)
 
template<class T >
void apply (T &result, const pbes_system::or_ &x)
 
template<class T >
void apply (T &result, const pbes_system::imp &x)
 
- Public Member Functions inherited from mcrl2::pbes_system::add_pbes_expressions< Builder, Derived >
void update (pbes_system::pbes_equation &x)
 
void update (pbes_system::pbes &x)
 
template<class T >
void apply (T &result, const pbes_system::propositional_variable_instantiation &x)
 
template<class T >
void apply (T &result, const pbes_system::not_ &x)
 
template<class T >
void apply (T &result, const pbes_system::and_ &x)
 
template<class T >
void apply (T &result, const pbes_system::or_ &x)
 
template<class T >
void apply (T &result, const pbes_system::imp &x)
 
template<class T >
void apply (T &result, const pbes_system::forall &x)
 
template<class T >
void apply (T &result, const pbes_system::exists &x)
 
template<class T >
void apply (T &result, const pbes_system::pbes_expression &x)
 

Public Attributes

std::size_t xpos
 
std::size_t ypos
 
pbes_expression replacement
 
bool ready = false
 
utilities::detail::position_counter counter
 

Detailed Description

Definition at line 87 of file replace_subterm.h.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ replace_subterm_builder()

mcrl2::pbes_system::detail::replace_subterm_builder::replace_subterm_builder ( std::size_t  xpos_,
std::size_t  ypos_,
const pbes_expression &  replacement_ 
)
inline

Definition at line 99 of file replace_subterm.h.

Member Function Documentation

◆ apply() [1/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const data::data_expression &  x 
)
inline

Definition at line 126 of file replace_subterm.h.

◆ apply() [2/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const pbes_system::and_ &  x 
)
inline

Definition at line 150 of file replace_subterm.h.

◆ apply() [3/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const pbes_system::exists &  x 
)
inline

Definition at line 144 of file replace_subterm.h.

◆ apply() [4/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const pbes_system::forall &  x 
)
inline

Definition at line 138 of file replace_subterm.h.

◆ apply() [5/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const pbes_system::imp &  x 
)
inline

Definition at line 162 of file replace_subterm.h.

◆ apply() [6/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const pbes_system::or_ &  x 
)
inline

Definition at line 156 of file replace_subterm.h.

◆ apply() [7/7]

template<class T >
void mcrl2::pbes_system::detail::replace_subterm_builder::apply ( T &  result,
const propositional_variable_instantiation &  x 
)
inline

Definition at line 132 of file replace_subterm.h.

◆ visit()

template<typename T >
pbes_expression mcrl2::pbes_system::detail::replace_subterm_builder::visit ( const T &  x)
inline

Definition at line 104 of file replace_subterm.h.

Member Data Documentation

◆ counter

utilities::detail::position_counter mcrl2::pbes_system::detail::replace_subterm_builder::counter

Definition at line 97 of file replace_subterm.h.

◆ ready

bool mcrl2::pbes_system::detail::replace_subterm_builder::ready = false

Definition at line 96 of file replace_subterm.h.

◆ replacement

pbes_expression mcrl2::pbes_system::detail::replace_subterm_builder::replacement

Definition at line 95 of file replace_subterm.h.

◆ xpos

std::size_t mcrl2::pbes_system::detail::replace_subterm_builder::xpos

Definition at line 93 of file replace_subterm.h.

◆ ypos

std::size_t mcrl2::pbes_system::detail::replace_subterm_builder::ypos

Definition at line 94 of file replace_subterm.h.


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