PHP Class PHPSQLParser\utils\ExpressionToken

Afficher le fichier Open project: greenlion/php-sql-parser Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $key = "", $token = "" )
addToken ( $string ) # TODO: we could replace it with a constructor new ExpressionToken(this, "*")
endsWith ( $needle )
getSubTree ( )
getToken ( $idx = false )
getTrim ( $idx = false )
getUpper ( $idx = false )
isAggregateFunction ( )
isBracketExpression ( )
isColumnReference ( )
isCommaToken ( )
isConstant ( )
isCustomFunction ( )
isEnclosedWithinParenthesis ( )
isExpression ( )
isFunction ( )
isInList ( )
isOperator ( )
isSign ( )
isSubQuery ( )
isSubQueryToken ( )
isUnspecified ( )
isVariable ( )
isVariableToken ( )
isWhitespaceToken ( )
setNoQuotes ( $token, $qchars = null, Options $options )
setSubTree ( $tree )
setTokenType ( $type )
toArray ( )

Private Methods

Méthode Description
revokeQuotation ( $token, Options $options )

Method Details

__construct() public méthode

public __construct ( $key = "", $token = "" )

addToken() public méthode

# TODO: we could replace it with a constructor new ExpressionToken(this, "*")
public addToken ( $string )

endsWith() public méthode

public endsWith ( $needle )

getSubTree() public méthode

public getSubTree ( )

getToken() public méthode

public getToken ( $idx = false )

getTrim() public méthode

public getTrim ( $idx = false )

getUpper() public méthode

public getUpper ( $idx = false )

isAggregateFunction() public méthode

public isAggregateFunction ( )

isBracketExpression() public méthode

public isBracketExpression ( )

isColumnReference() public méthode

public isColumnReference ( )

isCommaToken() public méthode

public isCommaToken ( )

isConstant() public méthode

public isConstant ( )

isCustomFunction() public méthode

public isCustomFunction ( )

isEnclosedWithinParenthesis() public méthode

isExpression() public méthode

public isExpression ( )

isFunction() public méthode

public isFunction ( )

isInList() public méthode

public isInList ( )

isOperator() public méthode

public isOperator ( )

isSign() public méthode

public isSign ( )

isSubQuery() public méthode

public isSubQuery ( )

isSubQueryToken() public méthode

public isSubQueryToken ( )

isUnspecified() public méthode

public isUnspecified ( )

isVariable() public méthode

public isVariable ( )

isVariableToken() public méthode

public isVariableToken ( )

isWhitespaceToken() public méthode

public isWhitespaceToken ( )

setNoQuotes() public méthode

public setNoQuotes ( $token, $qchars = null, Options $options )
$options PHPSQLParser\Options

setSubTree() public méthode

public setSubTree ( $tree )

setTokenType() public méthode

public setTokenType ( $type )

toArray() public méthode

public toArray ( )