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

Constructor & Destructor Documentation

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

Definition at line 550 of file ast_def.cpp.

Member Function Documentation

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

Definition at line 555 of file ast_def.cpp.

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

Definition at line 560 of file ast_def.cpp.

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

Definition at line 565 of file ast_def.cpp.

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

Definition at line 570 of file ast_def.cpp.

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

Definition at line 575 of file ast_def.cpp.

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

Definition at line 581 of file ast_def.cpp.

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

Definition at line 602 of file ast_def.cpp.

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

Definition at line 612 of file ast_def.cpp.

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

Definition at line 620 of file ast_def.cpp.

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

Definition at line 616 of file ast_def.cpp.

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

Definition at line 586 of file ast_def.cpp.

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

Definition at line 591 of file ast_def.cpp.

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

Definition at line 596 of file ast_def.cpp.

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

Definition at line 634 of file ast_def.cpp.

Member Data Documentation

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

Definition at line 846 of file ast.hpp.

expr_type stan::lang::returns_type_vis::return_type_

Definition at line 845 of file ast.hpp.


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

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