Block-Structured AMR Software Framework
AMReX_Parser_Y.cpp File Reference
#include <AMReX.H>
#include <AMReX_Parser_Y.H>
#include <amrex_parser.tab.h>
#include <algorithm>
#include <cstdarg>
#include <string>

Namespaces

 amrex
 

Functions

void amrex_parsererror (char const *s,...)
 
void amrex::parser_defexpr (struct parser_node *body)
 
struct parser_symbol * amrex::parser_makesymbol (char *name)
 
struct parser_node * amrex::parser_newnode (enum parser_node_t type, struct parser_node *l, struct parser_node *r)
 
struct parser_node * amrex::parser_newneg (struct parser_node *n)
 
struct parser_node * amrex::parser_newnumber (double d)
 
struct parser_node * amrex::parser_newsymbol (struct parser_symbol *symbol)
 
struct parser_node * amrex::parser_newf1 (enum parser_f1_t ftype, struct parser_node *l)
 
struct parser_node * amrex::parser_newf2 (enum parser_f2_t ftype, struct parser_node *l, struct parser_node *r)
 
struct parser_node * amrex::parser_newf3 (enum parser_f3_t ftype, struct parser_node *n1, struct parser_node *n2, struct parser_node *n3)
 
struct parser_node * amrex::parser_newassign (struct parser_symbol *sym, struct parser_node *v)
 
struct parser_node * amrex::parser_newlist (struct parser_node *nl, struct parser_node *nr)
 
struct amrex_parser * amrex::amrex_parser_new ()
 
void amrex::amrex_parser_delete (struct amrex_parser *parser)
 
struct amrex_parser * amrex::parser_dup (struct amrex_parser *source)
 
std::size_t amrex::parser_ast_size (struct parser_node *node)
 
struct parser_node * amrex::parser_ast_dup (struct amrex_parser *my_parser, struct parser_node *node, int move)
 
bool amrex::parser_node_equal (struct parser_node *a, struct parser_node *b)
 
void amrex::parser_ast_optimize (struct parser_node *node)
 
void amrex::parser_ast_print (struct parser_node *node, std::string const &space, std::ostream &printer)
 
int amrex::parser_ast_depth (struct parser_node *node)
 
void amrex::parser_ast_sort (struct parser_node *node)
 
void amrex::parser_ast_regvar (struct parser_node *node, char const *name, int i)
 
void amrex::parser_ast_setconst (struct parser_node *node, char const *name, double c)
 
void amrex::parser_ast_get_symbols (struct parser_node *node, std::set< std::string > &symbols, std::set< std::string > &local_symbols)
 
void amrex::parser_regvar (struct amrex_parser *parser, char const *name, int i)
 
void amrex::parser_setconst (struct amrex_parser *parser, char const *name, double c)
 
void amrex::parser_print (struct amrex_parser *parser)
 
std::set< std::string > amrex::parser_get_symbols (struct amrex_parser *parser)
 
int amrex::parser_depth (struct amrex_parser *parser)
 
double amrex::parser_get_number (struct parser_node *node)
 
void amrex::parser_set_number (struct parser_node *node, double v)
 

Function Documentation

◆ amrex_parsererror()

void amrex_parsererror ( char const *  s,
  ... 
)