Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ternjs/tern
/ infer.js
File
infer.js
lib/infer.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Main type inference engine
2
3
// Walks an AST, building up a graph of abstract values and constraints
4
// that cause types to flow from one node to another. Also defines a
Callers
nothing calls this directly
Calls
15
extend
Function · 0.85
withWorklist
Function · 0.85
add
Function · 0.85
ignoredProp
Function · 0.85
canonicalType
Function · 0.85
objsWithProp
Function · 0.85
similarType
Function · 0.85
maybeIterator
Function · 0.85
isInteger
Function · 0.85
registerProp
Function · 0.85
h
Function · 0.85
c
Function · 0.85
Tested by
no test coverage detected