import SwtionCalc from "@/plugins/calc";
import { operatorType } from "@/enums/calc"
export default class operatorOptions {
    private swtionCalc = new SwtionCalc();
    public loadOperatorOption() {
        const operatorList = [
            {
                id: operatorType["+"],
                name: operatorType[operatorType["+"]]
            },
            {
                id: operatorType["-"],
                name: operatorType[operatorType["-"]]
            },
            {
                id: operatorType["*"],
                name: operatorType[operatorType["*"]]
            },
            {
                id: operatorType["/"],
                name: operatorType[operatorType["/"]]
            },
            {
                id: operatorType["("],
                name: operatorType[operatorType["("]]
            },
            {
                id: operatorType[")"],
                name: operatorType[operatorType[")"]]
            },
        ];

        return operatorList;

    }
}