mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
30691549fd
The Order enum is used in the Meta component of LibSQL. Using this enum meant having to include the monster AST/AST.h include file. Furthermore, they are sort of basic and therefore can live in the general SQL namespace. Moved to LibSQL/Type.h. Also introduced a new class, SQLResult, which is needed in future patches.
89 lines
1.7 KiB
C++
89 lines
1.7 KiB
C++
/*
|
|
* Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace SQL {
|
|
class BTree;
|
|
class BTreeIterator;
|
|
class ColumnDef;
|
|
class Database;
|
|
class HashBucket;
|
|
class HashDirectoryNode;
|
|
class HashIndex;
|
|
class HashIndexIterator;
|
|
class Heap;
|
|
class Index;
|
|
class IndexNode;
|
|
class IndexDef;
|
|
class Key;
|
|
class KeyPartDef;
|
|
class Row;
|
|
class SQLResult;
|
|
class TableDef;
|
|
class TreeNode;
|
|
class Tuple;
|
|
class TupleDescriptor;
|
|
struct TupleElement;
|
|
class Value;
|
|
}
|
|
|
|
namespace SQL::AST {
|
|
class AddColumn;
|
|
class AlterTable;
|
|
class ASTNode;
|
|
class BetweenExpression;
|
|
class BinaryOperatorExpression;
|
|
class BlobLiteral;
|
|
class CaseExpression;
|
|
class CastExpression;
|
|
class ChainedExpression;
|
|
class CollateExpression;
|
|
class ColumnDefinition;
|
|
class ColumnNameExpression;
|
|
class CommonTableExpression;
|
|
class CommonTableExpressionList;
|
|
class CreateTable;
|
|
class Delete;
|
|
class DropColumn;
|
|
class DropTable;
|
|
class ErrorExpression;
|
|
class ErrorStatement;
|
|
class ExistsExpression;
|
|
class Expression;
|
|
class GroupByClause;
|
|
class InChainedExpression;
|
|
class InSelectionExpression;
|
|
class Insert;
|
|
class InTableExpression;
|
|
class InvertibleNestedDoubleExpression;
|
|
class InvertibleNestedExpression;
|
|
class IsExpression;
|
|
class Lexer;
|
|
class LimitClause;
|
|
class MatchExpression;
|
|
class NestedDoubleExpression;
|
|
class NestedExpression;
|
|
class NullExpression;
|
|
class NullLiteral;
|
|
class NumericLiteral;
|
|
class OrderingTerm;
|
|
class Parser;
|
|
class QualifiedTableName;
|
|
class RenameColumn;
|
|
class RenameTable;
|
|
class ResultColumn;
|
|
class ReturningClause;
|
|
class Select;
|
|
class SignedNumber;
|
|
class Statement;
|
|
class StringLiteral;
|
|
class TableOrSubquery;
|
|
class Token;
|
|
class TypeName;
|
|
class UnaryOperatorExpression;
|
|
class Update;
|
|
}
|