Namespace Latte\Compiler

Classes
Block
Escaper

Context-aware escaping.

Node
Position
PrintContext

PHP printing helpers and context. The parts are based on great nikic/PHP-Parser project by Nikita Popov.

Tag

Latte tag or n:attribute.

TagParser

Parser for PHP-like expression language used in tags. Based on works by Nikita Popov, Moriyoshi Koizumi and Masato Bito.

TagParserData
TemplateLexer
TemplateParser
Token
TokenStream

TokenStream loads tokens from $source iterator on-demand, and places them in a buffer to provide access to any previous token by index.

Namespaces
Latte\Compiler\Nodes