PHP Class SqlParser\Components\RenameOperation

Inheritance: extends SqlParser\Component
Afficher le fichier Open project: phpmyadmin/sql-parser Class Usage Examples

Méthodes publiques

Свойство Type Description
$new Expression The new table name.
$old Expression The old table name.

Méthodes publiques

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

Method Details

build() public static méthode

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

parse() public static méthode

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.
Résultat RenameOperation[]

Property Details

$new public_oe property

The new table name.
public Expression,SqlParser\Components $new
Résultat Expression

$old public_oe property

The old table name.
public Expression,SqlParser\Components $old
Résultat Expression