PHP Class SqlParser\Components\ExpressionArray

Inheritance: extends SqlParser\Component
显示文件 Open project: phpmyadmin/sql-parser Class Usage Examples

Public Methods

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

Method Details

build() public static method

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