skypager-project
Version:
skypager project framework
1,996 lines (1,974 loc) • 101 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmory imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 139);
/******/ })
/************************************************************************/
/******/ ({
/***/ 139:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(48);
/***/ },
/***/ 48:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/src/entity.js",
"ast": {
"type": "File",
"start": 0,
"end": 558,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 23,
"column": 27
}
},
"program": {
"type": "Program",
"start": 0,
"end": 558,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 23,
"column": 27
}
},
"sourceType": "module",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "Object"
},
"property": {
"type": "Identifier",
"name": "defineProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"name": "exports"
},
{
"type": "StringLiteral",
"extra": {
"rawValue": "__esModule",
"raw": "\"__esModule\""
},
"value": "__esModule"
},
{
"type": "ObjectExpression",
"properties": [
{
"type": "ObjectProperty",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "value"
},
"value": {
"type": "BooleanLiteral",
"value": true
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "exports"
},
"property": {
"type": "Identifier",
"name": "createEntity",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "Identifier",
"name": "undefined",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_assign"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "babel-runtime/core-js/object/assign",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_assign2"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_assign"
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_properties"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "skypager-util/lib/properties",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 65
}
}
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_lodash"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "lodash",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
],
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_lodash2"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_lodash"
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_object"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "lodash/object",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
],
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 31
}
}
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_object2"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_object"
}
]
}
}
]
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"name": "obj"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"left": {
"type": "Identifier",
"name": "obj"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "obj"
},
"property": {
"type": "Identifier",
"name": "__esModule"
},
"computed": false
}
},
"consequent": {
"type": "Identifier",
"name": "obj"
},
"alternate": {
"type": "ObjectExpression",
"properties": [
{
"type": "ObjectProperty",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "default"
},
"value": {
"type": "Identifier",
"name": "obj"
}
}
]
}
}
}
],
"directives": []
},
"extra": {
"parenthesized": true,
"parenStart": 3
}
},
{
"type": "VariableDeclaration",
"start": 127,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 8,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 133,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 8,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 133,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 13
},
"identifierName": "bindObj"
},
"name": "bindObj"
},
"init": {
"type": "FunctionExpression",
"start": 143,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 8,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 133,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 13
},
"identifierName": "bindObj"
},
"name": "bindObj"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 144,
"end": 147,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "src"
},
"name": "src"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"start": 152,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 8,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 152,
"end": 194,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 8,
"column": 6
}
},
"object": {
"type": "CallExpression",
"start": 152,
"end": 187,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 7,
"column": 14
}
},
"callee": {
"type": "MemberExpression",
"start": 152,
"end": 185,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 7,
"column": 12
}
},
"object": {
"type": "CallExpression",
"start": 152,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 6,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 152,
"end": 167,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 6,
"column": 8
}
},
"object": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_lodash2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"start": 162,
"end": 167,
"loc": {
"start": {
"line": 6,
"column": 3
},
"end": {
"line": 6,
"column": 8
},
"identifierName": "chain"
},
"name": "chain"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_object2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
},
"property": {
"type": "Identifier",
"start": 176,
"end": 185,
"loc": {
"start": {
"line": 7,
"column": 3
},
"end": {
"line": 7,
"column": 12
},
"identifierName": "functions"
},
"name": "functions"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 191,
"end": 194,
"loc": {
"start": {
"line": 8,
"column": 3
},
"end": {
"line": 8,
"column": 6
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 195,
"end": 227,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 39
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
},
"identifierName": "n"
},
"name": "n"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"start": 200,
"end": 227,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 200,
"end": 214,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_lodash2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"start": 207,
"end": 214,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 26
},
"identifierName": "partial"
},
"name": "partial"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 215,
"end": 221,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_object2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"start": 219,
"end": 220,
"loc": {
"start": {
"line": 8,
"column": 31
},
"end": {
"line": 8,
"column": 32
},
"identifierName": "n"
},
"name": "n"
},
"computed": true
},
{
"type": "Identifier",
"start": 223,
"end": 226,
"loc": {
"start": {
"line": 8,
"column": 35
},
"end": {
"line": 8,
"column": 38
},
"identifierName": "src"
},
"name": "src"
}
]
}
}
],
"directives": []
},
"shadow": true
}
]
}
}
],
"directives": []
},
"shadow": true
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 237,
"end": 529,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 21,
"column": 1
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 243,
"end": 529,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 21,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 243,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 25
},
"identifierName": "createEntity"
},
"name": "createEntity",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"init": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "exports"
},
"property": {
"type": "Identifier",
"start": 243,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 25
},
"identifierName": "createEntity"
},
"name": "createEntity",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 258,
"end": 529,
"loc": {
"start": {
"line": 10,
"column": 28
},
"end": {
"line": 21,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 243,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 25
},
"identifierName": "createEntity"
},
"name": "createEntity",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 275,
"end": 529,
"loc": {
"start": {
"line": 10,
"column": 45
},
"end": {
"line": 21,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"start": 259,
"end": 265,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 35
},
"identifierName": "object"
},
"name": "object",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"left": {
"type": "BinaryExpression",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"value": 0,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "NumericLiteral",
"value": 0,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": true
},
"operator": "!==",
"right": {
"type": "Identifier",
"name": "undefined"
}
}
},
"consequent": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "NumericLiteral",
"value": 0,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": true
},
"alternate": {
"type": "ObjectExpression",
"start": 268,
"end": 270,
"loc": {
"start": {
"line": 10,
"column": 38
},
"end": {
"line": 10,
"column": 40
}
},
"properties": [],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 279,
"end": 405,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 15,
"column": 4
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 285,
"end": 405,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 15,
"column": 4
}
},
"id": {
"type": "Identifier",
"start": 285,
"end": 293,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "instance"
},
"name": "instance"
},
"init": {
"type": "CallExpression",
"start": 296,
"end": 405,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 15,
"column": 4
}
},
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_assign2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "ObjectExpression",
"start": 310,
"end": 312,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 35
}
},
"properties": []
},
{
"type": "Identifier",
"start": 314,
"end": 320,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 43
},
"identifierName": "object"
},
"name": "object"
},
{
"type": "CallExpression",
"start": 322,
"end": 337,
"loc": {
"start": {
"line": 11,
"column": 45
},
"end": {
"line": 11,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 322,
"end": 329,
"loc": {
"start": {
"line": 11,
"column": 45
},
"end": {
"line": 11,
"column": 52
},
"identifierName": "bindObj"
},
"name": "bindObj"
},
"arguments": [
{
"type": "Identifier",
"start": 330,
"end": 336,
"loc": {
"start": {
"line": 11,
"column": 53
},
"end": {
"line": 11,
"column": 59
},
"identifierName": "object"
},
"name": "object"
}
]
},
{
"type": "ObjectExpression",
"start": 339,
"end": 404,
"loc": {
"start": {
"line": 11,
"column": 62
},
"end": {
"line": 15,
"column": 3
}
},
"properties": [
{
"type": "ObjectMethod",
"start": 345,
"end": 400,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 349,
"end": 354,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 13
},
"identifierName": "chain"
},
"name": "chain"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 357,
"end": 400,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 14,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 365,
"end": 394,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 35
}
},
"argument": {
"type": "CallExpression",
"start": 372,
"end": 394,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 372,
"end": 384,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_lodash2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"start": 379,
"end": 384,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 25
},
"identifierName": "chain"
},
"name": "chain"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 385,
"end": 393,
"loc": {
"start": {
"line": 13,
"column": 26
},
"end": {
"line": 13,
"column": 34
},
"identifierName": "instance"
},
"name": "instance"
}
]
}
}
],
"directives": []
}
}
]
}
],
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " don't include the lodash methods since we do it manually",
"start": 409,
"end": 468,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 61
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 471,
"end": 506,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 471,
"end": 506,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 37
}
},
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_properties"
},
"property": {
"type": "Identifier",
"start": 9,
"end": 27,
"name": "mixinPropertyUtils"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "Identifier",
"start": 490,
"end": 498,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "instance"
},
"name": "instance"
},
{
"type": "BooleanLiteral",
"start": 500,
"end": 505,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 36
}
},
"value": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " don't include the lodash methods since we do it manually",
"start": 409,
"end": 468,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 61
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 512,
"end": 527,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 17
}
},
"argument": {
"type": "Identifier",
"start": 519,
"end": 527,
"loc": {
"start": {
"line": 20,
"column": 9
},
"end": {
"line": 20,
"column": 17
},
"identifierName": "instance"
},
"name": "instance"
}
}
],
"directives": []
},
"shadow": true
},
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
],
"kind": "var",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "exports"
},
"property": {
"type": "Identifier",
"name": "default",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 546,
"end": 558,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 27
},
"identifierName": "createEntity"
},
"name": "createEntity",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
},
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
],
"directives": [
{
"type": "Directive",
"value": {
"type": "DirectiveLiteral",
"value": "use strict"
}
}
]
},
"comments": [
{
"type": "CommentLine",
"value": " don't include the lodash methods since we do it manually",
"start": 409,
"end": 468,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 61
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mixinPropertyUtils",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 28,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 30,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "skypager-util/lib/properties",
"start": 35,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 65
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 66,
"end": 72,