mCRL2
Loading...
Searching...
No Matches
mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator > Struct Template Reference

#include <find_free_variables.h>

Inheritance diagram for mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >:
mcrl2::pbes_system::pbes_expression_traverser< find_free_variables_traverser< OutputIterator > > mcrl2::pbes_system::add_traverser_pbes_expressions< Traverser, Derived >

Public Types

using super = pbes_expression_traverser< find_free_variables_traverser< OutputIterator > >
 
- Public Types inherited from mcrl2::pbes_system::add_traverser_pbes_expressions< Traverser, Derived >
using super = Traverser< Derived >
 

Public Member Functions

 find_free_variables_traverser (OutputIterator out_, bool search_propositional_variables_=true)
 
 find_free_variables_traverser (OutputIterator out_, const data::variable_list &bound_variables_, bool search_propositional_variables_=true)
 
bool is_bound (const data::variable &v) const
 Returns true if v is an element of bound_variables or quantifier_stack.
 
void push (const data::variable_list &v)
 Pushes v on the stack of quantifier variables.
 
void pop ()
 Pops the stack of quantifier variables.
 
void enter (const forall &x)
 
void leave (const forall &)
 
void enter (const exists &x)
 
void leave (const exists &)
 
void apply (const propositional_variable_instantiation &x)
 
void enter (const data::data_expression &x)
 
- Public Member Functions inherited from mcrl2::pbes_system::add_traverser_pbes_expressions< Traverser, Derived >
void apply (const pbes_system::pbes_equation &x)
 
void apply (const pbes_system::pbes &x)
 
void apply (const pbes_system::propositional_variable_instantiation &x)
 
void apply (const pbes_system::not_ &x)
 
void apply (const pbes_system::and_ &x)
 
void apply (const pbes_system::or_ &x)
 
void apply (const pbes_system::imp &x)
 
void apply (const pbes_system::forall &x)
 
void apply (const pbes_system::exists &x)
 
void apply (const pbes_system::pbes_expression &x)
 

Public Attributes

data::variable_list bound_variables
 
std::vector< data::variable_list > quantifier_stack
 
OutputIterator out
 
bool search_propositional_variables
 

Detailed Description

template<typename OutputIterator>
struct mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >

Definition at line 26 of file find_free_variables.h.

Member Typedef Documentation

◆ super

template<typename OutputIterator >
using mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::super = pbes_expression_traverser<find_free_variables_traverser<OutputIterator> >

Definition at line 28 of file find_free_variables.h.

Constructor & Destructor Documentation

◆ find_free_variables_traverser() [1/2]

template<typename OutputIterator >
mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::find_free_variables_traverser ( OutputIterator  out_,
bool  search_propositional_variables_ = true 
)
inline

Definition at line 38 of file find_free_variables.h.

◆ find_free_variables_traverser() [2/2]

template<typename OutputIterator >
mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::find_free_variables_traverser ( OutputIterator  out_,
const data::variable_list &  bound_variables_,
bool  search_propositional_variables_ = true 
)
inline

Definition at line 43 of file find_free_variables.h.

Member Function Documentation

◆ apply()

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::apply ( const propositional_variable_instantiation &  x)
inline

Definition at line 103 of file find_free_variables.h.

◆ enter() [1/3]

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::enter ( const data::data_expression &  x)
inline

Definition at line 119 of file find_free_variables.h.

◆ enter() [2/3]

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::enter ( const exists &  x)
inline

Definition at line 93 of file find_free_variables.h.

◆ enter() [3/3]

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::enter ( const forall &  x)
inline

Definition at line 83 of file find_free_variables.h.

◆ is_bound()

template<typename OutputIterator >
bool mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::is_bound ( const data::variable &  v) const
inline

Returns true if v is an element of bound_variables or quantifier_stack.

Parameters
vA data variable
Returns
True if v is an element of bound_variables or quantifier_stack

Definition at line 54 of file find_free_variables.h.

◆ leave() [1/2]

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::leave ( const exists &  )
inline

Definition at line 98 of file find_free_variables.h.

◆ leave() [2/2]

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::leave ( const forall &  )
inline

Definition at line 88 of file find_free_variables.h.

◆ pop()

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::pop ( )
inline

Pops the stack of quantifier variables.

Definition at line 78 of file find_free_variables.h.

◆ push()

template<typename OutputIterator >
void mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::push ( const data::variable_list &  v)
inline

Pushes v on the stack of quantifier variables.

Parameters
vA sequence of data variables

Definition at line 72 of file find_free_variables.h.

Member Data Documentation

◆ bound_variables

template<typename OutputIterator >
data::variable_list mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::bound_variables

Definition at line 33 of file find_free_variables.h.

◆ out

template<typename OutputIterator >
OutputIterator mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::out

Definition at line 35 of file find_free_variables.h.

◆ quantifier_stack

template<typename OutputIterator >
std::vector<data::variable_list> mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::quantifier_stack

Definition at line 34 of file find_free_variables.h.

◆ search_propositional_variables

template<typename OutputIterator >
bool mcrl2::pbes_system::detail::find_free_variables_traverser< OutputIterator >::search_propositional_variables

Definition at line 36 of file find_free_variables.h.


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