Smarty_Internal_Templateparser
Smarty Template Parser Class
This is the template parser. It is generated from the smarty_internal_templateparser.y file
- Full name:
\Smarty_Internal_Templateparser
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
ERR1 |
public | 'Security error: Call to private object member not allowed' | |
ERR2 |
public | 'Security error: Call to dynamic object member not allowed' | |
TP_VERT |
public | 1 | |
TP_COLON |
public | 2 | |
TP_TEXT |
public | 3 | |
TP_STRIPON |
public | 4 | |
TP_STRIPOFF |
public | 5 | |
TP_LITERALSTART |
public | 6 | |
TP_LITERALEND |
public | 7 | |
TP_LITERAL |
public | 8 | |
TP_SIMPELOUTPUT |
public | 9 | |
TP_SIMPLETAG |
public | 10 | |
TP_SMARTYBLOCKCHILDPARENT |
public | 11 | |
TP_LDEL |
public | 12 | |
TP_RDEL |
public | 13 | |
TP_DOLLARID |
public | 14 | |
TP_EQUAL |
public | 15 | |
TP_ID |
public | 16 | |
TP_PTR |
public | 17 | |
TP_LDELMAKENOCACHE |
public | 18 | |
TP_LDELIF |
public | 19 | |
TP_LDELFOR |
public | 20 | |
TP_SEMICOLON |
public | 21 | |
TP_INCDEC |
public | 22 | |
TP_TO |
public | 23 | |
TP_STEP |
public | 24 | |
TP_LDELFOREACH |
public | 25 | |
TP_SPACE |
public | 26 | |
TP_AS |
public | 27 | |
TP_APTR |
public | 28 | |
TP_LDELSETFILTER |
public | 29 | |
TP_CLOSETAG |
public | 30 | |
TP_LDELSLASH |
public | 31 | |
TP_ATTR |
public | 32 | |
TP_INTEGER |
public | 33 | |
TP_COMMA |
public | 34 | |
TP_OPENP |
public | 35 | |
TP_CLOSEP |
public | 36 | |
TP_MATH |
public | 37 | |
TP_UNIMATH |
public | 38 | |
TP_ISIN |
public | 39 | |
TP_QMARK |
public | 40 | |
TP_NOT |
public | 41 | |
TP_TYPECAST |
public | 42 | |
TP_HEX |
public | 43 | |
TP_DOT |
public | 44 | |
TP_INSTANCEOF |
public | 45 | |
TP_SINGLEQUOTESTRING |
public | 46 | |
TP_DOUBLECOLON |
public | 47 | |
TP_NAMESPACE |
public | 48 | |
TP_AT |
public | 49 | |
TP_HATCH |
public | 50 | |
TP_OPENB |
public | 51 | |
TP_CLOSEB |
public | 52 | |
TP_DOLLAR |
public | 53 | |
TP_LOGOP |
public | 54 | |
TP_SLOGOP |
public | 55 | |
TP_TLOGOP |
public | 56 | |
TP_SINGLECOND |
public | 57 | |
TP_ARRAYOPEN |
public | 58 | |
TP_QUOTE |
public | 59 | |
TP_BACKTICK |
public | 60 | |
YY_NO_ACTION |
public | 514 | |
YY_ACCEPT_ACTION |
public | 513 | |
YY_ERROR_ACTION |
public | 512 | |
YY_SZ_ACTTAB |
public | 1997 | |
YY_SHIFT_USE_DFLT |
public | -22 | |
YY_SHIFT_MAX |
public | 230 | |
YY_REDUCE_USE_DFLT |
public | -89 | |
YY_REDUCE_MAX |
public | 178 | |
YYNOCODE |
public | 109 | |
YYSTACKDEPTH |
public | 500 | |
YYNSTATE |
public | 326 | |
YYNRULE |
public | 186 | |
YYERRORSYMBOL |
public | 61 | |
YYERRSYMDT |
public | 'yy0' | |
YYFALLBACK |
public | 0 |
Properties
successful
result status
retvalue
return value
yymajor
last_index
last index of array variable
last_variable
last variable name
root_buffer
root parse tree buffer
current_buffer
current parse tree object
lex
lexer object
internalError
internal error flag
strip
{strip} status
compiler
compiler object
smarty
smarty object
template
template object
block_nesting_level
block nesting level
security
security object
template_prefix
template prefix array
template_postfix
template prefix array
yy_action
- This property is static.
yy_lookahead
- This property is static.
yy_shift_ofst
- This property is static.
yy_reduce_ofst
- This property is static.
yyExpectedTokens
- This property is static.
yy_default
- This property is static.
yyFallback
- This property is static.
yyTraceFILE
yyTracePrompt
yyidx
yyerrcnt
yystack
yyTokenName
yyRuleName
- This property is static.
yyRuleInfo
- This property is static.
yyReduceMap
- This property is static.
_retvalue
Methods
__construct
constructor
public __construct(\Smarty_Internal_Templatelexer $lex, \Smarty_Internal_TemplateCompilerBase $compiler): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$lex |
\Smarty_Internal_Templatelexer | |
$compiler |
\Smarty_Internal_TemplateCompilerBase |
insertPhpCode
insert PHP code in current buffer
Parameters:
Parameter | Type | Description |
---|---|---|
$code |
string |
errorRunDown
error rundown
mergePrefixCode
merge PHP code with prefix code and return parse tree tag object
Parameters:
Parameter | Type | Description |
---|---|---|
$code |
string |
Trace
Parameters:
Parameter | Type | Description |
---|---|---|
$TraceFILE |
mixed | |
$zTracePrompt |
mixed |
PrintTrace
tokenName
Parameters:
Parameter | Type | Description |
---|---|---|
$tokenType |
mixed |
yy_destructor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$yymajor |
mixed | |
$yypminor |
mixed |
yy_pop_parser_stack
__destruct
yy_get_expected_tokens
Parameters:
Parameter | Type | Description |
---|---|---|
$token |
mixed |
yy_is_expected_token
Parameters:
Parameter | Type | Description |
---|---|---|
$token |
mixed |
yy_find_shift_action
Parameters:
Parameter | Type | Description |
---|---|---|
$iLookAhead |
mixed |
yy_find_reduce_action
Parameters:
Parameter | Type | Description |
---|---|---|
$stateno |
mixed | |
$iLookAhead |
mixed |
yy_shift
Parameters:
Parameter | Type | Description |
---|---|---|
$yyNewState |
mixed | |
$yyMajor |
mixed | |
$yypMinor |
mixed |
yy_r0
yy_r1
yy_r2
yy_r3
yy_r4
yy_r5
yy_r6
yy_r7
yy_r8
yy_r9
yy_r11
yy_r12
yy_r13
yy_r14
yy_r15
yy_r16
yy_r17
yy_r18
yy_r19
yy_r20
yy_r24
yy_r25
yy_r26
yy_r27
yy_r28
yy_r29
yy_r30
yy_r31
yy_r32
yy_r34
yy_r35
yy_r37
yy_r38
yy_r39
yy_r40
yy_r41
yy_r42
yy_r43
yy_r44
yy_r45
yy_r46
yy_r47
yy_r48
yy_r49
yy_r50
yy_r51
yy_r52
yy_r53
yy_r55
yy_r58
yy_r60
yy_r61
yy_r63
yy_r64
yy_r67
yy_r68
yy_r70
yy_r71
yy_r72
yy_r73
yy_r74
yy_r75
yy_r76
yy_r78
yy_r79
yy_r84
yy_r85
yy_r86
yy_r87
yy_r89
yy_r90
yy_r94
yy_r95
yy_r96
yy_r99
yy_r101
yy_r102
yy_r103
yy_r104
yy_r106
yy_r107
yy_r108
yy_r109
yy_r110
yy_r111
yy_r113
yy_r114
yy_r115
yy_r116
yy_r117
yy_r118
yy_r119
yy_r120
yy_r121
yy_r122
yy_r124
yy_r128
yy_r129
yy_r130
yy_r131
yy_r133
yy_r134
yy_r135
yy_r136
yy_r137
yy_r138
yy_r139
yy_r140
yy_r141
yy_r142
yy_r143
yy_r144
yy_r145
yy_r146
yy_r149
yy_r150
yy_r152
yy_r153
yy_r156
yy_r158
yy_r159
yy_r160
yy_r161
yy_r162
yy_r163
yy_r164
yy_r165
yy_r166
yy_r167
yy_r170
yy_r172
yy_r173
yy_r176
yy_r177
yy_r178
yy_r179
yy_r180
yy_r181
yy_r184
yy_r185
yy_reduce
Parameters:
Parameter | Type | Description |
---|---|---|
$yyruleno |
mixed |
yy_parse_failed
yy_syntax_error
Parameters:
Parameter | Type | Description |
---|---|---|
$yymajor |
mixed | |
$TOKEN |
mixed |
yy_accept
doParse
Parameters:
Parameter | Type | Description |
---|---|---|
$yymajor |
mixed | |
$yytokenvalue |
mixed |
Automatically generated on 2025-03-18