Function to calculate all necessary parentheses
Function to calculate all necessary parentheses

calculateNecessaryParentheses takes an OperatorNode and it's arguments
and calculates which of those arguments need to be put in parentheses
based on precedence and associativity.

josdejong/mathjs,DenisGorbachev/mathjs,jomachim/mathjs,josdejong/mathjs,mikberg/mathjs,mcanthony/mathjs,FSMaxB/mathjs,rjbaucells/mathjs,javiercejudo/mathjs,golmansax/mathjs,rjbaucells/mathjs,saromanov/mathjs,FSMaxB/mathjs,mcanthony/mathjs,josdejong/mathjs,josdejong/mathjs,FSMaxB/mathjs,mefozzy/mathjs,golmansax/mathjs,DenisGorbachev/mathjs,tomekwi/mathjs,ericman314/mathjs,luke-gumbley/mathjs,frbl/mathjs,jomachim/mathjs,devanp92/mathjs,mefozzy/mathjs,ericman314/mathjs,saromanov/mathjs,mikberg/mathjs,frbl/mathjs,luke-gumbley/mathjs,tomekwi/mathjs,josdejong/mathjs,devanp92/mathjs,FSMaxB/mathjs,javiercejudo/mathjs,FSMaxB/mathjs