Inferno
0.2
|
Property for a specific identifier, linked to by a particular Declaration. More...
#include <cpptree.hpp>
Public Member Functions | |
NODE_FUNCTIONS | SpecificIdentifier () |
default constructor, for making architypes | |
SpecificIdentifier (string s) | |
construct with a given name | |
virtual shared_ptr< Cloner > | Duplicate (shared_ptr< Cloner > p) |
Overloaded duplication function for search&replace. | |
virtual bool | IsLocalMatch (const Matcher *candidate) const |
Overloaded comparison for search&replace. | |
virtual string | GetName () const |
This is relied upon to just return the identifier name for rendering. |
Property for a specific identifier, linked to by a particular Declaration.
This is for unquoted strings, as opposed to String. Strictly, Inferno doesn't need to keep this data, but it helps to make renders and graphs clearer. Inferno will uniquify the name when rendering code.
Definition at line 223 of file cpptree.hpp.
default constructor, for making architypes
Definition at line 226 of file cpptree.hpp.
CPPTree::SpecificIdentifier::SpecificIdentifier | ( | string | s | ) | [inline] |
construct with a given name
Definition at line 227 of file cpptree.hpp.
virtual shared_ptr<Cloner> CPPTree::SpecificIdentifier::Duplicate | ( | shared_ptr< Cloner > | p | ) | [inline, virtual] |
Overloaded duplication function for search&replace.
Reimplemented from Cloner.
Definition at line 228 of file cpptree.hpp.
virtual string CPPTree::SpecificIdentifier::GetName | ( | ) | const [inline, virtual] |
This is relied upon to just return the identifier name for rendering.
Reimplemented from Traceable.
Definition at line 238 of file cpptree.hpp.
virtual bool CPPTree::SpecificIdentifier::IsLocalMatch | ( | const Matcher * | candidate | ) | const [inline, virtual] |
Overloaded comparison for search&replace.
Reimplemented from Matcher.
Definition at line 233 of file cpptree.hpp.
References ASSERT.