Inferno  0.2
CPPTree::Property Struct Reference

Property is the base class for property nodes. More...

#include <cpptree.hpp>

Inheritance diagram for CPPTree::Property:
[legend]
Collaboration diagram for CPPTree::Property:
[legend]

List of all members.


Detailed Description

Property is the base class for property nodes.

Each kind of property has an intermediate which can represent any value of the property. Enum-like and bool-like are implemented by choosing one of a choice of empty nodes derived from the intermediate. Other properties that cannot be represented this way have a Specific<Foo> node that actually contains the datatype (eg int, string etc). The intermediates should be the target of SharedPtrs and may be used in search patterns. The actual tree nodes for a program should always be the leaf node type.

Definition at line 28 of file cpptree.hpp.


The documentation for this struct was generated from the following file: