Skip to content

Smarty_Internal_Templatelexer

Smarty_Internal_Templatelexer This is the template file lexer.

It is generated from the smarty_internal_templatelexer.plex file

  • Full name: \Smarty_Internal_Templatelexer

Constants

Constant Visibility Type Value
TEXT public 1
TAG public 2
TAGBODY public 3
LITERAL public 4
DOUBLEQUOTEDSTRING public 5

Properties

data

Source

public string $data

dataLength

Source length

public int $dataLength

counter

byte counter

public int $counter

token

token number

public int $token

value

token value

public string $value

line

current line

public int $line

taglineno

tag start line

public $taglineno

phpType

php code type

public string $phpType

state

state number

public int $state

smarty

Smarty object

public \Smarty $smarty

compiler

compiler object

public \Smarty_Internal_TemplateCompilerBase $compiler

yyTraceFILE

trace file

public resource $yyTraceFILE

yyTracePrompt

trace prompt

public string $yyTracePrompt

is_xml

XML flag true while processing xml

public bool $is_xml

state_name

state names

public array $state_name

smarty_token_names

token names

public array $smarty_token_names

literal_cnt

literal tag nesting level

private int $literal_cnt

yy_global_pattern1

preg token pattern for state TEXT

private string $yy_global_pattern1

yy_global_pattern2

preg token pattern for state TAG

private string $yy_global_pattern2

yy_global_pattern3

preg token pattern for state TAGBODY

private string $yy_global_pattern3

yy_global_pattern4

preg token pattern for state LITERAL

private string $yy_global_pattern4

yy_global_pattern5

preg token pattern for state DOUBLEQUOTEDSTRING

private null $yy_global_pattern5

yy_global_text

preg token pattern for text

private null $yy_global_text

yy_global_literal

preg token pattern for literal

private null $yy_global_literal

_yy_state

private $_yy_state

_yy_stack

private $_yy_stack

Methods

__construct

constructor

public __construct(string $source, \Smarty_Internal_TemplateCompilerBase $compiler): mixed

Parameters:

Parameter Type Description
$source string template source
$compiler \Smarty_Internal_TemplateCompilerBase

PrintTrace

open lexer/parser trace file

public PrintTrace(): mixed

replace

replace placeholders with runtime preg code

public replace(string $preg): string

Parameters:

Parameter Type Description
$preg string

isAutoLiteral

check if current value is an autoliteral left delimiter

public isAutoLiteral(): bool

yylex

public yylex(): mixed

yypushstate

public yypushstate(mixed $state): mixed

Parameters:

Parameter Type Description
$state mixed

yypopstate

public yypopstate(): mixed

yybegin

public yybegin(mixed $state): mixed

Parameters:

Parameter Type Description
$state mixed

yylex1

public yylex1(): mixed

yy_r1_1

public yy_r1_1(): mixed

yy_r1_2

public yy_r1_2(): mixed

yy_r1_4

public yy_r1_4(): mixed

yy_r1_6

public yy_r1_6(): mixed

yy_r1_8

public yy_r1_8(): mixed

yy_r1_10

public yy_r1_10(): mixed

yy_r1_12

public yy_r1_12(): mixed

yylex2

public yylex2(): mixed

yy_r2_1

public yy_r2_1(): mixed

yy_r2_4

public yy_r2_4(): mixed

yy_r2_6

public yy_r2_6(): mixed

yy_r2_8

public yy_r2_8(): mixed

yy_r2_10

public yy_r2_10(): mixed

yy_r2_12

public yy_r2_12(): mixed

yy_r2_15

public yy_r2_15(): mixed

yy_r2_18

public yy_r2_18(): mixed

yy_r2_20

public yy_r2_20(): mixed

yy_r2_23

public yy_r2_23(): mixed

yy_r2_25

public yy_r2_25(): mixed

yylex3

public yylex3(): mixed

yy_r3_1

public yy_r3_1(): mixed

yy_r3_2

public yy_r3_2(): mixed

yy_r3_4

public yy_r3_4(): mixed

yy_r3_5

public yy_r3_5(): mixed

yy_r3_6

public yy_r3_6(): mixed

yy_r3_7

public yy_r3_7(): mixed

yy_r3_8

public yy_r3_8(): mixed

yy_r3_9

public yy_r3_9(): mixed

yy_r3_10

public yy_r3_10(): mixed

yy_r3_11

public yy_r3_11(): mixed

yy_r3_12

public yy_r3_12(): mixed

yy_r3_13

public yy_r3_13(): mixed

yy_r3_15

public yy_r3_15(): mixed

yy_r3_17

public yy_r3_17(): mixed

yy_r3_20

public yy_r3_20(): mixed

yy_r3_23

public yy_r3_23(): mixed

yy_r3_24

public yy_r3_24(): mixed

yy_r3_28

public yy_r3_28(): mixed

yy_r3_29

public yy_r3_29(): mixed

yy_r3_30

public yy_r3_30(): mixed

yy_r3_31

public yy_r3_31(): mixed

yy_r3_32

public yy_r3_32(): mixed

yy_r3_33

public yy_r3_33(): mixed

yy_r3_34

public yy_r3_34(): mixed

yy_r3_35

public yy_r3_35(): mixed

yy_r3_37

public yy_r3_37(): mixed

yy_r3_39

public yy_r3_39(): mixed

yy_r3_41

public yy_r3_41(): mixed

yy_r3_42

public yy_r3_42(): mixed

yy_r3_43

public yy_r3_43(): mixed

yy_r3_44

public yy_r3_44(): mixed

yy_r3_45

public yy_r3_45(): mixed

yy_r3_48

public yy_r3_48(): mixed

yy_r3_49

public yy_r3_49(): mixed

yy_r3_50

public yy_r3_50(): mixed

yy_r3_51

public yy_r3_51(): mixed

yy_r3_52

public yy_r3_52(): mixed

yy_r3_53

public yy_r3_53(): mixed

yy_r3_54

public yy_r3_54(): mixed

yy_r3_55

public yy_r3_55(): mixed

yy_r3_56

public yy_r3_56(): mixed

yy_r3_57

public yy_r3_57(): mixed

yy_r3_58

public yy_r3_58(): mixed

yy_r3_59

public yy_r3_59(): mixed

yy_r3_60

public yy_r3_60(): mixed

yylex4

public yylex4(): mixed

yy_r4_1

public yy_r4_1(): mixed

yy_r4_3

public yy_r4_3(): mixed

yy_r4_5

public yy_r4_5(): mixed

yylex5

public yylex5(): mixed

yy_r5_1

public yy_r5_1(): mixed

yy_r5_3

public yy_r5_3(): mixed

yy_r5_5

public yy_r5_5(): mixed

yy_r5_7

public yy_r5_7(): mixed

yy_r5_9

public yy_r5_9(): mixed

yy_r5_11

public yy_r5_11(): mixed

yy_r5_13

public yy_r5_13(): mixed

yy_r5_14

public yy_r5_14(): mixed

yy_r5_15

public yy_r5_15(): mixed

yy_r5_16

public yy_r5_16(): mixed

yy_r5_17

public yy_r5_17(): mixed

yy_r5_22

public yy_r5_22(): mixed


Automatically generated on 2025-03-18