UNPKG

1.25 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/values/NullValue.js"],"names":["NullValue","PrimitiveValue","_serialize","equals","x","getHash","mightBeFalse","toDisplayString"],"mappings":";;;;;;;AAWA;;AAXA;;;;;;;;;AASA;AAIe,MAAMA,SAAN,SAAwBC,qBAAxB,CAAuC;AACpDC,eAAmB;AACjB,WAAO,IAAP;AACD;;AAEDC,SAAOC,CAAP,EAA0B;AACxB,WAAOA,aAAaJ,SAApB;AACD;;AAEDK,YAAkB;AAChB,WAAO,gBAAP;AACD;;AAEDC,iBAAwB;AACtB,WAAO,IAAP;AACD;;AAEDC,oBAA0B;AACxB,WAAO,MAAP;AACD;;AAnBmD","sourcesContent":["/**\n * Copyright (c) 2017-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n/* @flow strict-local */\n\nimport { PrimitiveValue, Value } from \"./index.js\";\n\nexport default class NullValue extends PrimitiveValue {\n _serialize(): null {\n return null;\n }\n\n equals(x: Value): boolean {\n return x instanceof NullValue;\n }\n\n getHash(): number {\n return 5613143836447527;\n }\n\n mightBeFalse(): boolean {\n return true;\n }\n\n toDisplayString(): string {\n return \"null\";\n }\n}\n"],"file":"NullValue.js"}
\No newline at end of file