Package net.hydromatic.morel.compile
Class Extents.Extent
java.lang.Object
net.hydromatic.morel.compile.Extents.Extent
- Enclosing class:
Extents
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final SortedMap<Core.NamedPat, Core.Exp> (package private) final Set<Core.NamedPat> private final TypeSystem -
Constructor Summary
ConstructorsConstructorDescriptionExtent(TypeSystem typeSystem, Core.Pat pat, SortedMap<Core.NamedPat, Core.Exp> boundPats) -
Method Summary
Modifier and TypeMethodDescriptionprivate Core.Expprivate void(package private) Extents.ExtentFilter(package private) voidprivate voidg4(com.google.common.collect.Multimap<Core.Pat, Core.Exp> map, BuiltIn builtIn, Core.Exp arg0, Core.Exp arg1) private static booleanReturns whether an expression corresponds exactly to a pattern.
-
Field Details
-
typeSystem
-
goalPats
-
boundPats
-
-
Constructor Details
-
Extent
Extent(TypeSystem typeSystem, Core.Pat pat, SortedMap<Core.NamedPat, Core.Exp> boundPats)
-
-
Method Details
-
g3
-
g4
-
baz
-
extent
-
extent
-
matches
Returns whether an expression corresponds exactly to a pattern. For example "x" matches the pattern "x", and "(z, y)" matches the pattern "(x, y)".
-