PHP Class Flow\JSONPath\JSONPathLexer

ファイルを表示 Open project: FlowCommunications/JSONPath Class Usage Examples

Protected Properties

Property Type Description
$expression string The expression being lexed.
$expressionLength integer The length of the expression.

Public Methods

Method Description
__construct ( $expression )
parseExpression ( )
parseExpressionTokens ( )

Protected Methods

Method Description
atEnd ( $pos )
createToken ( $value ) : string
lookAhead ( $pos, $forward = 1 )

Method Details

__construct() public method

public __construct ( $expression )

atEnd() protected method

protected atEnd ( $pos )

createToken() protected method

protected createToken ( $value ) : string
$value
return string

lookAhead() protected method

protected lookAhead ( $pos, $forward = 1 )

parseExpression() public method

public parseExpression ( )

parseExpressionTokens() public method

Property Details

$expression protected_oe property

The expression being lexed.
protected string $expression
return string

$expressionLength protected_oe property

The length of the expression.
protected int $expressionLength
return integer