![]() |
Stan
2.14.0
probability, sampling & optimization
|
Visitor to determine if a statement is a no-op statement. More...
#include <is_no_op_statement_vis.hpp>
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... | |
Visitor to determine if a statement is a no-op statement.
Definition at line 28 of file is_no_op_statement_vis.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const nil & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 9 of file is_no_op_statement_vis_def.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const assignment & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 13 of file is_no_op_statement_vis_def.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const assgn & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 17 of file is_no_op_statement_vis_def.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const sample & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 21 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 25 of file is_no_op_statement_vis_def.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const expression & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 30 of file is_no_op_statement_vis_def.hpp.
bool stan::lang::is_no_op_statement_vis::operator() | ( | const statements & | st | ) | const |
Return true if the specified statement is a no-op statement.
st | statement |
Definition at line 34 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 38 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 42 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 47 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 52 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 57 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 61 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 65 of file is_no_op_statement_vis_def.hpp.
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.
st | statement |
Definition at line 69 of file is_no_op_statement_vis_def.hpp.