Index
A
- Addition — Class in namespace SimpleMath\Expressions
B
- Binary — Class in namespace SimpleMath\Expressions
C
- Addition::calculate() — Method in class Addition
- ComparisonEQ — Class in namespace SimpleMath\Expressions
- ComparisonEQ::calculate() — Method in class ComparisonEQ
- ComparisonGT — Class in namespace SimpleMath\Expressions
- ComparisonGT::calculate() — Method in class ComparisonGT
- ComparisonGTE — Class in namespace SimpleMath\Expressions
- ComparisonGTE::calculate() — Method in class ComparisonGTE
- ComparisonLT — Class in namespace SimpleMath\Expressions
- ComparisonLT::calculate() — Method in class ComparisonLT
- ComparisonLTE — Class in namespace SimpleMath\Expressions
- ComparisonLTE::calculate() — Method in class ComparisonLTE
- ComparisonNE — Class in namespace SimpleMath\Expressions
- ComparisonNE::calculate() — Method in class ComparisonNE
- Division::calculate() — Method in class Division
- Modulo::calculate() — Method in class Modulo
- Multiplication::calculate() — Method in class Multiplication
- Operator::calculate() — Method in class Operator
- OperatorAnd::calculate() — Method in class OperatorAnd
- OperatorOr::calculate() — Method in class OperatorOr
- Subtraction::calculate() — Method in class Subtraction
D
- Division — Class in namespace SimpleMath\Expressions
- $ Stack#data — Property in class Stack
E
- Expression — Class in namespace SimpleMath
- Math::evaluate() — Method in class Math
Parses and executes given formula
F
- Expression::factory() — Method in class Expression
G
- Expression::getPrecidence() — Method in class Expression
I
- Expression::isLeftAssoc() — Method in class Expression
- Expression::isOpen() — Method in class Expression
- Expression::isOperator() — Method in class Expression
- Expression::isParenthesis() — Method in class Expression
- Operator::isOperator() — Method in class Operator
- Parenthesis::isParenthesis() — Method in class Parenthesis
- Parenthesis::isOpen() — Method in class Parenthesis
- Ternary::isOperator() — Method in class Ternary
- Ternary::isOpen() — Method in class Ternary
L
- $ Expression#leftAssoc — Property in class Expression
- $ Ternary#leftAssoc — Property in class Ternary
M
- Modulo — Class in namespace SimpleMath\Expressions
- Multiplication — Class in namespace SimpleMath\Expressions
- Math — Class in namespace SimpleMath
Core class of the library performing parsing and calculations.
N
- Number — Class in namespace SimpleMath\Expressions
O
- Expression::operate() — Method in class Expression
- Binary::operate() — Method in class Binary
- Number::operate() — Method in class Number
- Operator — Class in namespace SimpleMath\Expressions
- Operator::operate() — Method in class Operator
- OperatorAnd — Class in namespace SimpleMath\Expressions
- OperatorOr — Class in namespace SimpleMath\Expressions
- Parenthesis::operate() — Method in class Parenthesis
- Ternary::operateTernary() — Method in class Ternary
- Ternary::operate() — Method in class Ternary
- Variable::operate() — Method in class Variable
P
- $ Expression#precidence — Property in class Expression
- $ Addition#precidence — Property in class Addition
- $ ComparisonEQ#precidence — Property in class ComparisonEQ
- $ ComparisonGT#precidence — Property in class ComparisonGT
- $ ComparisonGTE#precidence — Property in class ComparisonGTE
- $ ComparisonLT#precidence — Property in class ComparisonLT
- $ ComparisonLTE#precidence — Property in class ComparisonLTE
- $ ComparisonNE#precidence — Property in class ComparisonNE
- $ Division#precidence — Property in class Division
- $ Modulo#precidence — Property in class Modulo
- $ Multiplication#precidence — Property in class Multiplication
- $ OperatorAnd#precidence — Property in class OperatorAnd
- $ OperatorOr#precidence — Property in class OperatorOr
- Parenthesis — Class in namespace SimpleMath\Expressions
- $ Parenthesis#precidence — Property in class Parenthesis
- $ Subtraction#precidence — Property in class Subtraction
- $ Ternary#precidence — Property in class Ternary
- Math::parse() — Method in class Math
Parses given formula. The parsed formula is stored in the class.
- Math::parseParenthesis() — Method in class Math
- Math::parseOperator() — Method in class Math
- Stack::push() — Method in class Stack
- Stack::poke() — Method in class Stack
- Stack::pop() — Method in class Stack
R
- Expression::render() — Method in class Expression
- Math::registerVariable() — Method in class Math
Registers variable for use withing calculation
- Math::run() — Method in class Math
Executes currently parsed formula with current variables
S
- Subtraction — Class in namespace SimpleMath\Expressions
- $ Math#stack — Property in class Math
- Stack — Class in namespace SimpleMath
T
- Ternary — Class in namespace SimpleMath\Expressions
- Math::tokenize() — Method in class Math
V
- $ Expression#value — Property in class Expression
- Variable — Class in namespace SimpleMath\Expressions
- $ Math#variables — Property in class Math
_
- Expression::__construct() — Method in class Expression