1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Libraries/LibJS
Linus Groh d4bfcea570 LibJS: Add indentation to sections in SwitchCase::dump()
This now matches the output of

Program
  (Variables)
    ...
  (Children)
    ...

or

FunctionDeclaration 'foo'
  (Parameters)
    ...
  (Body)
    ...

etc.

Also don't print each consequent statement index, it doesn't add any
value.
2020-05-04 21:42:47 +02:00
..
Heap LibJS: Add MarkedValueList and use it for argument passing 2020-04-19 17:34:33 +02:00
Runtime LibJS: Set name of anonymous functions during assignment 2020-05-03 11:41:56 +02:00
Tests LibJS: Add template literals 2020-05-04 16:46:31 +02:00
AST.cpp LibJS: Add indentation to sections in SwitchCase::dump() 2020-05-04 21:42:47 +02:00
AST.h LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Console.cpp LibJS: Add ConsoleMessage concept 2020-05-02 11:41:35 +02:00
Console.h LibJS: Add ConsoleMessage concept 2020-05-02 11:41:35 +02:00
Forward.h LibJS: Add Reference class to represent a base.property reference 2020-04-28 15:07:08 +02:00
Interpreter.cpp LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Interpreter.h LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Lexer.cpp LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Lexer.h LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Makefile LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Parser.cpp LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Parser.h LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Token.cpp LibJS: Add template literals 2020-05-04 16:46:31 +02:00
Token.h LibJS: Add template literals 2020-05-04 16:46:31 +02:00