mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
JSSpecCompiler: Introduce Function and ExecutionContext classes
Currently, they are not extremely useful, but the plan is to store all function-local state in JSSpecCompiler::Function and all "translation unit" state in ExecutionContext.
This commit is contained in:
parent
f05d291b41
commit
cd8f4aaa7d
9 changed files with 74 additions and 9 deletions
|
@ -35,6 +35,7 @@ class FunctionCall;
|
|||
class SlotName;
|
||||
class Variable;
|
||||
class FunctionPointer;
|
||||
using FunctionPointerRef = NonnullRefPtr<FunctionPointer>;
|
||||
|
||||
// Parser/SpecParser.h
|
||||
class AlgorithmStep;
|
||||
|
@ -42,4 +43,9 @@ class AlgorithmStepList;
|
|||
class Algorithm;
|
||||
class SpecFunction;
|
||||
|
||||
// Function.h
|
||||
class ExecutionContext;
|
||||
class Function;
|
||||
using FunctionRef = Function*;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue