Versions in this module Expand all Collapse all v0 v0.3.1 Jul 16, 2026 Changes in this version + func Evaluate(s string) (int, error) + func EvaluateNode(n *Node) int + type CalculatorParser struct + func New(s string) (*CalculatorParser, error) + func (cp *CalculatorParser) AddSub() (*Node, error) + func (cp *CalculatorParser) Factor() (*Node, error) + func (cp *CalculatorParser) Integer() (int, error) + func (cp *CalculatorParser) MulDiv() (*Node, error) + func (cp *CalculatorParser) Space() + type Node struct + Children []*Node + Operators []rune + Value int + func Parse(s string) (*Node, error) + func (n *Node) String() string