#include <Parser.h>
|
| Parser () |
|
bool | parse (ParserProgramHandle &program, std::string &expressions, std::string &error) |
|
bool | add_input_variable (ParserProgramHandle &program, const std::string &name, const std::string &type, int flags=0) |
|
bool | add_output_variable (ParserProgramHandle &program, const std::string &name, const std::string &type="U", int flags=0) |
|
bool | add_output_variable (ParserProgramHandle program, const std::string &name) |
|
bool | get_input_variable_type (ParserProgramHandle program, const std::string &name, std::string &type) |
|
bool | get_output_variable_type (ParserProgramHandle program, const std::string &name, std::string &type) |
|
bool | get_input_variable_type (ParserProgramHandle program, const std::string &name, std::string &type, int &flags) |
|
bool | get_output_variable_type (ParserProgramHandle program, const std::string &name, std::string &type, int &flags) |
|
bool | validate (ParserProgramHandle program, ParserFunctionCatalogHandle catalog, std::string &error) |
|
bool | optimize (ParserProgramHandle program, std::string &error) |
|
void | add_binary_operator (const std::string &op, const std::string &funname, int priority) |
|
void | add_unary_pre_operator (const std::string &op, const std::string &funname) |
|
void | add_unary_post_operator (const std::string &op, const std::string &funname) |
|
void | add_numerical_constant (const std::string &name, double val) |
|
void add_binary_operator |
( |
const std::string & |
op, |
|
|
const std::string & |
funname, |
|
|
int |
priority |
|
) |
| |
bool add_input_variable |
( |
ParserProgramHandle & |
program, |
|
|
const std::string & |
name, |
|
|
const std::string & |
type, |
|
|
int |
flags = 0 |
|
) |
| |
void add_numerical_constant |
( |
const std::string & |
name, |
|
|
double |
val |
|
) |
| |
bool add_output_variable |
( |
ParserProgramHandle & |
program, |
|
|
const std::string & |
name, |
|
|
const std::string & |
type = "U" , |
|
|
int |
flags = 0 |
|
) |
| |
void add_unary_post_operator |
( |
const std::string & |
op, |
|
|
const std::string & |
funname |
|
) |
| |
void add_unary_pre_operator |
( |
const std::string & |
op, |
|
|
const std::string & |
funname |
|
) |
| |
bool get_input_variable_type |
( |
ParserProgramHandle |
program, |
|
|
const std::string & |
name, |
|
|
std::string & |
type |
|
) |
| |
bool get_input_variable_type |
( |
ParserProgramHandle |
program, |
|
|
const std::string & |
name, |
|
|
std::string & |
type, |
|
|
int & |
flags |
|
) |
| |
bool get_output_variable_type |
( |
ParserProgramHandle |
program, |
|
|
const std::string & |
name, |
|
|
std::string & |
type |
|
) |
| |
bool get_output_variable_type |
( |
ParserProgramHandle |
program, |
|
|
const std::string & |
name, |
|
|
std::string & |
type, |
|
|
int & |
flags |
|
) |
| |
The documentation for this class was generated from the following files: