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
  • PHP

Classes

  • HtmlNode
  • LatteCompiler
  • LatteFilter
  • LatteToken
  • MacroNode
  • MacroTokenizer
  • Parser
  • PhpWriter

Interfaces

  • IMacro

Exceptions

  • CompileException
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (http://nette.org)
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * For the full copyright and license information, please view
 9:  * the file license.txt that was distributed with this source code.
10:  * @package Nette\Latte
11:  */
12: 
13: 
14: 
15: /**
16:  * Latte parser token.
17:  *
18:  * @author     David Grudl
19:  * @package Nette\Latte
20:  */
21: class LatteToken extends Object
22: {
23:     const TEXT = 'text',
24:         MACRO_TAG = 'macroTag',
25:         HTML_TAG_BEGIN = 'htmlTagBegin',
26:         HTML_TAG_END = 'htmlTagEnd',
27:         HTML_ATTRIBUTE = 'htmlAttribute',
28:         COMMENT = 'comment';
29: 
30:     /** @var int */
31:     public $type;
32: 
33:     /** @var string */
34:     public $text;
35: 
36:     /** @var int */
37:     public $line;
38: 
39:     /** @var string  MACRO_TAG, HTML_TAG_BEGIN, HTML_ATTRIBUTE */
40:     public $name;
41: 
42:     /** @var string  MACRO_TAG, HTML_ATTRIBUTE */
43:     public $value;
44: 
45:     /** @var string  MACRO_TAG */
46:     public $modifiers;
47: 
48:     /** @var bool  HTML_TAG_BEGIN */
49:     public $closing;
50: 
51: }
52: 
Nette Framework 2.0.3 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0