PHP Class SqlParser\Statements\AlterStatement

Inheritance: extends SqlParser\Statement
显示文件 Open project: phpmyadmin/sql-parser

Public Properties

Property Type Description
$OPTIONS array Options of this statement.
$altered SqlParser\Components\AlterOperation[] Column affected by this statement.
$table SqlParser\Components\Expression Table affected.

Public Methods

Method Description
build ( ) : string
parse ( Parser $parser, TokensList $list ) : void

Method Details

build() public method

public build ( ) : string
return string

parse() public method

public parse ( Parser $parser, TokensList $list ) : void
$parser SqlParser\Parser The instance that requests parsing.
$list SqlParser\TokensList The list of tokens to be parsed.
return void

Property Details

$OPTIONS public_oe static_oe property

Options of this statement.
public static array $OPTIONS
return array

$altered public_oe property

Column affected by this statement.
public AlterOperation[],SqlParser\Components $altered
return SqlParser\Components\AlterOperation[]

$table public_oe property

Table affected.
public Expression,SqlParser\Components $table
return SqlParser\Components\Expression