Copied!

Result object for continuing parsing of a block; see static methods for constructors.

  • psalm-immutable
CloneableFinal
Methods
public static at(League\CommonMark\Parser\Cursor $cursor) : self
 

Signal that we're continuing at the given position

public static finished() : self
 

Signal that we want to finalize and close the block

public getCursorState() : ?League\CommonMark\Parser\CursorState
public isFinalize() : bool
public static none() : ?self
 

Signal that we cannot continue here

  • return null
Properties
private ?League\CommonMark\Parser\CursorState $cursorState = NULL
 
  • psalm-readonly
private bool $finalize
 
  • psalm-readonly
Methods
private __construct(?League\CommonMark\Parser\CursorState $cursorState = NULL, bool $finalize = false)
Methods
public static at(League\CommonMark\Parser\Cursor $cursor) : self
 

Signal that we're continuing at the given position

public static finished() : self
 

Signal that we want to finalize and close the block

public static none() : ?self
 

Signal that we cannot continue here

  • return null
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration