|
@@ -53,13 +53,6 @@ class Mustache_Tokenizer
|
|
|
self::T_BLOCK_VAR => true,
|
|
self::T_BLOCK_VAR => true,
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
- // Interpolated tags
|
|
|
|
|
- private static $interpolatedTags = array(
|
|
|
|
|
- self::T_ESCAPED => true,
|
|
|
|
|
- self::T_UNESCAPED => true,
|
|
|
|
|
- self::T_UNESCAPED_2 => true,
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
// Token properties
|
|
// Token properties
|
|
|
const TYPE = 'type';
|
|
const TYPE = 'type';
|
|
|
const NAME = 'name';
|
|
const NAME = 'name';
|
|
@@ -75,7 +68,6 @@ class Mustache_Tokenizer
|
|
|
|
|
|
|
|
private $state;
|
|
private $state;
|
|
|
private $tagType;
|
|
private $tagType;
|
|
|
- private $tag;
|
|
|
|
|
private $buffer;
|
|
private $buffer;
|
|
|
private $tokens;
|
|
private $tokens;
|
|
|
private $seenTag;
|
|
private $seenTag;
|
|
@@ -224,7 +216,6 @@ class Mustache_Tokenizer
|
|
|
{
|
|
{
|
|
|
$this->state = self::IN_TEXT;
|
|
$this->state = self::IN_TEXT;
|
|
|
$this->tagType = null;
|
|
$this->tagType = null;
|
|
|
- $this->tag = null;
|
|
|
|
|
$this->buffer = '';
|
|
$this->buffer = '';
|
|
|
$this->tokens = array();
|
|
$this->tokens = array();
|
|
|
$this->seenTag = false;
|
|
$this->seenTag = false;
|