mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
JSSpecCompiler: Introduce ControlFlowOperator nodes
This commit is contained in:
parent
81519975c5
commit
67e07fa4e2
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/DanShaders
Commit: 67e07fa4e2
Pull-request: https://github.com/SerenityOS/serenity/pull/21005
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 75 additions and 0 deletions
|
@ -21,7 +21,11 @@ using Tree = NonnullRefPtr<Node>;
|
|||
class Statement;
|
||||
class Expression;
|
||||
class ErrorNode;
|
||||
class ControlFlowOperator;
|
||||
|
||||
class ControlFlowFunctionReturn;
|
||||
class ControlFlowJump;
|
||||
class ControlFlowBranch;
|
||||
class MathematicalConstant;
|
||||
class StringLiteral;
|
||||
class BinaryOperation;
|
||||
|
@ -38,9 +42,14 @@ class RecordDirectListInitialization;
|
|||
class FunctionCall;
|
||||
class SlotName;
|
||||
class Variable;
|
||||
using VariableRef = NonnullRefPtr<Variable>;
|
||||
class FunctionPointer;
|
||||
using FunctionPointerRef = NonnullRefPtr<FunctionPointer>;
|
||||
|
||||
// Compiler/ControlFlowGraph.h
|
||||
class BasicBlock;
|
||||
using BasicBlockRef = BasicBlock*;
|
||||
|
||||
// Compiler/GenericASTPass.h
|
||||
class RecursiveASTVisitor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue