MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / map

Method map

src/main/java/wyil/util/Subtyping.java:515–515  ·  view source on GitHub ↗

Apply a given function to all rows of the typing matrix producing a potentially updated set of typing constraints. As part of this process, rows may be invalidated if they fail to meet some criteria. @param fn The mapping function which is applied to each row. This returns either an updat

(Function<Subtyping.Constraints, Subtyping.Constraints> fn)

Source from the content-addressed store, hash-verified

513 * @return
514 */
515 public Set map(Function<Subtyping.Constraints, Subtyping.Constraints> fn);
516
517 /**
518 * Project each row of the typing matrix into zero or more rows, thus producing

Callers 15

getTypeMethod · 0.65
executeInitialiserMethod · 0.65
visitAssignMethod · 0.65
pushExpressionMethod · 0.65
pushExpressionsMethod · 0.65
pushArrayLengthMethod · 0.65
pushBitwiseOperatorMethod · 0.65
pushBitwiseShiftMethod · 0.65
pushCastMethod · 0.65
pushConstantMethod · 0.65
pushEqualityOperatorMethod · 0.65

Implementers 1

AbstractConstraintsSetsrc/main/java/wyil/util/IncrementalSub

Calls

no outgoing calls

Tested by 1

applyMethod · 0.52