Stan  2.13.1
probability, sampling & optimization
Public Types | Public Member Functions | Public Attributes | List of all members
stan::lang::statement Struct Reference

#include <ast.hpp>

Public Types

typedef 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
 

Public Member Functions

 statement ()
 
 statement (const statement_t &st)
 
 statement (const nil &st)
 
 statement (const assignment &st)
 
 statement (const assgn &st)
 
 statement (const sample &st)
 
 statement (const increment_log_prob_statement &st)
 
 statement (const expression &st)
 
 statement (const statements &st)
 
 statement (const for_statement &st)
 
 statement (const conditional_statement &st)
 
 statement (const while_statement &st)
 
 statement (const break_continue_statement &st)
 
 statement (const print_statement &st)
 
 statement (const reject_statement &st)
 
 statement (const no_op_statement &st)
 
 statement (const return_statement &st)
 
bool is_no_op_statement () const
 

Public Attributes

statement_t statement_
 
size_t begin_line_
 
size_t end_line_
 

Detailed Description

Definition at line 861 of file ast.hpp.

Member Typedef Documentation

§ statement_t

typedef 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> > stan::lang::statement::statement_t

Definition at line 877 of file ast.hpp.

Constructor & Destructor Documentation

§ statement() [1/17]

stan::lang::statement::statement ( )

Definition at line 1832 of file ast_def.cpp.

§ statement() [2/17]

stan::lang::statement::statement ( const statement_t st)

Definition at line 1834 of file ast_def.cpp.

§ statement() [3/17]

stan::lang::statement::statement ( const nil st)

Definition at line 1835 of file ast_def.cpp.

§ statement() [4/17]

stan::lang::statement::statement ( const assignment st)

Definition at line 1836 of file ast_def.cpp.

§ statement() [5/17]

stan::lang::statement::statement ( const assgn st)

Definition at line 1837 of file ast_def.cpp.

§ statement() [6/17]

stan::lang::statement::statement ( const sample st)

Definition at line 1838 of file ast_def.cpp.

§ statement() [7/17]

stan::lang::statement::statement ( const increment_log_prob_statement st)

Definition at line 1839 of file ast_def.cpp.

§ statement() [8/17]

stan::lang::statement::statement ( const expression st)

Definition at line 1843 of file ast_def.cpp.

§ statement() [9/17]

stan::lang::statement::statement ( const statements st)

Definition at line 1842 of file ast_def.cpp.

§ statement() [10/17]

stan::lang::statement::statement ( const for_statement st)

Definition at line 1844 of file ast_def.cpp.

§ statement() [11/17]

stan::lang::statement::statement ( const conditional_statement st)

Definition at line 1848 of file ast_def.cpp.

§ statement() [12/17]

stan::lang::statement::statement ( const while_statement st)

Definition at line 1845 of file ast_def.cpp.

§ statement() [13/17]

stan::lang::statement::statement ( const break_continue_statement st)

Definition at line 1846 of file ast_def.cpp.

§ statement() [14/17]

stan::lang::statement::statement ( const print_statement st)

Definition at line 1849 of file ast_def.cpp.

§ statement() [15/17]

stan::lang::statement::statement ( const reject_statement st)

Definition at line 1850 of file ast_def.cpp.

§ statement() [16/17]

stan::lang::statement::statement ( const no_op_statement st)

Definition at line 1852 of file ast_def.cpp.

§ statement() [17/17]

stan::lang::statement::statement ( const return_statement st)

Definition at line 1851 of file ast_def.cpp.

Member Function Documentation

§ is_no_op_statement()

bool stan::lang::statement::is_no_op_statement ( ) const

Definition at line 1905 of file ast_def.cpp.

Member Data Documentation

§ begin_line_

size_t stan::lang::statement::begin_line_

Definition at line 879 of file ast.hpp.

§ end_line_

size_t stan::lang::statement::end_line_

Definition at line 880 of file ast.hpp.

§ statement_

statement_t stan::lang::statement::statement_

Definition at line 878 of file ast.hpp.


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

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