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

Method project

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

Project each row of the typing matrix into zero or more rows, thus producing a potentially updated constraint set. As part of this process, rows may be added or removed based on various criteria. @param fn The mapping function which is applied to each row. This returns zero or more update

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

Source from the content-addressed store, hash-verified

525 * @return
526 */
527 public Set project(Function<Subtyping.Constraints, Subtyping.Constraints[]> fn);
528
529 /**
530 * Apply a function to each row of the typing matrix, producing an array of

Callers 15

getTypeMethod · 0.65
getTypeMethod · 0.65
getTypeMethod · 0.65
getTypeMethod · 0.65
pushArrayInitialiserMethod · 0.65
pushArrayGeneratorMethod · 0.65
pushArrayUpdateMethod · 0.65
pushInvokeMethod · 0.65
pushLambdaAccessMethod · 0.65
pushLambdaDeclarationMethod · 0.65
pushNewMethod · 0.65
pushRecordInitialiserMethod · 0.65

Implementers 1

AbstractConstraintsSetsrc/main/java/wyil/util/IncrementalSub

Calls

no outgoing calls

Tested by

no test coverage detected