()
| 272 | } |
| 273 | |
| 274 | asMap() { |
| 275 | let toReturn = {} |
| 276 | toReturn[TYPE_CONSTANT] = this.type |
| 277 | |
| 278 | if (!(this.type === PrimitiveType.NULL || this.type === PrimitiveType.UNDEFINED)) { |
| 279 | toReturn[VALUE_CONSTANT] = this.value |
| 280 | } |
| 281 | return toReturn |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected