Stan  2.14.0
probability, sampling & optimization
Public Member Functions | List of all members
stan::lang::is_no_op_statement_vis Struct Reference

Visitor to determine if a statement is a no-op statement. More...

#include <is_no_op_statement_vis.hpp>

Inheritance diagram for stan::lang::is_no_op_statement_vis:

Public Member Functions

bool operator() (const nil &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const assignment &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const assgn &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const sample &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const increment_log_prob_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const expression &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const statements &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const for_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const conditional_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const while_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const break_continue_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const print_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const reject_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const no_op_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 
bool operator() (const return_statement &st) const
 Return true if the specified statement is a no-op statement. More...
 

Detailed Description

Visitor to determine if a statement is a no-op statement.

Definition at line 28 of file is_no_op_statement_vis.hpp.

Member Function Documentation

§ operator()() [1/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const nil st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 9 of file is_no_op_statement_vis_def.hpp.

§ operator()() [2/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const assignment st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 13 of file is_no_op_statement_vis_def.hpp.

§ operator()() [3/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const assgn st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 17 of file is_no_op_statement_vis_def.hpp.

§ operator()() [4/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const sample st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 21 of file is_no_op_statement_vis_def.hpp.

§ operator()() [5/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const increment_log_prob_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 25 of file is_no_op_statement_vis_def.hpp.

§ operator()() [6/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const expression st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 30 of file is_no_op_statement_vis_def.hpp.

§ operator()() [7/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const statements st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 34 of file is_no_op_statement_vis_def.hpp.

§ operator()() [8/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const for_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 38 of file is_no_op_statement_vis_def.hpp.

§ operator()() [9/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const conditional_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 42 of file is_no_op_statement_vis_def.hpp.

§ operator()() [10/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const while_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 47 of file is_no_op_statement_vis_def.hpp.

§ operator()() [11/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const break_continue_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 52 of file is_no_op_statement_vis_def.hpp.

§ operator()() [12/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const print_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 57 of file is_no_op_statement_vis_def.hpp.

§ operator()() [13/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const reject_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 61 of file is_no_op_statement_vis_def.hpp.

§ operator()() [14/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const no_op_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
true

Definition at line 65 of file is_no_op_statement_vis_def.hpp.

§ operator()() [15/15]

bool stan::lang::is_no_op_statement_vis::operator() ( const return_statement st) const

Return true if the specified statement is a no-op statement.

Parameters
ststatement
Returns
false

Definition at line 69 of file is_no_op_statement_vis_def.hpp.


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

     [ Stan Home Page ] © 2011–2016, Stan Development Team.