mini\Parsing\DelimitedNode
final
class
Documentation
DelimitedNode
Represents a region enclosed by a pair of delimiters, such as:
- quotes : " ... ", ' ... ',
... - brackets : ( ... ), [ ... ], { ... }
The node retains the exact opening and closing delimiters and a NodeList of its inner content. If the closing delimiter was not found (unbalanced input), $closed will be false, and __toString() will not append the closing delimiter, preserving the original input faithfully.
Inheritance
Implements:
mini\Parsing\Node
Stringable
Properties (4)
public
readonly
string $open
public
readonly
string $close
public
readonly
bool $closed
Methods (3)
Documentation missing
Reconstruct the original delimited region as a string.
Documentation missing