PHP 클래스 SqlParser\Components\ArrayObj

저자: Dan Ungureanu ([email protected])
상속: extends SqlParser\Component
파일 보기 프로젝트 열기: phpmyadmin/sql-parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$raw array The array that contains the unprocessed value of each token.
$values array The array that contains the processed value of each token.

공개 메소드들

메소드 설명
__construct ( array $raw = [], array $values = [] ) Constructor.
build ( ArrayObj | ArrayObj[] $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : ArrayObj | Component[]

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $raw = [], array $values = [] )
$raw array The unprocessed values.
$values array The processed values.

build() 공개 정적인 메소드

public static build ( ArrayObj | ArrayObj[] $component, array $options = [] ) : string
$component ArrayObj | ArrayObj[] The component to be built.
$options array Parameters for building.
리턴 string

parse() 공개 정적인 메소드

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : ArrayObj | Component[]
$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.
리턴 ArrayObj | Component[]

프로퍼티 상세

$raw 공개적으로 프로퍼티

The array that contains the unprocessed value of each token.
public array $raw
리턴 array

$values 공개적으로 프로퍼티

The array that contains the processed value of each token.
public array $values
리턴 array