Lines Matching defs:type
45 uint32_t type = value.toUInt32(exec);
46 if (!imp->setType(type))
47 throwError(exec, createTypeError(exec, "Illegal OscillatorNode type"));
53 String type = value.toString(exec)->value(exec);
54 if (type == "sine" || type == "square" || type == "sawtooth" || type == "triangle") {
55 imp->setType(type);
60 throwError(exec, createTypeError(exec, "Illegal OscillatorNode type"));