Showing 10 of 1,214 results.

How the Parser Interacts with Other Features | Core Concepts

The Document Parser provides a list of parsed nodes, or AST, to almost every other feature within the library. The following diagram gives a surface-level overview of how the library is structured: The document parser receives a Blade template as...

hasErrorOnLine | The Document Parser

Tests if an error matching the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ;...

Template and Partial Names and Descriptions | Template IDE Hints

To provide a name, or description, for your partial, you must include an Antlers comment as the first item in your Antlers template. Within this comment you can prefix a line with @name to specify the partial name, and another line with @desc to...

Rendering Content for the Search Index | Index Configuration

…ml The documentation search provider expects the template to produce HTML, with all headings in-place. When outputting headings for sections within the document, please be sure to output headings that match your site's permalinks structure. Here...

Document Structures

While there are many Blade directive "pairs," such as the conditions, stacks, and related, Blade is inherently a structureless templating language. However, the Blade Parser library can make sense of structures within a Blade template to help tool...

Filter Search