Inferno  0.2
CPPTree::SpecificString Struct Reference

A string with a specific value. More...

#include <cpptree.hpp>

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

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

default constructor, for making architypes

Definition at line 99 of file cpptree.hpp.

Definition at line 100 of file cpptree.hpp.


Member Function Documentation

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.


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