()
| 101 | } |
| 102 | |
| 103 | func (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. |
no outgoing calls
no test coverage detected