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

Method Get

ast/ast.go:154–154  ·  view source on GitHub ↗

Returns the term the given variable maps to, or nil if the variable is not in domain.

(Variable)

Source from the content-addressed store, hash-verified

152type Subst interface {
153 // Returns the term the given variable maps to, or nil if the variable is not in domain.
154 Get(Variable) BaseTerm
155}
156
157// SubstMap is a substitution backed by a map from variables to constants.

Callers 14

TestUnifyPositiveFunction · 0.65
TestUnifyExtendPositiveFunction · 0.65
resolveBoundWithSubstFunction · 0.65
initMethod · 0.65
CheckRuleMethod · 0.65
ApplySubstBaseMethod · 0.65
TestBasicDataFunction · 0.65
ApplySubstMethod · 0.65
TestExpandFunction · 0.65
DecideFunction · 0.65

Implementers 1

UnionFindunionfind/unionfind.go

Calls

no outgoing calls

Tested by 6

TestUnifyPositiveFunction · 0.52
TestUnifyExtendPositiveFunction · 0.52
TestBasicDataFunction · 0.52
TestExpandFunction · 0.52