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

#include <ast.hpp>

Inheritance diagram for stan::lang::returns_type_vis:

Public Member Functions

 returns_type_vis (const expr_type &return_type, std::ostream &error_msgs)
 
bool operator() (const nil &st) const
 
bool operator() (const assignment &st) const
 
bool operator() (const assgn &st) const
 
bool operator() (const sample &st) const
 
bool operator() (const increment_log_prob_statement &t) const
 
bool operator() (const expression &st) const
 
bool operator() (const statements &st) const
 
bool operator() (const for_statement &st) const
 
bool operator() (const conditional_statement &st) const
 
bool operator() (const while_statement &st) const
 
bool operator() (const break_continue_statement &st) const
 
bool operator() (const print_statement &st) const
 
bool operator() (const reject_statement &st) const
 
bool operator() (const no_op_statement &st) const
 
bool operator() (const return_statement &st) const
 

Public Attributes

expr_type return_type_
 
std::ostream & error_msgs_
 

Detailed Description

Definition at line 922 of file ast.hpp.

Constructor & Destructor Documentation

§ returns_type_vis()

stan::lang::returns_type_vis::returns_type_vis ( const expr_type return_type,
std::ostream &  error_msgs 
)

Definition at line 594 of file ast_def.cpp.

Member Function Documentation

§ operator()() [1/15]

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

Definition at line 599 of file ast_def.cpp.

§ operator()() [2/15]

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

Definition at line 604 of file ast_def.cpp.

§ operator()() [3/15]

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

Definition at line 609 of file ast_def.cpp.

§ operator()() [4/15]

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

Definition at line 614 of file ast_def.cpp.

§ operator()() [5/15]

bool stan::lang::returns_type_vis::operator() ( const increment_log_prob_statement t) const

Definition at line 619 of file ast_def.cpp.

§ operator()() [6/15]

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

Definition at line 625 of file ast_def.cpp.

§ operator()() [7/15]

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

Definition at line 646 of file ast_def.cpp.

§ operator()() [8/15]

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

Definition at line 656 of file ast_def.cpp.

§ operator()() [9/15]

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

Definition at line 673 of file ast_def.cpp.

§ operator()() [10/15]

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

Definition at line 660 of file ast_def.cpp.

§ operator()() [11/15]

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

Definition at line 664 of file ast_def.cpp.

§ operator()() [12/15]

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

Definition at line 630 of file ast_def.cpp.

§ operator()() [13/15]

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

Definition at line 635 of file ast_def.cpp.

§ operator()() [14/15]

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

Definition at line 640 of file ast_def.cpp.

§ operator()() [15/15]

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

Definition at line 687 of file ast_def.cpp.

Member Data Documentation

§ error_msgs_

std::ostream& stan::lang::returns_type_vis::error_msgs_

Definition at line 924 of file ast.hpp.

§ return_type_

expr_type stan::lang::returns_type_vis::return_type_

Definition at line 923 of file ast.hpp.


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

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