Stan  2.10.0
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< 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 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 785 of file ast.hpp.

Member Typedef Documentation

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<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 800 of file ast.hpp.

Constructor & Destructor Documentation

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

Definition at line 1571 of file ast_def.cpp.

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

Definition at line 1573 of file ast_def.cpp.

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

Definition at line 1574 of file ast_def.cpp.

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

Definition at line 1575 of file ast_def.cpp.

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

Definition at line 1576 of file ast_def.cpp.

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

Definition at line 1577 of file ast_def.cpp.

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

Definition at line 1578 of file ast_def.cpp.

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

Definition at line 1582 of file ast_def.cpp.

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

Definition at line 1581 of file ast_def.cpp.

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

Definition at line 1583 of file ast_def.cpp.

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

Definition at line 1585 of file ast_def.cpp.

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

Definition at line 1584 of file ast_def.cpp.

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

Definition at line 1586 of file ast_def.cpp.

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

Definition at line 1587 of file ast_def.cpp.

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

Definition at line 1589 of file ast_def.cpp.

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

Definition at line 1588 of file ast_def.cpp.

Member Function Documentation

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

Definition at line 1637 of file ast_def.cpp.

Member Data Documentation

size_t stan::lang::statement::begin_line_

Definition at line 803 of file ast.hpp.

size_t stan::lang::statement::end_line_

Definition at line 804 of file ast.hpp.

statement_t stan::lang::statement::statement_

Definition at line 802 of file ast.hpp.


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

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