PHP 클래스 LazyRecord\TableParser\SqliteTableDefinitionParser

CREATE TABLE {identifier} ( columndef, columndef, ... ); The syntax follows the official documentation below: http://www.sqlite.org/lang_createtable.html
파일 보기 프로젝트 열기: corneltek/lazyrecord 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$intTypes
$numericTypes
$p integer The default buffer offset
$str string The buffer string for parsing.
$textTypes

공개 메소드들

메소드 설명
__construct ( $str, $offset )
parse ( )
parseColumnDefinitions ( )

보호된 메소드들

메소드 설명
advance ( $c = null )
consume ( $token, $typeName )
cur ( )
currentWindow ( $window = 20 )
looksLikeTableConstraint ( )
metComma ( )
metEnd ( )
parseColumnNames ( )
rollback ( $p )
skip ( $tokens )
skipComma ( )
skipSpaces ( )
sortKeywordsByLen ( array &$keywords )
test ( $str )
tryParseColumnConstraint ( )
tryParseIdentifier ( )
tryParseIndexColumns ( )
tryParseKeyword ( array $keywords, $as = 'keyword' )
tryParseScalar ( )
tryParseTableConstraints ( )
tryParseTypeName ( )
tryParseTypePrecision ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $str, $offset )

advance() 보호된 메소드

protected advance ( $c = null )

consume() 보호된 메소드

protected consume ( $token, $typeName )

cur() 보호된 메소드

protected cur ( )

currentWindow() 보호된 메소드

protected currentWindow ( $window = 20 )

looksLikeTableConstraint() 보호된 메소드

protected looksLikeTableConstraint ( )

metComma() 보호된 메소드

protected metComma ( )

metEnd() 보호된 메소드

protected metEnd ( )

parse() 공개 메소드

public parse ( )

parseColumnDefinitions() 공개 메소드

parseColumnNames() 보호된 메소드

protected parseColumnNames ( )

rollback() 보호된 메소드

protected rollback ( $p )

skip() 보호된 메소드

protected skip ( $tokens )

skipComma() 보호된 메소드

protected skipComma ( )

skipSpaces() 보호된 메소드

protected skipSpaces ( )

sortKeywordsByLen() 보호된 메소드

protected sortKeywordsByLen ( array &$keywords )
$keywords array

test() 보호된 메소드

protected test ( $str )

tryParseColumnConstraint() 보호된 메소드

protected tryParseColumnConstraint ( )

tryParseIdentifier() 보호된 메소드

protected tryParseIdentifier ( )

tryParseIndexColumns() 보호된 메소드

protected tryParseIndexColumns ( )

tryParseKeyword() 보호된 메소드

protected tryParseKeyword ( array $keywords, $as = 'keyword' )
$keywords array

tryParseScalar() 보호된 메소드

protected tryParseScalar ( )

tryParseTableConstraints() 보호된 메소드

protected tryParseTableConstraints ( )

tryParseTypeName() 보호된 메소드

protected tryParseTypeName ( )

tryParseTypePrecision() 보호된 메소드

protected tryParseTypePrecision ( )

프로퍼티 상세

$intTypes 공개적으로 정적으로 프로퍼티

public static $intTypes

$numericTypes 공개적으로 정적으로 프로퍼티

public static $numericTypes

$p 공개적으로 프로퍼티

The default buffer offset
public int $p
리턴 integer

$str 공개적으로 프로퍼티

The buffer string for parsing.
public string $str
리턴 string

$textTypes 공개적으로 정적으로 프로퍼티

public static $textTypes