summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Interpreter.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Libraries/LibJS/Interpreter.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Libraries/LibJS/Interpreter.h')
-rw-r--r--Userland/Libraries/LibJS/Interpreter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Interpreter.h b/Userland/Libraries/LibJS/Interpreter.h
index 8d31526610..ce3e8dfefd 100644
--- a/Userland/Libraries/LibJS/Interpreter.h
+++ b/Userland/Libraries/LibJS/Interpreter.h
@@ -31,7 +31,7 @@ namespace JS {
struct ExecutingASTNodeChain {
ExecutingASTNodeChain* previous { nullptr };
- const ASTNode& node;
+ ASTNode const& node;
};
class Interpreter : public Weakable<Interpreter> {
@@ -107,7 +107,7 @@ public:
ThrowCompletionOr<Value> run(SourceTextModule&);
GlobalObject& global_object();
- const GlobalObject& global_object() const;
+ GlobalObject const& global_object() const;
Realm& realm();
Realm const& realm() const;
@@ -130,7 +130,7 @@ public:
m_ast_node_chain = m_ast_node_chain->previous;
}
- const ASTNode* current_node() const { return m_ast_node_chain ? &m_ast_node_chain->node : nullptr; }
+ ASTNode const* current_node() const { return m_ast_node_chain ? &m_ast_node_chain->node : nullptr; }
private:
explicit Interpreter(VM&);