Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [~/repos/atom-ternjs] axel $ grep -rnw . -e 'getProp'
- [~/repos/tern] axel $ grep -rnw . -e 'getProp'
- ./doc/manual.html:1600:<a id="infer.Type.getProp"></a><code>type.getProp(prop: string) → AVal</code>
- ./doc/manual.txt:988:[[infer.Type.getProp]]`type.getProp(prop: string) → AVal`:: Get an
- ./lib/tern.js:483: var prop = inObject.type.getProp(inObject.prop);
- ./lib/condense.js:136: reachByName(this.getProp(String(i)), path, String(i), state);
- ./lib/condense.js:138: reachByName(this.getProp("<i>"), path, "<i>", state);
- ./lib/condense.js:252: if (!this.tuple) return "[" + typeName(this.getProp("<i>")) + "]";
- ./lib/condense.js:255: content.push(typeName(this.getProp(String(i))));
- ./lib/def.js:42: return type.getProp(prop);
- ./lib/def.js:404: var propVal = base.getProp(prop);
- ./lib/def.js:598: tp.getProp("value").propagate(this.target);
- ./lib/def.js:600: tp.getProp("get").propagate(new infer.IsCallee(infer.ANull, [], null, this.target));
- ./lib/def.js:651: var content = arr.getProp("<i>");
- ./lib/def.js:693: tp.getProp(":t").propagate(this.output);
- ./lib/def.js:709: ty.getProp(":t").propagate(value, WG_PROMISE_KEEP_VALUE);
- ./lib/infer.js:37: getProp: function() { return ANull; },
- ./lib/infer.js:99: getProp: function(prop) {
- ./lib/infer.js:235: var innerA = a.getProp("<i>").getType(false);
- ./lib/infer.js:237: var innerB = b.getProp("<i>").getType(false);
- ./lib/infer.js:296: score = tp.getProp("<i>").isEmpty() ? 1 : 2;
- ./lib/infer.js:326: if (type.getProp)
- ./lib/infer.js:327: type.getProp(this.prop).propagate(this.target, weight);
- ./lib/infer.js:416: obj.getProp(this.propName).propagate(callee, weight);
- ./lib/infer.js:428: f.getProp("prototype").propagate(new IsProto(this.noReuse ? false : f, this.target), weight);
- ./lib/infer.js:540: getProp: function(prop) {return this.proto.hasProp(prop) || ANull;},
- ./lib/infer.js:612: getProp: function(prop) {
- ./lib/infer.js:640: this.proto.getProp(prop).propagate(maybe);
- ./lib/infer.js:730: getProp: function(prop) {
- ./lib/infer.js:741: return Obj.prototype.getProp.call(this, prop);
- ./lib/infer.js:782: var type = toString(this.getProp(String(i)), maxDepth - 1, this);
- ./lib/infer.js:793: content = toString(this.getProp("<i>"), maxDepth - 1, this);
- ./lib/infer.js:1032: target = asArray = targetInner.getProp("<i>");
- ./lib/infer.js:1271: connectPattern(prop.value, scope, source.getProp(propName(prop)));
- ./lib/infer.js:1277: connectPattern(node.elements[i], scope, source.getProp(String(i)));
- ./lib/infer.js:1296: obj.propertyOf.getProp(obj.propertyName).addType(new Obj, WG_PHANTOM_OBJ);
- ./lib/infer.js:1310: if (supCtor && (supProto = supCtor.getProp("prototype").getObjType())) {
- ./lib/infer.js:1314: delayed = supVal.getProp("prototype");
- ./lib/infer.js:1453: if (node.id) inner.getProp(node.id.name).addType(fn);
- ./lib/infer.js:1583: tp.getProp(":t").propagate(out);
- ./lib/infer.js:1599: infer(node.object, scope).getProp(name).propagate(out, wg);
- ./lib/infer.js:1608: return scope.getProp(node.name);
- ./lib/infer.js:1673: if (node.id) scope.getProp(node.id.name).addType(fn);
- ./lib/infer.js:1688: var prop = scope.getProp(decl.id.name);
- ./lib/infer.js:1699: else scope.getProp(node.id.name).addType(inferClass(node, scope, node.id.name));
- ./lib/infer.js:1720: scope.getProp(pattern.name).iteratesOver = source;
- ./lib/infer.js:1721: source.getProp("<i>").propagate(ensureVar(pattern, scope));
- ./lib/infer.js:1723: connectPattern(pattern, scope, source.getProp("<i>"));
- ./lib/infer.js:1853: var val = found[i].getProp(name);
- ./lib/infer.js:1952: var proto = f && f.getProp("prototype").getObjType();
- ./lib/infer.js:1961: if (obj) return obj.getProp(propN);
- ./lib/infer.js:1967: if (obj) return obj.getProp(propN);
- ./lib/infer.js:2095: ArrayExpression: function(parent, _, get) { return get(parent, true).getProp("<i>"); },
- ./lib/infer.js:2100: return get(parent, true).getProp(propName(prop));
- ./plugin/doc_comment.js:68: scope.getProp(node.declarations[0].id.name));
- ./plugin/doc_comment.js:73: scope.getProp(node.id.name),
- ./plugin/doc_comment.js:79: scope.getProp(node.id.name),
- ./plugin/doc_comment.js:93: interpretComments(prop, prop.commentsBefore, scope, node.objType.getProp(name));
- ./plugin/doc_comment.js:97: var proto = node.objType.getProp("prototype").getObjType();
- ./plugin/doc_comment.js:105: interpretComments(method, method.commentsBefore, scope, proto.getProp(name));
- ./plugin/doc_comment.js:120: scope.getProp(node.declaration.id.name),
- ./plugin/doc_comment.js:127: scope.getProp(node.declaration.id.name),
- ./plugin/doc_comment.js:371: var proto = type.getProp("prototype").getObjType();
- ./plugin/doc_comment.js:447: parsed.type.propagate(value.type.getProp("<i>").getType().defProp(argname));
- ./plugin/doc_comment.js:516: var proto = fn.getProp("prototype").getObjType();
- ./plugin/modules.js:137: type = obj && obj.hasProp(prop) || type.getProp(prop);
- ./plugin/commonjs.js:15: var module = new infer.Obj(defs.Module.getProp("prototype").getType());
- ./plugin/angular.js:51: if (service.hasProp(name)) return service.getProp(name);
- ./plugin/angular.js:135: return ngDefs && ngDefs.Module.getProp("prototype").getType();
- ./plugin/es_modules.js:32: var aval = file.scope.getProp(spec.local.name);
- ./plugin/es_modules.js:36: input.getProp("default").propagate(aval);
- ./plugin/es_modules.js:39: input.getProp(spec.imported.name).propagate(aval);
- ./plugin/es_modules.js:60: exp(cur.id.name, file.scope.getProp(cur.id.name), cur.id);
- ./plugin/es_modules.js:63: exp(decl.id.name, file.scope.getProp(decl.id.name), decl.id);
- ./plugin/es_modules.js:70: exp(spec.exported.name, src.getProp(spec.local.name), spec.local);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement