mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
More comments for assembly
This commit is contained in:
parent
261731f7ee
commit
fe32531a16
@ -57,11 +57,13 @@ public:
|
|||||||
Scanner const& scanner() const;
|
Scanner const& scanner() const;
|
||||||
|
|
||||||
/// Runs parsing and analysis steps, returns false if input cannot be assembled.
|
/// Runs parsing and analysis steps, returns false if input cannot be assembled.
|
||||||
|
/// Multiple calls overwrite the previous state.
|
||||||
bool parseAndAnalyze(std::string const& _sourceName, std::string const& _source);
|
bool parseAndAnalyze(std::string const& _sourceName, std::string const& _source);
|
||||||
|
|
||||||
/// Run the assembly step (should only be called after parseAndAnalyze).
|
/// Run the assembly step (should only be called after parseAndAnalyze).
|
||||||
eth::LinkerObject assemble(Machine _machine);
|
eth::LinkerObject assemble(Machine _machine);
|
||||||
|
|
||||||
|
/// @returns the errors generated during parsing, analysis (and potentially assembly).
|
||||||
ErrorList const& errors() const { return m_errors; }
|
ErrorList const& errors() const { return m_errors; }
|
||||||
|
|
||||||
/// Pretty-print the input after having parsed it.
|
/// Pretty-print the input after having parsed it.
|
||||||
|
Loading…
Reference in New Issue
Block a user