Lumiera  0.pre.03
»edit your freedom«
query-text.hpp File Reference

Go to the source code of this file.

Description

A generic syntactical representation for all kinds of queries.

Within Lumiera, its a common pattern to query for parts to be combined, instead of using a hard wired builder logic. Consequently, there are various flavours of queries used by different subsystems. As a common denominator, we use a syntactical query representation, based on predicate notation (mathematical logic, using prolog syntax). While subsystems typically might resolve a specialised query directly, as a fallback this syntactical representation allows for generic query dispatch. And it can be used as intermediary format for remolding queries.

Note
as of 12/2012 this AST-representation is not defined at all; instead we use a plain string as placeholder for the "real thing"
Todo:
actually build the term representation /////////////////////////////TICKET #899
See also
QueryText_test usage example

Definition in file query-text.hpp.

#include "lib/error.hpp"
#include "lib/hash-value.h"
#include "lib/query-util.hpp"
#include "lib/util.hpp"
#include <string>

Classes

class  QueryText
 Syntactical query representation. More...
 

Namespaces

 lib
 Implementation namespace for support and library code.