Inferno
0.2
|
A string with a specific value. More...
#include <cpptree.hpp>
Public Member Functions | |
NODE_FUNCTIONS_FINAL | SpecificString () |
default constructor, for making architypes | |
SpecificString (string s) | |
virtual bool | IsLocalMatch (const Matcher *candidate) const |
Overloaded comparison for search&replace. | |
virtual | operator string () const |
Produce a string for debug. |
A string with a specific value.
Value must be filled in. TODO could be a problem with memory management here or nearby. See comment in test harness in search_replace.cpp.
Definition at line 96 of file cpptree.hpp.
default constructor, for making architypes
Definition at line 99 of file cpptree.hpp.
CPPTree::SpecificString::SpecificString | ( | string | s | ) | [inline] |
Definition at line 100 of file cpptree.hpp.
virtual bool CPPTree::SpecificString::IsLocalMatch | ( | const Matcher * | candidate | ) | const [inline, virtual] |
Overloaded comparison for search&replace.
Reimplemented from Matcher.
Definition at line 104 of file cpptree.hpp.
References ASSERT.
virtual CPPTree::SpecificString::operator string | ( | ) | const [inline, virtual] |
Produce a string for debug.
Reimplemented from Traceable.
Definition at line 110 of file cpptree.hpp.