Parser

final class \TYPO3\CMS\Core\Database\Schema\Parser\Parser

An LL(*) recursive-descent parser for MySQL CREATE TABLE statements.

Parses a CREATE TABLE statement, reports any errors in it, and generates an AST.

Table of Contents

Methods

__construct()  : mixed
getAST()  : AbstractCreateStatement
Parses and builds AST for the given Query.
parse()  : array<int, Table>
Parses a statement string.

Methods

parse()

Parses a statement string.

public parse(string $statement) : array<int, Table>

Parameters

$statement : string

Tags

throws
SchemaException
throws
RuntimeException
throws
InvalidArgumentException
throws
StatementException

Return values

array<int, Table>
On this page