decompiler
1.0.0
|
Contents of a <compiler> tag in a .ldefs file. More...
#include <sleigh_arch.hh>
Public Member Functions | |
CompilerTag (void) | |
Constructor. | |
void | restoreXml (const Element *el) |
Restore the record from an XML stream. More... | |
const string & | getName (void) const |
Get the human readable name of the spec. | |
const string & | getSpec (void) const |
Get the file-name. | |
const string & | getId (void) const |
Get the string used as part of language id. | |
Private Attributes | |
string | name |
(Human readable) name of the compiler | |
string | spec |
cspec file for this compiler | |
string | id |
Unique id for this compiler. | |
Contents of a <compiler> tag in a .ldefs file.
This class describes a compiler specification file as referenced by the Sleigh language subsystem.
void CompilerTag::restoreXml | ( | const Element * | el | ) |
Restore the record from an XML stream.
Read file attributes from an XML <compiler> tag
el | is the XML element |
References Element::getAttributeValue(), name, and spec.
Referenced by CompilerTag(), and LanguageDescription::LanguageDescription().