Smarty_Internal_Configfileparser
Smarty Internal Plugin Configfileparse
This is the config file parser. It is generated from the smarty_internal_configfileparser.y file
- Full name:
\Smarty_Internal_Configfileparser
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
TPC_OPENB |
public | 1 | |
TPC_SECTION |
public | 2 | |
TPC_CLOSEB |
public | 3 | |
TPC_DOT |
public | 4 | |
TPC_ID |
public | 5 | |
TPC_EQUAL |
public | 6 | |
TPC_FLOAT |
public | 7 | |
TPC_INT |
public | 8 | |
TPC_BOOL |
public | 9 | |
TPC_SINGLE_QUOTED_STRING |
public | 10 | |
TPC_DOUBLE_QUOTED_STRING |
public | 11 | |
TPC_TRIPPLE_QUOTES |
public | 12 | |
TPC_TRIPPLE_TEXT |
public | 13 | |
TPC_TRIPPLE_QUOTES_END |
public | 14 | |
TPC_NAKED_STRING |
public | 15 | |
TPC_OTHER |
public | 16 | |
TPC_NEWLINE |
public | 17 | |
TPC_COMMENTSTART |
public | 18 | |
YY_NO_ACTION |
public | 60 | |
YY_ACCEPT_ACTION |
public | 59 | |
YY_ERROR_ACTION |
public | 58 | |
YY_SZ_ACTTAB |
public | 38 | |
YY_SHIFT_USE_DFLT |
public | -8 | |
YY_SHIFT_MAX |
public | 19 | |
YY_REDUCE_USE_DFLT |
public | -17 | |
YY_REDUCE_MAX |
public | 10 | |
YYNOCODE |
public | 29 | |
YYSTACKDEPTH |
public | 100 | |
YYNSTATE |
public | 36 | |
YYNRULE |
public | 22 | |
YYERRORSYMBOL |
public | 19 | |
YYERRSYMDT |
public | 'yy0' | |
YYFALLBACK |
public | 0 |
Properties
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.
yyRuleName
- This property is static.
yyRuleInfo
- This property is static.
yyReduceMap
- This property is static.
escapes_single
helper map
- This property is static.
successful
result status
retvalue
return value
yymajor
compiler
compiler object
smarty
smarty object
yyTraceFILE
yyTracePrompt
yyidx
yyerrcnt
yystack
yyTokenName
lex
lexer object
internalError
internal error flag
configOverwrite
copy of config_overwrite property
configReadHidden
copy of config_read_hidden property
_retvalue
Methods
__construct
constructor
public __construct(\Smarty_Internal_Configfilelexer $lex, \Smarty_Internal_Config_File_Compiler $compiler): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$lex |
\Smarty_Internal_Configfilelexer | |
$compiler |
\Smarty_Internal_Config_File_Compiler |
yy_destructor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$yymajor |
mixed | |
$yypminor |
mixed |
parse_single_quoted_string
parse single quoted string remove outer quotes unescape inner quotes
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$qstr |
string |
parse_double_quoted_string
parse double quoted string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$qstr |
string |
parse_tripple_double_quoted_string
parse triple quoted string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$qstr |
string |
Trace
Parameters:
Parameter | Type | Description |
---|---|---|
$TraceFILE |
mixed | |
$zTracePrompt |
mixed |
PrintTrace
tokenName
Parameters:
Parameter | Type | Description |
---|---|---|
$tokenType |
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_r4
yy_r5
yy_r6
yy_r7
yy_r8
yy_r9
yy_r10
yy_r11
yy_r12
yy_r13
yy_r14
yy_r15
yy_r16
yy_r17
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 |
parse_bool
parse optional boolean keywords
Parameters:
Parameter | Type | Description |
---|---|---|
$str |
string |
set_var
set a config variable in target array
Parameters:
Parameter | Type | Description |
---|---|---|
$var |
array | |
$target_array |
array |
add_global_vars
add config variable to global vars
Parameters:
Parameter | Type | Description |
---|---|---|
$vars |
array |
add_section_vars
add config variable to section
Parameters:
Parameter | Type | Description |
---|---|---|
$section_name |
string | |
$vars |
array |
Automatically generated on 2025-03-18