Parser

FinalYes

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

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

Internal

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

Search results