PHP Class SqlParser\Components\RenameOperation

Inheritance: extends SqlParser\Component
Datei anzeigen Open project: phpmyadmin/sql-parser Class Usage Examples

Public Properties

Property Type Description
$new Expression The new table name.
$old Expression The old table name.

Public Methods

Method Description
build ( RenameOperation $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : RenameOperation[]

Method Details

build() public static method

public static build ( RenameOperation $component, array $options = [] ) : string
$component RenameOperation The component to be built.
$options array Parameters for building.
return string

parse() public static method

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : RenameOperation[]
$parser SqlParser\Parser The parser that serves as context.
$list SqlParser\TokensList The list of tokens that are being parsed.
$options array Parameters for parsing.
return RenameOperation[]

Property Details

$new public_oe property

The new table name.
public Expression,SqlParser\Components $new
return Expression

$old public_oe property

The old table name.
public Expression,SqlParser\Components $old
return Expression