smarty_internal_configfilelexer.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. <?php
  2. /**
  3. * Smarty Internal Plugin Configfilelexer
  4. *
  5. * This is the lexer to break the config file source into tokens
  6. *
  7. * @package Smarty
  8. * @subpackage Config
  9. * @author Uwe Tews
  10. */
  11. /**
  12. * Smarty_Internal_Configfilelexer
  13. *
  14. * This is the config file lexer.
  15. * It is generated from the smarty_internal_configfilelexer.plex file
  16. *
  17. * @package Smarty
  18. * @subpackage Compiler
  19. * @author Uwe Tews
  20. */
  21. class Smarty_Internal_Configfilelexer
  22. {
  23. /**
  24. * Source
  25. *
  26. * @var string
  27. */
  28. public $data;
  29. /**
  30. * byte counter
  31. *
  32. * @var int
  33. */
  34. public $counter;
  35. /**
  36. * token number
  37. *
  38. * @var int
  39. */
  40. public $token;
  41. /**
  42. * token value
  43. *
  44. * @var string
  45. */
  46. public $value;
  47. /**
  48. * current line
  49. *
  50. * @var int
  51. */
  52. public $line;
  53. /**
  54. * state number
  55. *
  56. * @var int
  57. */
  58. public $state = 1;
  59. /**
  60. * Smarty object
  61. *
  62. * @var Smarty
  63. */
  64. public $smarty = null;
  65. /**
  66. * compiler object
  67. *
  68. * @var Smarty_Internal_Config_File_Compiler
  69. */
  70. private $compiler = null;
  71. /**
  72. * copy of config_booleanize
  73. *
  74. * @var bool
  75. */
  76. private $configBooleanize = false;
  77. /**
  78. * trace file
  79. *
  80. * @var resource
  81. */
  82. public $yyTraceFILE;
  83. /**
  84. * trace prompt
  85. *
  86. * @var string
  87. */
  88. public $yyTracePrompt;
  89. /**
  90. * state names
  91. *
  92. * @var array
  93. */
  94. public $state_name = array(1 => 'START', 2 => 'VALUE', 3 => 'NAKED_STRING_VALUE', 4 => 'COMMENT', 5 => 'SECTION',
  95. 6 => 'TRIPPLE');
  96. /**
  97. * storage for assembled token patterns
  98. *
  99. * @var sring
  100. */
  101. private $yy_global_pattern1 = null;
  102. private $yy_global_pattern2 = null;
  103. private $yy_global_pattern3 = null;
  104. private $yy_global_pattern4 = null;
  105. private $yy_global_pattern5 = null;
  106. private $yy_global_pattern6 = null;
  107. /**
  108. * token names
  109. *
  110. * @var array
  111. */
  112. public $smarty_token_names = array( // Text for parser error messages
  113. );
  114. /**
  115. * constructor
  116. *
  117. * @param string $data template source
  118. * @param Smarty_Internal_Config_File_Compiler $compiler
  119. */
  120. function __construct($data, Smarty_Internal_Config_File_Compiler $compiler)
  121. {
  122. // set instance object
  123. self::instance($this);
  124. $this->data = $data . "\n"; //now all lines are \n-terminated
  125. $this->counter = 0;
  126. if (preg_match('/^\xEF\xBB\xBF/', $this->data, $match)) {
  127. $this->counter += strlen($match[ 0 ]);
  128. }
  129. $this->line = 1;
  130. $this->compiler = $compiler;
  131. $this->smarty = $compiler->smarty;
  132. $this->configBooleanize = $this->smarty->config_booleanize;
  133. }
  134. public static function &instance($new_instance = null)
  135. {
  136. static $instance = null;
  137. if (isset($new_instance) && is_object($new_instance)) {
  138. $instance = $new_instance;
  139. }
  140. return $instance;
  141. }
  142. public function PrintTrace()
  143. {
  144. $this->yyTraceFILE = fopen('php://output', 'w');
  145. $this->yyTracePrompt = '<br>';
  146. }
  147. private $_yy_state = 1;
  148. private $_yy_stack = array();
  149. public function yylex()
  150. {
  151. return $this->{'yylex' . $this->_yy_state}();
  152. }
  153. public function yypushstate($state)
  154. {
  155. if ($this->yyTraceFILE) {
  156. fprintf($this->yyTraceFILE, "%sState push %s\n", $this->yyTracePrompt,
  157. isset($this->state_name[ $this->_yy_state ]) ? $this->state_name[ $this->_yy_state ] :
  158. $this->_yy_state);
  159. }
  160. array_push($this->_yy_stack, $this->_yy_state);
  161. $this->_yy_state = $state;
  162. if ($this->yyTraceFILE) {
  163. fprintf($this->yyTraceFILE, "%snew State %s\n", $this->yyTracePrompt,
  164. isset($this->state_name[ $this->_yy_state ]) ? $this->state_name[ $this->_yy_state ] :
  165. $this->_yy_state);
  166. }
  167. }
  168. public function yypopstate()
  169. {
  170. if ($this->yyTraceFILE) {
  171. fprintf($this->yyTraceFILE, "%sState pop %s\n", $this->yyTracePrompt,
  172. isset($this->state_name[ $this->_yy_state ]) ? $this->state_name[ $this->_yy_state ] :
  173. $this->_yy_state);
  174. }
  175. $this->_yy_state = array_pop($this->_yy_stack);
  176. if ($this->yyTraceFILE) {
  177. fprintf($this->yyTraceFILE, "%snew State %s\n", $this->yyTracePrompt,
  178. isset($this->state_name[ $this->_yy_state ]) ? $this->state_name[ $this->_yy_state ] :
  179. $this->_yy_state);
  180. }
  181. }
  182. public function yybegin($state)
  183. {
  184. $this->_yy_state = $state;
  185. if ($this->yyTraceFILE) {
  186. fprintf($this->yyTraceFILE, "%sState set %s\n", $this->yyTracePrompt,
  187. isset($this->state_name[ $this->_yy_state ]) ? $this->state_name[ $this->_yy_state ] :
  188. $this->_yy_state);
  189. }
  190. }
  191. public function yylex1()
  192. {
  193. if (!isset($this->yy_global_pattern1)) {
  194. $this->yy_global_pattern1 =
  195. "/\G(#|;)|\G(\\[)|\G(\\])|\G(=)|\G([ \t\r]+)|\G(\n)|\G([0-9]*[a-zA-Z_]\\w*)|\G([\S\s])/isS";
  196. }
  197. if ($this->counter >= strlen($this->data)) {
  198. return false; // end of input
  199. }
  200. do {
  201. if (preg_match($this->yy_global_pattern1, $this->data, $yymatches, null, $this->counter)) {
  202. $yysubmatches = $yymatches;
  203. if (strlen($yysubmatches[ 0 ]) < 200) {
  204. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  205. } else {
  206. $yymatches = array_filter($yymatches, 'strlen');
  207. }
  208. if (empty($yymatches)) {
  209. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  210. substr($this->data, $this->counter, 5) . '... state START');
  211. }
  212. next($yymatches); // skip global match
  213. $this->token = key($yymatches); // token number
  214. $this->value = current($yymatches); // token value
  215. $r = $this->{'yy_r1_' . $this->token}();
  216. if ($r === null) {
  217. $this->counter += strlen($this->value);
  218. $this->line += substr_count($this->value, "\n");
  219. // accept this token
  220. return true;
  221. } elseif ($r === true) {
  222. // we have changed state
  223. // process this token in the new state
  224. return $this->yylex();
  225. } elseif ($r === false) {
  226. $this->counter += strlen($this->value);
  227. $this->line += substr_count($this->value, "\n");
  228. if ($this->counter >= strlen($this->data)) {
  229. return false; // end of input
  230. }
  231. // skip this token
  232. continue;
  233. }
  234. } else {
  235. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  236. }
  237. break;
  238. }
  239. while (true);
  240. } // end function
  241. const START = 1;
  242. function yy_r1_1()
  243. {
  244. $this->token = Smarty_Internal_Configfileparser::TPC_COMMENTSTART;
  245. $this->yypushstate(self::COMMENT);
  246. }
  247. function yy_r1_2()
  248. {
  249. $this->token = Smarty_Internal_Configfileparser::TPC_OPENB;
  250. $this->yypushstate(self::SECTION);
  251. }
  252. function yy_r1_3()
  253. {
  254. $this->token = Smarty_Internal_Configfileparser::TPC_CLOSEB;
  255. }
  256. function yy_r1_4()
  257. {
  258. $this->token = Smarty_Internal_Configfileparser::TPC_EQUAL;
  259. $this->yypushstate(self::VALUE);
  260. }
  261. function yy_r1_5()
  262. {
  263. return false;
  264. }
  265. function yy_r1_6()
  266. {
  267. $this->token = Smarty_Internal_Configfileparser::TPC_NEWLINE;
  268. }
  269. function yy_r1_7()
  270. {
  271. $this->token = Smarty_Internal_Configfileparser::TPC_ID;
  272. }
  273. function yy_r1_8()
  274. {
  275. $this->token = Smarty_Internal_Configfileparser::TPC_OTHER;
  276. }
  277. public function yylex2()
  278. {
  279. if (!isset($this->yy_global_pattern2)) {
  280. $this->yy_global_pattern2 =
  281. "/\G([ \t\r]+)|\G(\\d+\\.\\d+(?=[ \t\r]*[\n#;]))|\G(\\d+(?=[ \t\r]*[\n#;]))|\G(\"\"\")|\G('[^'\\\\]*(?:\\\\.[^'\\\\]*)*'(?=[ \t\r]*[\n#;]))|\G(\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"(?=[ \t\r]*[\n#;]))|\G([a-zA-Z]+(?=[ \t\r]*[\n#;]))|\G([^\n]+?(?=[ \t\r]*\n))|\G(\n)/isS";
  282. }
  283. if ($this->counter >= strlen($this->data)) {
  284. return false; // end of input
  285. }
  286. do {
  287. if (preg_match($this->yy_global_pattern2, $this->data, $yymatches, null, $this->counter)) {
  288. $yysubmatches = $yymatches;
  289. if (strlen($yysubmatches[ 0 ]) < 200) {
  290. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  291. } else {
  292. $yymatches = array_filter($yymatches, 'strlen');
  293. }
  294. if (empty($yymatches)) {
  295. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  296. substr($this->data, $this->counter, 5) . '... state VALUE');
  297. }
  298. next($yymatches); // skip global match
  299. $this->token = key($yymatches); // token number
  300. $this->value = current($yymatches); // token value
  301. $r = $this->{'yy_r2_' . $this->token}();
  302. if ($r === null) {
  303. $this->counter += strlen($this->value);
  304. $this->line += substr_count($this->value, "\n");
  305. // accept this token
  306. return true;
  307. } elseif ($r === true) {
  308. // we have changed state
  309. // process this token in the new state
  310. return $this->yylex();
  311. } elseif ($r === false) {
  312. $this->counter += strlen($this->value);
  313. $this->line += substr_count($this->value, "\n");
  314. if ($this->counter >= strlen($this->data)) {
  315. return false; // end of input
  316. }
  317. // skip this token
  318. continue;
  319. }
  320. } else {
  321. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  322. }
  323. break;
  324. }
  325. while (true);
  326. } // end function
  327. const VALUE = 2;
  328. function yy_r2_1()
  329. {
  330. return false;
  331. }
  332. function yy_r2_2()
  333. {
  334. $this->token = Smarty_Internal_Configfileparser::TPC_FLOAT;
  335. $this->yypopstate();
  336. }
  337. function yy_r2_3()
  338. {
  339. $this->token = Smarty_Internal_Configfileparser::TPC_INT;
  340. $this->yypopstate();
  341. }
  342. function yy_r2_4()
  343. {
  344. $this->token = Smarty_Internal_Configfileparser::TPC_TRIPPLE_QUOTES;
  345. $this->yypushstate(self::TRIPPLE);
  346. }
  347. function yy_r2_5()
  348. {
  349. $this->token = Smarty_Internal_Configfileparser::TPC_SINGLE_QUOTED_STRING;
  350. $this->yypopstate();
  351. }
  352. function yy_r2_6()
  353. {
  354. $this->token = Smarty_Internal_Configfileparser::TPC_DOUBLE_QUOTED_STRING;
  355. $this->yypopstate();
  356. }
  357. function yy_r2_7()
  358. {
  359. if (!$this->configBooleanize ||
  360. !in_array(strtolower($this->value), Array("true", "false", "on", "off", "yes", "no"))
  361. ) {
  362. $this->yypopstate();
  363. $this->yypushstate(self::NAKED_STRING_VALUE);
  364. return true; //reprocess in new state
  365. } else {
  366. $this->token = Smarty_Internal_Configfileparser::TPC_BOOL;
  367. $this->yypopstate();
  368. }
  369. }
  370. function yy_r2_8()
  371. {
  372. $this->token = Smarty_Internal_Configfileparser::TPC_NAKED_STRING;
  373. $this->yypopstate();
  374. }
  375. function yy_r2_9()
  376. {
  377. $this->token = Smarty_Internal_Configfileparser::TPC_NAKED_STRING;
  378. $this->value = "";
  379. $this->yypopstate();
  380. }
  381. public function yylex3()
  382. {
  383. if (!isset($this->yy_global_pattern3)) {
  384. $this->yy_global_pattern3 = "/\G([^\n]+?(?=[ \t\r]*\n))/isS";
  385. }
  386. if ($this->counter >= strlen($this->data)) {
  387. return false; // end of input
  388. }
  389. do {
  390. if (preg_match($this->yy_global_pattern3, $this->data, $yymatches, null, $this->counter)) {
  391. $yysubmatches = $yymatches;
  392. if (strlen($yysubmatches[ 0 ]) < 200) {
  393. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  394. } else {
  395. $yymatches = array_filter($yymatches, 'strlen');
  396. }
  397. if (empty($yymatches)) {
  398. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  399. substr($this->data, $this->counter, 5) . '... state NAKED_STRING_VALUE');
  400. }
  401. next($yymatches); // skip global match
  402. $this->token = key($yymatches); // token number
  403. $this->value = current($yymatches); // token value
  404. $r = $this->{'yy_r3_' . $this->token}();
  405. if ($r === null) {
  406. $this->counter += strlen($this->value);
  407. $this->line += substr_count($this->value, "\n");
  408. // accept this token
  409. return true;
  410. } elseif ($r === true) {
  411. // we have changed state
  412. // process this token in the new state
  413. return $this->yylex();
  414. } elseif ($r === false) {
  415. $this->counter += strlen($this->value);
  416. $this->line += substr_count($this->value, "\n");
  417. if ($this->counter >= strlen($this->data)) {
  418. return false; // end of input
  419. }
  420. // skip this token
  421. continue;
  422. }
  423. } else {
  424. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  425. }
  426. break;
  427. }
  428. while (true);
  429. } // end function
  430. const NAKED_STRING_VALUE = 3;
  431. function yy_r3_1()
  432. {
  433. $this->token = Smarty_Internal_Configfileparser::TPC_NAKED_STRING;
  434. $this->yypopstate();
  435. }
  436. public function yylex4()
  437. {
  438. if (!isset($this->yy_global_pattern4)) {
  439. $this->yy_global_pattern4 = "/\G([ \t\r]+)|\G([^\n]+?(?=[ \t\r]*\n))|\G(\n)/isS";
  440. }
  441. if ($this->counter >= strlen($this->data)) {
  442. return false; // end of input
  443. }
  444. do {
  445. if (preg_match($this->yy_global_pattern4, $this->data, $yymatches, null, $this->counter)) {
  446. $yysubmatches = $yymatches;
  447. if (strlen($yysubmatches[ 0 ]) < 200) {
  448. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  449. } else {
  450. $yymatches = array_filter($yymatches, 'strlen');
  451. }
  452. if (empty($yymatches)) {
  453. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  454. substr($this->data, $this->counter, 5) . '... state COMMENT');
  455. }
  456. next($yymatches); // skip global match
  457. $this->token = key($yymatches); // token number
  458. $this->value = current($yymatches); // token value
  459. $r = $this->{'yy_r4_' . $this->token}();
  460. if ($r === null) {
  461. $this->counter += strlen($this->value);
  462. $this->line += substr_count($this->value, "\n");
  463. // accept this token
  464. return true;
  465. } elseif ($r === true) {
  466. // we have changed state
  467. // process this token in the new state
  468. return $this->yylex();
  469. } elseif ($r === false) {
  470. $this->counter += strlen($this->value);
  471. $this->line += substr_count($this->value, "\n");
  472. if ($this->counter >= strlen($this->data)) {
  473. return false; // end of input
  474. }
  475. // skip this token
  476. continue;
  477. }
  478. } else {
  479. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  480. }
  481. break;
  482. }
  483. while (true);
  484. } // end function
  485. const COMMENT = 4;
  486. function yy_r4_1()
  487. {
  488. return false;
  489. }
  490. function yy_r4_2()
  491. {
  492. $this->token = Smarty_Internal_Configfileparser::TPC_NAKED_STRING;
  493. }
  494. function yy_r4_3()
  495. {
  496. $this->token = Smarty_Internal_Configfileparser::TPC_NEWLINE;
  497. $this->yypopstate();
  498. }
  499. public function yylex5()
  500. {
  501. if (!isset($this->yy_global_pattern5)) {
  502. $this->yy_global_pattern5 = "/\G(\\.)|\G(.*?(?=[\.=[\]\r\n]))/isS";
  503. }
  504. if ($this->counter >= strlen($this->data)) {
  505. return false; // end of input
  506. }
  507. do {
  508. if (preg_match($this->yy_global_pattern5, $this->data, $yymatches, null, $this->counter)) {
  509. $yysubmatches = $yymatches;
  510. if (strlen($yysubmatches[ 0 ]) < 200) {
  511. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  512. } else {
  513. $yymatches = array_filter($yymatches, 'strlen');
  514. }
  515. if (empty($yymatches)) {
  516. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  517. substr($this->data, $this->counter, 5) . '... state SECTION');
  518. }
  519. next($yymatches); // skip global match
  520. $this->token = key($yymatches); // token number
  521. $this->value = current($yymatches); // token value
  522. $r = $this->{'yy_r5_' . $this->token}();
  523. if ($r === null) {
  524. $this->counter += strlen($this->value);
  525. $this->line += substr_count($this->value, "\n");
  526. // accept this token
  527. return true;
  528. } elseif ($r === true) {
  529. // we have changed state
  530. // process this token in the new state
  531. return $this->yylex();
  532. } elseif ($r === false) {
  533. $this->counter += strlen($this->value);
  534. $this->line += substr_count($this->value, "\n");
  535. if ($this->counter >= strlen($this->data)) {
  536. return false; // end of input
  537. }
  538. // skip this token
  539. continue;
  540. }
  541. } else {
  542. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  543. }
  544. break;
  545. }
  546. while (true);
  547. } // end function
  548. const SECTION = 5;
  549. function yy_r5_1()
  550. {
  551. $this->token = Smarty_Internal_Configfileparser::TPC_DOT;
  552. }
  553. function yy_r5_2()
  554. {
  555. $this->token = Smarty_Internal_Configfileparser::TPC_SECTION;
  556. $this->yypopstate();
  557. }
  558. public function yylex6()
  559. {
  560. if (!isset($this->yy_global_pattern6)) {
  561. $this->yy_global_pattern6 = "/\G(\"\"\"(?=[ \t\r]*[\n#;]))|\G([\S\s])/isS";
  562. }
  563. if ($this->counter >= strlen($this->data)) {
  564. return false; // end of input
  565. }
  566. do {
  567. if (preg_match($this->yy_global_pattern6, $this->data, $yymatches, null, $this->counter)) {
  568. $yysubmatches = $yymatches;
  569. if (strlen($yysubmatches[ 0 ]) < 200) {
  570. $yymatches = preg_grep("/(.|\s)+/", $yysubmatches);
  571. } else {
  572. $yymatches = array_filter($yymatches, 'strlen');
  573. }
  574. if (empty($yymatches)) {
  575. throw new Exception('Error: lexing failed because a rule matched' . ' an empty string. Input "' .
  576. substr($this->data, $this->counter, 5) . '... state TRIPPLE');
  577. }
  578. next($yymatches); // skip global match
  579. $this->token = key($yymatches); // token number
  580. $this->value = current($yymatches); // token value
  581. $r = $this->{'yy_r6_' . $this->token}();
  582. if ($r === null) {
  583. $this->counter += strlen($this->value);
  584. $this->line += substr_count($this->value, "\n");
  585. // accept this token
  586. return true;
  587. } elseif ($r === true) {
  588. // we have changed state
  589. // process this token in the new state
  590. return $this->yylex();
  591. } elseif ($r === false) {
  592. $this->counter += strlen($this->value);
  593. $this->line += substr_count($this->value, "\n");
  594. if ($this->counter >= strlen($this->data)) {
  595. return false; // end of input
  596. }
  597. // skip this token
  598. continue;
  599. }
  600. } else {
  601. throw new Exception('Unexpected input at line' . $this->line . ': ' . $this->data[ $this->counter ]);
  602. }
  603. break;
  604. }
  605. while (true);
  606. } // end function
  607. const TRIPPLE = 6;
  608. function yy_r6_1()
  609. {
  610. $this->token = Smarty_Internal_Configfileparser::TPC_TRIPPLE_QUOTES_END;
  611. $this->yypopstate();
  612. $this->yypushstate(self::START);
  613. }
  614. function yy_r6_2()
  615. {
  616. $to = strlen($this->data);
  617. preg_match("/\"\"\"[ \t\r]*[\n#;]/", $this->data, $match, PREG_OFFSET_CAPTURE, $this->counter);
  618. if (isset($match[ 0 ][ 1 ])) {
  619. $to = $match[ 0 ][ 1 ];
  620. } else {
  621. $this->compiler->trigger_template_error("missing or misspelled literal closing tag");
  622. }
  623. $this->value = substr($this->data, $this->counter, $to - $this->counter);
  624. $this->token = Smarty_Internal_Configfileparser::TPC_TRIPPLE_TEXT;
  625. }
  626. }