Check if the given-edge type does not include the given type.
As types are bitmasks, you can combine multiple types with a bitwise OR (|).
Counterpart of DfEdge#includesType.
Whether the edge carries any type at all. Counterpart of DfEdge#hasNoType.
Whether the edge carries no type at all. Such an edge states nothing and has to be removed, not kept. Counterpart of DfEdge#hasAnyType.
Check if the given-edge type has any of the given types.
As types are bitmasks, you can combine multiple types with a bitwise OR (|).
edgeIncludesType({ types: EdgeType.Reads }, EdgeType.Reads | EdgeType.DefinedBy) // true
Counterpart of DfEdge#doesNotIncludeType.
Whether the edge carries nothing but control flow, i.e. it exists only because the ControlFlowGraph is a view on the dataflow graph.
Check whether the edge carries the given types and nothing else. Strict counterpart of DfEdge#includesType, which already holds if one of the bits is set.
Readonlyname: "DfEdge"Takes joint edge types and splits them into their individual components.
Takes joint edge types and returns their human-readable names.
Only use this function to retrieve a human-readable name if you know that it is a single bitmask. Otherwise, use DfEdge#typesToNames which handles these cases.
The same edge without the given types, e.g. to look at the dataflow part of an edge on its own.
Helper Functions to work with DfEdge and EdgeType.