\BorisShallowParser

The ShallowParser takes whatever is currently buffered and chunks it into individual statements.

Summary

Methods
Properties
Constants
__construct()
statements()
quote()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_createResult()
_resetResult()
_combineStatements()
_prepareForDebug()
_initializeHeredoc()
_scanWsp()
_scanEscapedChar()
_scanRegion()
_scanStateEntrant()
_scanChar()
_isLambda()
_isReturnable()
_prepareDebugStmt()
$_pairs
$_initials
N/A

Properties

$_pairs

$_pairs : 

Type

$_initials

$_initials : 

Type

Methods

__construct()

__construct() 

statements()

statements(string  $buffer) : array

Break the $buffer into chunks, with one for each highest-level construct possible.

If the buffer is incomplete, returns an empty array.

Parameters

string $buffer

Returns

array

quote()

quote(  $token) 

Parameters

$token

_createResult()

_createResult(  $buffer) 

Parameters

$buffer

_resetResult()

_resetResult(  $result) 

Parameters

$result

_combineStatements()

_combineStatements(  $result) 

Parameters

$result

_prepareForDebug()

_prepareForDebug(  $result) 

Parameters

$result

_initializeHeredoc()

_initializeHeredoc(  $result) 

Parameters

$result

_scanWsp()

_scanWsp(  $result) 

Parameters

$result

_scanEscapedChar()

_scanEscapedChar(  $result) 

Parameters

$result

_scanRegion()

_scanRegion(  $result) 

Parameters

$result

_scanStateEntrant()

_scanStateEntrant(  $result) 

Parameters

$result

_scanChar()

_scanChar(  $result) 

Parameters

$result

_isLambda()

_isLambda(  $input) 

Parameters

$input

_isReturnable()

_isReturnable(  $input) 

Parameters

$input

_prepareDebugStmt()

_prepareDebugStmt(  $input) 

Parameters

$input