1
Fork 0
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:
AnotherTest 2020-09-16 05:13:04 +04:30 committed by Andreas Kling
parent 6e6be8e56e
commit b3dd97a694
10 changed files with 1198 additions and 3 deletions

View file

@ -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;
};