MCPcopy
hub / github.com/google/mangle / asMap

Method asMap

analysis/infercontext.go:103–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (s *inferState) asMap() map[ast.Variable]ast.BaseTerm {
104 m := make(map[ast.Variable]ast.BaseTerm, len(s.varTpe))
105 for i, v := range s.usedVars.Vars {
106 m[v] = s.varTpe[i]
107 }
108 return m
109}
110
111// inferRelTypesFromPremise is called for index \in 0..len(premises). It
112// maps one state of inference to its (possibly empty) list of successors.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected