Showing 7 of 1,975 result(s)
…int | null 49 */ 50 public ?int $endLine = null ; 51 52 /** 53 * The ending column number. 54 * 55 * Starts at one. 56 * 57 * @var int | null 58 */ 59 public ?int $endColumn = null ; 60 61 // ... 62 } Depending on the node's origin, it is...
Retrieves a collection of parser errors. 1 <?php 2 3 use Illuminate\Support\Collection ; 4 5 public function getErrors () : Collection ;
Gets the document nodes. Returns a NodeCollection instance containing the nodes that represent the parsed template. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function getNodes () : NodeCollection ;
…id VerbatimNode instance will either become part of the document's literal content (in the case of the @verbatim directive), or will become a standalone DirectiveNode (in the case of @endverbatim ). 1 <?php 2 3 use...
Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function allOfType ( 6 string $type 7 ) : NodeCollection ; Example Use 1 <?php 2 3 use...
Class : DirectiveArgumentsSpanningLinesValidator The line-span validator emits a validation error when the directive's arguments span more than a specified number of lines. The following template: 1 @if ($something 2 == $this && 3 'this' == 'that'...
Returns a collection of Document instances. 1 <?php 2 3 use Illuminate\Support\Collection ; 4 5 public function getDocuments () : Collection ;