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

Method getParent

src/main/java/wycc/util/AbstractItem.java:74–77  ·  view source on GitHub ↗

Get the first syntactic item of a given kind which refers to this item. @param kind @return

(Class<T> kind)

Source from the content-addressed store, hash-verified

72 * @return
73 */
74 @Override
75 public <T extends Item> T getParent(Class<T> kind) {
76 return parent.getParent(this, kind);
77 }
78
79 /**
80 * Get all syntactic items of a given kind which refer to this item.

Callers

nothing calls this directly

Calls 1

getParentMethod · 0.65

Tested by

no test coverage detected