Overview

Namespaces

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

Classes

  • Benchmark
  • Controller
  • GrammarDecorator
  • Model
  • NativeEval
  • Presenter

Functions

  • examples
  • expressionsToLines
  • grammar
  • transformVars
  • Overview
  • Namespace
  • Class
  • Tree

Class Presenter

Demo\Presenter implements BN\Compiler\EvaluatorResponder
Namespace: Demo
Located at demo/app/Presenter.php
Methods summary
public
# __construct( Demo\Model $model )
public
# nextStatement( mixed $statement )

Implementation of

BN\Compiler\EvaluatorResponder::nextStatement()
public
# unknownToken( mixed $token )

Implementation of

BN\Compiler\Parser\ParserErrorHandler::unknownToken()
public
# unknownOperator( mixed $operator )

Implementation of

BN\Compiler\Parser\ParserErrorHandler::unknownOperator()
public
# mismatchedBrackets( mixed $mismatchedBracket )

Implementation of

BN\Compiler\Parser\ParserErrorHandler::mismatchedBrackets()
public
# invalidOperands( mixed $operatorSymbol, BN\Compiler\Postfix\Operands\OperandsSummary $operands )

Implementation of

BN\Compiler\Postfix\CalculatorErrorHandler::invalidOperands()
public
# missingOperator( mixed $expectedOperandsCount )

Implementation of

BN\Compiler\Postfix\CalculatorErrorHandler::missingOperator()
public
# undefinedVariable( mixed $variableName )

Implementation of

BN\Compiler\Postfix\CalculatorErrorHandler::undefinedVariable()
public
# exception( Exception $e )

Implementation of

BN\Compiler\EvaluatorResponder::exception()
public
# result( mixed $result )

Implementation of

BN\Compiler\EvaluatorResponder::result()
public
# variables( stdClass $variables )
BN-PHP - Big Number data type for PHP API documentation generated by ApiGen 2.8.0