Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Generic node element (implementation parts).
Some of the more technical details regarding value access and comparisons has been moved down within this compilation unit, to cut down compilation time.
The DataCap element provides a set of functions to check for equivalence or match. These are used to build a recursive containment check. To implement such predicates, we need to build a one-way off visitor for use with lib::Variant. These specifically tailored functors only define handle(TY)
functions for the cases actually of interest. All other cases invoke the default handling, which returns false
.
Definition in file gen-node.cpp.
#include "lib/error.hpp"
#include "lib/diff/diff-language.hpp"
#include "lib/diff/gen-node.hpp"
#include "lib/util-quant.hpp"
#include "lib/variant.hpp"
#include <boost/lexical_cast.hpp>
Functions | |
string | renderCompact (Rec const &rec) |
compact textual representation of a Record<GenNode> (»object«). More... | |
string | renderCompact (RecRef const &ref) |
string | renderCompact (GenNode const &) |
compact textual representation of a GenNode tree More... | |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
string renderCompact | ( | Rec const & | rec | ) |
compact textual representation of a Record<GenNode> (»object«).
Definition at line 290 of file gen-node.cpp.
References lib::diff::renderCompact().
Referenced by lib::diff::renderCompact().
string renderCompact | ( | GenNode const & | node | ) |
compact textual representation of a GenNode tree
Definition at line 321 of file gen-node.cpp.
References lib::diff::renderCompact().