hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Typedefs | Functions
grammar.H File Reference
#include <hobbes/lang/expr.H>
#include <hobbes/util/lannotation.H>
#include <string>
#include <sstream>
#include <memory>
#include <map>
#include <vector>
Include dependency graph for grammar.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hobbes::GrammarValue
 
class  hobbes::GSymRef
 
class  hobbes::GStr
 
struct  hobbes::switchGrammarValue< T >
 
struct  hobbes::BoundGrammarValue
 
struct  hobbes::GrammarRule
 

Namespaces

 hobbes
 

Typedefs

typedef std::shared_ptr< GrammarValue > hobbes::GrammarValuePtr
 
typedef std::vector< BoundGrammarValue > hobbes::BoundGrammarValues
 
typedef std::vector< GrammarRule > hobbes::GrammarRules
 
typedef std::pair< std::string, GrammarRules > hobbes::GrammarSymDef
 
typedef std::vector< GrammarSymDef > hobbes::Grammar
 

Functions

template<typename T >
hobbes::switchOf (const GrammarValuePtr &p, const switchGrammarValue< T > &f)
 
ExprPtr hobbes::makeParser (cc *, const Grammar &, const LexicalAnnotation &)