[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/ -> FoldArithmeticConstants.php (summary)

(no description)

File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FoldArithmeticConstants:: (8 methods):
  getOptimizationPasses()
  evaluateExpression()
  foldAdditiveIdentity()
  foldDivision()
  foldMultiplication()
  foldOperation()
  foldSubExpression()
  removeParentheses()


Class: FoldArithmeticConstants  - X-Ref


getOptimizationPasses()   X-Ref
{@inheritdoc}


evaluateExpression($expr)   X-Ref
{@inheritdoc}


foldAdditiveIdentity(array $m)   X-Ref
Remove "+ 0" additions

param: array  $m
return: string

foldDivision(array $m)   X-Ref
Evaluate and return the result of a division

param: array  $m
return: string

foldMultiplication(array $m)   X-Ref
Evaluate and return the result of a multiplication

param: array  $m
return: string

foldOperation(array $m)   X-Ref
Evaluate and replace a constant operation

param: array  $m
return: string

foldSubExpression(array $m)   X-Ref
Evaluate and return the result of a simple subexpression

param: array  $m
return: string

removeParentheses(array $m)   X-Ref
Remove the parentheses around an integer

param: array  $m
return: string



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1