mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
LibJS: Add some helpers and use them to re-implement Console functions
Also add const overloads for some getters. Also const-qualify Interpreter::join_arguments().
This commit is contained in:
parent
92815f313a
commit
bc7ed4524e
4 changed files with 47 additions and 21 deletions
|
@ -165,8 +165,10 @@ public:
|
|||
Value last_value() const { return m_last_value; }
|
||||
|
||||
Console& console() { return m_console; }
|
||||
const Console& console() const { return m_console; }
|
||||
|
||||
String join_arguments();
|
||||
String join_arguments() const;
|
||||
Vector<String> get_trace() const;
|
||||
|
||||
private:
|
||||
Interpreter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue