[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | Copyright (c) 2010-2022 The s9e authors |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
File Size: | 315 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ControlStructuresOptimizer:: (10 methods):
blockEndsWithIf()
isControlStructure()
isFollowedByElse()
mustPreserveBraces()
optimizeTokens()
processControlStructure()
processEndOfBlock()
removeBracesInCurrentContext()
reset()
skipCondition()
Class: ControlStructuresOptimizer - X-Ref
Optimize the control structures of a scriptblockEndsWithIf() X-Ref |
Test whether current block ends with an if or elseif control structure return: bool |
isControlStructure() X-Ref |
Test whether the token at current index is a control structure return: bool |
isFollowedByElse() X-Ref |
Test whether current block is followed by an elseif/else structure return: bool |
mustPreserveBraces() X-Ref |
Test whether braces must be preserved in current context return: bool |
optimizeTokens() X-Ref |
Optimize control structures in stored tokens return: void |
processControlStructure() X-Ref |
Process the control structure starting at current index return: void |
processEndOfBlock() X-Ref |
Process the block ending at current index return: void |
removeBracesInCurrentContext() X-Ref |
Remove the braces surrounding current context return: void |
reset($php) X-Ref |
{@inheritdoc} |
skipCondition() X-Ref |
Skip the condition of a control structure return: void |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |