Inferno  0.2
CPPTree::SpecificIdentifier Struct Reference

Property for a specific identifier, linked to by a particular Declaration. More...

#include <cpptree.hpp>

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

List of all members.

Public Member Functions

NODE_FUNCTIONS SpecificIdentifier ()
 default constructor, for making architypes
 SpecificIdentifier (string s)
 construct with a given name
virtual shared_ptr< ClonerDuplicate (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.

Detailed Description

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.


Constructor & Destructor Documentation

default constructor, for making architypes

Definition at line 226 of file cpptree.hpp.

construct with a given name

Definition at line 227 of file cpptree.hpp.


Member Function Documentation

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.


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