class ParsedIdentifierComponent
Defined at line 15 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
Component for a fully parsed identifier component. Unlike the regular IdentifierComponent, this
includes parsed template information. It may be extended in the future to support different
languages (while the base Identifier will always only support opaque string components).
Public Methods
std::string GetName (bool include_debug)
Returns this component, either as a string as it would be represented in C++, or in our debug
format for unit test format checking (the name and each template parameter will be separately
quoted so we can check the parsing).
Defined at line 11 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.cc
void ParsedIdentifierComponent ()
Defined at line 17 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
void ParsedIdentifierComponent (std::string name)
Constructor for names without templates.
Defined at line 20 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
void ParsedIdentifierComponent (std::string name, std::vector<std::string> template_contents)
Constructor for names with templates. The contents will be a vector of somewhat-normalized type
string in between the
<
>. This always generates a template even if the contents are empty
(meaning "name<>");
Defined at line 25 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
void ParsedIdentifierComponent (SpecialIdentifier si, std::string name)
Defined at line 30 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
bool operator== (const ParsedIdentifierComponent & other)
Defined at line 39 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
bool operator!= (const ParsedIdentifierComponent & other)
Defined at line 43 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
bool operator< (const ParsedIdentifierComponent & other)
Defined at line 44 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
bool has_template ()
Defined at line 54 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
SpecialIdentifier special ()
Defined at line 56 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
const std::string & name ()
Defined at line 57 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
std::string & name ()
Defined at line 58 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h
const std::vector<std::string> & template_contents ()
Defined at line 60 of file ../../src/developer/debug/zxdb/expr/parsed_identifier.h