PHP Class SqlParser\Components\ParameterDefinition

Author: Dan Ungureanu ([email protected])
Inheritance: extends SqlParser\Component
Afficher le fichier Open project: phpmyadmin/sql-parser Class Usage Examples

Méthodes publiques

Свойство Type Description
$inOut string Parameter's direction (IN, OUT or INOUT).
$name string The name of the new column.
$type DataType The data type of thew new column.

Méthodes publiques

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

Method Details

build() public static méthode

public static build ( ParameterDefinition[] $component, array $options = [] ) : string
$component ParameterDefinition[] 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 = [] ) : ParameterDefinition[]
$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 ParameterDefinition[]

Property Details

$inOut public_oe property

Parameter's direction (IN, OUT or INOUT).
public string $inOut
Résultat string

$name public_oe property

The name of the new column.
public string $name
Résultat string

$type public_oe property

The data type of thew new column.
public DataType,SqlParser\Components $type
Résultat DataType