PHP Class PHPSQLParser\positions\PositionCalculator

Author: André Rothe ([email protected])
Afficher le fichier Open project: greenlion/php-sql-parser Class Usage Examples

Protected Properties

Свойство Type Description
$allowedOnOperator
$allowedOnOther
$backtrackingTypes
$flippedBacktrackingTypes

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
setPositionsWithinSQL ( $sql, $parsed )

Méthodes protégées

Méthode Description
findPositionWithinString ( $sql, $value, $expr_type )
lookForBaseExpression ( $sql, &$charPos, &$parsed, $key, &$backtracking )
printPos ( $text, $sql, $charPos, $key, $parsed, $backtracking )

Method Details

__construct() public méthode

It initializes some fields.
public __construct ( )

findPositionWithinString() protected méthode

protected findPositionWithinString ( $sql, $value, $expr_type )

lookForBaseExpression() protected méthode

protected lookForBaseExpression ( $sql, &$charPos, &$parsed, $key, &$backtracking )

printPos() protected méthode

protected printPos ( $text, $sql, $charPos, $key, $parsed, $backtracking )

setPositionsWithinSQL() public méthode

public setPositionsWithinSQL ( $sql, $parsed )

Property Details

$allowedOnOperator protected_oe static_oe property

protected static $allowedOnOperator

$allowedOnOther protected_oe static_oe property

protected static $allowedOnOther

$backtrackingTypes protected_oe static_oe property

protected static $backtrackingTypes

$flippedBacktrackingTypes protected_oe property

protected $flippedBacktrackingTypes