(node)
| 50 | } |
| 51 | |
| 52 | function isDefinePropertyCall(node) { |
| 53 | return node.callee.type == "MemberExpression" && |
| 54 | node.callee.object.name == "Object" && |
| 55 | node.callee.property.name == "defineProperty" && |
| 56 | node.arguments.length >= 3 && |
| 57 | typeof node.arguments[1].value == "string"; |
| 58 | } |
| 59 | |
| 60 | function postInfer(ast, scope) { |
| 61 | jsdocParseTypedefs(ast.sourceFile.text, scope); |