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 | decode (Decoder &decoder) |
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 ghidra::CompilerTag::decode | ( | Decoder & | decoder | ) |
Restore the record from an XML stream.
Parse file attributes from a <compiler> element
decoder | is the stream decoder |
References ghidra::Decoder::closeElement(), name, ghidra::Decoder::openElement(), ghidra::Decoder::readString(), and spec.
Referenced by CompilerTag(), and ghidra::LanguageDescription::LanguageDescription().