Overview

Namespaces

  • BN
    • Collections
    • Compiler
      • Grammar
      • Parser
        • Operator
        • Token
      • Postfix
        • Operands
        • Operator
        • Token
      • Scanner
        • Converter
      • Token
  • Demo
  • None

Classes

  • PostfixEvaluator
  • ProcessToken
  • StackAccumulator
  • Variables

Interfaces

  • CalculatorErrorHandler
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace BN\Compiler\Postfix;
 4: 
 5: use BN\Compiler\Token\Token;
 6: 
 7: abstract class ProcessToken
 8: {
 9:     /** @var StackAccumulator */
10:     protected $accumulator;
11: 
12:     public function __construct(StackAccumulator $accumulator)
13:     {
14:         $this->accumulator = $accumulator;
15:     }
16: 
17:     abstract public function process(Token $token);
18: }
19: 
BN-PHP - Big Number data type for PHP API documentation generated by ApiGen 2.8.0