Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ infer.js
File
infer.js
lib/web/tern/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
withWorklist
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
addVar
Function · 0.85
patternScopes
Function · 0.85
patternName
Function · 0.85
functionScope
Function · 0.85
Tested by
no test coverage detected