PHP Class SqlParser\Components\Array2d

Author: Dan Ungureanu ([email protected])
Inheritance: extends SqlParser\Component
显示文件 Open project: phpmyadmin/sql-parser Class Usage Examples

Public Methods

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

Method Details

build() public static method

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