Class MapPfmc

All Implemented Interfaces:
PostfixMathCommandI, PrintVisitor.PrintRulesI, Serializable

public class MapPfmc extends NaryFunction implements PrintVisitor.PrintRulesI
PostfixMathCommand for creating a Map. Parsing {'x':2, 'y':3} produces an ASTOpNode with the MapPfmc, each child is another ASTOpNode with the MapPfmc.MapEntryPfmc and two children, the key and value. Evaluating each child results in an MapPfmc.Entry record, these are added to a Map that is returned by evaluating the top node.
Since:
Jep 4.1
See Also: