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

#include <semantic_actions.hpp>

Inheritance diagram for stan::lang::validate_identifier:
stan::lang::phoenix_functor_ternary

Public Member Functions

 validate_identifier ()
 
void operator() (const std::string &identifier, bool &pass, std::stringstream &error_msgs) const
 
bool contains (const std::set< std::string > &s, const std::string &x) const
 
bool identifier_exists (const std::string &identifier) const
 
void reserve (const std::string &w)
 

Public Attributes

std::set< std::string > reserved_word_set_
 
std::set< std::string > const_fun_name_set_
 

Detailed Description

Definition at line 711 of file semantic_actions.hpp.

Constructor & Destructor Documentation

stan::lang::validate_identifier::validate_identifier ( )

Definition at line 2096 of file semantic_actions_def.cpp.

Member Function Documentation

bool stan::lang::validate_identifier::contains ( const std::set< std::string > &  s,
const std::string &  x 
) const

Definition at line 2085 of file semantic_actions_def.cpp.

bool stan::lang::validate_identifier::identifier_exists ( const std::string &  identifier) const

Definition at line 2089 of file semantic_actions_def.cpp.

void stan::lang::validate_identifier::operator() ( const std::string &  identifier,
bool &  pass,
std::stringstream &  error_msgs 
) const

Definition at line 2252 of file semantic_actions_def.cpp.

void stan::lang::validate_identifier::reserve ( const std::string &  w)

Definition at line 2082 of file semantic_actions_def.cpp.

Member Data Documentation

std::set<std::string> stan::lang::validate_identifier::const_fun_name_set_

Definition at line 713 of file semantic_actions.hpp.

std::set<std::string> stan::lang::validate_identifier::reserved_word_set_

Definition at line 712 of file semantic_actions.hpp.


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

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