Public Types | Public Member Functions

ExpressionParser Class Reference

#include <eparser.h>

Inheritance diagram for ExpressionParser:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ExpectedType { kOperator, kValue, kIndex }
enum  ParseMode { kNormalMode, kAstMode, kDatasetTrMode }

Public Member Functions

 ExpressionParser (const Ftk *F)
void clear_vm ()
 reset state
void parse_expr (Lexer &lex, int default_ds, const std::vector< std::string > *custom_vars=NULL, std::vector< std::string > *new_vars=NULL, ParseMode mode=kNormalMode)
 parse expression
bool parse_full (Lexer &lex, int default_ds, const std::vector< std::string > *custom_vars=NULL)
void push_assign_lhs (const Token &t)
 adds OP_ASSIGN_? to the code

Detailed Description

Expression parser. Derived from ExpressionParser only because it is handy to keep both in one class.

Definition at line 38 of file eparser.h.


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

Generated on Mon Jul 18 2011 17:25:27 for Fityk by Doxygen 1.7.1