* Generally used to lookup the value type returned from a member expressions * @param {String} type * @return {String}
(type)
| 301 | * @return {String} |
| 302 | */ |
| 303 | getLookupType(type) { |
| 304 | if (!typeLookupMap.hasOwnProperty(type)) { |
| 305 | throw new Error(`unknown typeLookupMap ${ type }`); |
| 306 | } |
| 307 | return typeLookupMap[type]; |
| 308 | } |
| 309 | |
| 310 | getConstantType(constantName) { |
| 311 | if (this.constantTypes[constantName]) { |