mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Shell: Add a (very basic) formatter
This commit is contained in:
parent
6e6be8e56e
commit
b3dd97a694
10 changed files with 1198 additions and 3 deletions
|
@ -102,6 +102,8 @@ public:
|
|||
bool has_function(const String&);
|
||||
bool invoke_function(const AST::Command&, int& retval);
|
||||
|
||||
String format(const StringView&, ssize_t& cursor) const;
|
||||
|
||||
struct LocalFrame {
|
||||
HashMap<String, RefPtr<AST::Value>> local_variables;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue