mCRL2
Loading...
Searching...
No Matches
mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived > Class Template Reference

#include <resolve_name_clashes.h>

Inheritance diagram for mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >:
mcrl2::state_formulas::state_formula_builder< Derived > mcrl2::state_formulas::add_state_formula_expressions< state_formulas::state_formula_builder_base, Derived >

Public Types

using super = state_formulas::state_formula_builder< Derived >
 
using name_map = std::map< core::identifier_string, std::vector< core::identifier_string > >
 
- Public Types inherited from mcrl2::state_formulas::add_state_formula_expressions< state_formulas::state_formula_builder_base, Derived >
using super = state_formulas::state_formula_builder_base< Derived >
 

Public Member Functions

void pop (const core::identifier_string &name)
 Pops the name of the stack.
 
void push (const core::identifier_string &name)
 Pushes name on the stack.
 
void enter (const mu &x)
 
void leave (const mu &x)
 
void enter (const nu &x)
 
void leave (const nu &x)
 
template<class T >
void apply (T &result, const mu &x)
 
template<class T >
void apply (T &result, const nu &x)
 
template<class T >
void apply (T &result, const variable &x)
 
- Public Member Functions inherited from mcrl2::state_formulas::add_state_formula_expressions< state_formulas::state_formula_builder_base, Derived >
void apply (T &result, const state_formulas::true_ &x)
 
void apply (T &result, const state_formulas::false_ &x)
 
void apply (T &result, const state_formulas::not_ &x)
 
void apply (T &result, const state_formulas::minus &x)
 
void apply (T &result, const state_formulas::and_ &x)
 
void apply (T &result, const state_formulas::or_ &x)
 
void apply (T &result, const state_formulas::imp &x)
 
void apply (T &result, const state_formulas::plus &x)
 
void apply (T &result, const state_formulas::const_multiply &x)
 
void apply (T &result, const state_formulas::const_multiply_alt &x)
 
void apply (T &result, const state_formulas::forall &x)
 
void apply (T &result, const state_formulas::exists &x)
 
void apply (T &result, const state_formulas::infimum &x)
 
void apply (T &result, const state_formulas::supremum &x)
 
void apply (T &result, const state_formulas::sum &x)
 
void apply (T &result, const state_formulas::must &x)
 
void apply (T &result, const state_formulas::may &x)
 
void apply (T &result, const state_formulas::yaled &x)
 
void apply (T &result, const state_formulas::yaled_timed &x)
 
void apply (T &result, const state_formulas::delay &x)
 
void apply (T &result, const state_formulas::delay_timed &x)
 
void apply (T &result, const state_formulas::variable &x)
 
void apply (T &result, const state_formulas::nu &x)
 
void apply (T &result, const state_formulas::mu &x)
 
void apply (T &result, const state_formulas::state_formula &x)
 
void update (state_formulas::state_formula_specification &x)
 

Public Attributes

name_map m_names
 The stack of names.
 
utilities::number_postfix_generator m_generator
 Generator for fresh variable names.
 

Detailed Description

template<typename Derived>
class mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >

Definition at line 48 of file resolve_name_clashes.h.

Member Typedef Documentation

◆ name_map

template<typename Derived >
using mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::name_map = std::map<core::identifier_string, std::vector<core::identifier_string> >

Definition at line 57 of file resolve_name_clashes.h.

◆ super

Definition at line 51 of file resolve_name_clashes.h.

Member Function Documentation

◆ apply() [1/3]

template<typename Derived >
template<class T >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::apply ( T &  result,
const mu &  x 
)
inline

Definition at line 107 of file resolve_name_clashes.h.

◆ apply() [2/3]

template<typename Derived >
template<class T >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::apply ( T &  result,
const nu &  x 
)
inline

Definition at line 122 of file resolve_name_clashes.h.

◆ apply() [3/3]

template<typename Derived >
template<class T >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::apply ( T &  result,
const variable &  x 
)
inline

Definition at line 137 of file resolve_name_clashes.h.

◆ enter() [1/2]

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::enter ( const mu &  x)
inline

Definition at line 85 of file resolve_name_clashes.h.

◆ enter() [2/2]

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::enter ( const nu &  x)
inline

Definition at line 95 of file resolve_name_clashes.h.

◆ leave() [1/2]

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::leave ( const mu &  x)
inline

Definition at line 90 of file resolve_name_clashes.h.

◆ leave() [2/2]

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::leave ( const nu &  x)
inline

Definition at line 100 of file resolve_name_clashes.h.

◆ pop()

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::pop ( const core::identifier_string &  name)
inline

Pops the name of the stack.

Definition at line 66 of file resolve_name_clashes.h.

◆ push()

template<typename Derived >
void mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::push ( const core::identifier_string &  name)
inline

Pushes name on the stack.

Definition at line 72 of file resolve_name_clashes.h.

Member Data Documentation

◆ m_generator

Generator for fresh variable names.

Definition at line 63 of file resolve_name_clashes.h.

◆ m_names

template<typename Derived >
name_map mcrl2::state_formulas::detail::state_variable_name_clash_resolver< Derived >::m_names

The stack of names.

Definition at line 60 of file resolve_name_clashes.h.


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