1 #ifndef STAN_LANG_AST_NODE_STATEMENT_DEF_HPP 2 #define STAN_LANG_AST_NODE_STATEMENT_DEF_HPP AST node for print statements.
bool is_no_op_statement() const
Return true if the basic statement held by the variant type in this wrapper is the no-op statement...
Holder for local variable declarations and a sequence of statements.
AST node for assignment to variable with multi-indexing.
AST node for the increment log prob (deprecated) and target increment statements. ...
Probability, optimization and sampling library.
AST node for the reject statement.
AST structure for break and continue statements.
statement_t statement_
The statement variant type held by this wrapper.
AST node for sampling statements.
statement()
Construct a default (nil) statement.
boost::variant< boost::recursive_wrapper< nil >, boost::recursive_wrapper< assignment >, boost::recursive_wrapper< assgn >, boost::recursive_wrapper< sample >, boost::recursive_wrapper< increment_log_prob_statement >, boost::recursive_wrapper< expression >, boost::recursive_wrapper< statements >, boost::recursive_wrapper< for_statement >, boost::recursive_wrapper< conditional_statement >, boost::recursive_wrapper< while_statement >, boost::recursive_wrapper< break_continue_statement >, boost::recursive_wrapper< print_statement >, boost::recursive_wrapper< reject_statement >, boost::recursive_wrapper< return_statement >, boost::recursive_wrapper< no_op_statement > > statement_t
The variant type of statements.
AST node for representing while statements.
Visitor to determine if a statement is a no-op statement.
AST node for the no-operation statement.
AST node for the return statement.
The nil structure used as a placeholder for undefined or empty values in several structures.
AST node for representing a for statement.
AST node for conditional statements.
AST node for assignment statements.