Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SqlParser
Components
ParameterDefinition
PHP Class SqlParser\Components\ParameterDefinition
Author:
Dan Ungureanu (
[email protected]
)
Inheritance:
extends
SqlParser\Component
Show file
Open project: phpmyadmin/sql-parser
Class Usage Examples
Public Properties
Property
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.
Public Methods
Method
Description
build
(
ParameterDefinition[]
$component
,
array
$options
= [] ) :
string
parse
(
Parser
$parser
,
TokensList
$list
,
array
$options
= [] ) :
ParameterDefinition[]
Method Details
build()
public
static
method
public
static
build
(
ParameterDefinition[]
$component
,
array
$options
= [] ) :
string
$component
ParameterDefinition[]
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
= [] ) :
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.
return
ParameterDefinition[]
Property Details
$inOut
public property
Parameter's direction (IN, OUT or INOUT).
public
string
$inOut
return
string
$name
public property
The name of the new column.
public
string
$name
return
string
$type
public property
The data type of thew new column.
public
DataType,SqlParser\Components
$type
return
DataType