BlockContinue
in package
FinalYes
Result object for continuing parsing of a block; see static methods for constructors.
Tags
Table of Contents
Properties
- $cursorState : CursorState|null
- $finalize : bool
Methods
- at() : self
- Signal that we're continuing at the given position
- finished() : self
- Signal that we want to finalize and close the block
- getCursorState() : CursorState|null
- isFinalize() : bool
- none() : null
- Signal that we cannot continue here
- __construct() : mixed
Properties
$cursorState
private
CursorState|null
$cursorState
= null
Tags
$finalize
private
bool
$finalize
Tags
Methods
at()
Signal that we're continuing at the given position
public
static at(Cursor $cursor) : self
Parameters
- $cursor : Cursor
Return values
selffinished()
Signal that we want to finalize and close the block
public
static finished() : self
Return values
selfgetCursorState()
public
getCursorState() : CursorState|null
Return values
CursorState|nullisFinalize()
public
isFinalize() : bool
Return values
boolnone()
Signal that we cannot continue here
public
static none() : null
Return values
null__construct()
private
__construct([CursorState|null $cursorState = null ][, bool $finalize = false ]) : mixed
Parameters
- $cursorState : CursorState|null = null
- $finalize : bool = false