mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
JSSpecCompiler: Add stubs for AST types
This commit is contained in:
parent
da30afa0c3
commit
5846470a5f
3 changed files with 514 additions and 0 deletions
39
Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Forward.h
Normal file
39
Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Forward.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Dan Klishch <danilklishch@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Forward.h>
|
||||
|
||||
namespace JSSpecCompiler {
|
||||
|
||||
// AST/AST.h
|
||||
class NodeSubtreePointer;
|
||||
|
||||
class Node;
|
||||
using NullableTree = RefPtr<Node>;
|
||||
using Tree = NonnullRefPtr<Node>;
|
||||
class ErrorNode;
|
||||
|
||||
class ScopedBlock;
|
||||
class MathematicalConstant;
|
||||
class StringLiteral;
|
||||
class BinaryOperation;
|
||||
class UnaryOperation;
|
||||
class IsOneOfOperation;
|
||||
class UnresolvedReference;
|
||||
class ReturnExpression;
|
||||
class AssertExpression;
|
||||
class IfBranch;
|
||||
class ElseIfBranch;
|
||||
class TreeList;
|
||||
class RecordDirectListInitialization;
|
||||
class FunctionCall;
|
||||
class SlotName;
|
||||
class Variable;
|
||||
class FunctionPointer;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue