Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class NLatteToken

Latte parser token.

NObject
Extended by NLatteToken
Package: Nette\Latte
Author: David Grudl
Located at Latte/Token.php
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string TEXT 'text'
#
string MACRO_TAG 'macroTag'
#
string HTML_TAG_BEGIN 'htmlTagBegin'
#
string HTML_TAG_END 'htmlTagEnd'
#
string HTML_ATTRIBUTE 'htmlAttribute'
#
string COMMENT 'comment'
#
Properties summary
public string $type
#

token type [TEXT | MACRO_TAG | HTML_TAG_BEGIN | HTML_TAG_END | HTML_ATTRIBUTE | COMMENT]

token type [TEXT | MACRO_TAG | HTML_TAG_BEGIN | HTML_TAG_END | HTML_ATTRIBUTE | COMMENT]

public string $text
#

content of the token

content of the token

public integer $line
#

line number

line number

public string $name
#

name of macro tag, HTML tag or attribute; used for types MACRO_TAG, HTML_TAG_BEGIN, HTML_ATTRIBUTE

name of macro tag, HTML tag or attribute; used for types MACRO_TAG, HTML_TAG_BEGIN, HTML_ATTRIBUTE

public string $value
#

value of macro tag or HTML attribute; used for types MACRO_TAG, HTML_ATTRIBUTE

value of macro tag or HTML attribute; used for types MACRO_TAG, HTML_ATTRIBUTE

public string $modifiers
#

macro modifiers; used for type MACRO_TAG

macro modifiers; used for type MACRO_TAG

public boolean $closing
#

is closing HTML tag? used for type HTML_TAG_BEGIN

is closing HTML tag? used for type HTML_TAG_BEGIN

Magic properties inherited from NObject
$reflection
Nette Framework 2.0.18 (for PHP 5.2, prefixed) API documentation generated by ApiGen 2.8.0