P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::Coverage::CollectNodes Class Reference
Inheritance diagram for P4::Coverage::CollectNodes:

Public Member Functions

 CollectNodes (CoverageOptions coverageOptions)
 
const CoverageSetgetCoverableNodes ()
 

Detailed Description

CollectNodes iterates across selected nodes in the P4 program and collects them in a "CoverageSet". The nodes to collect are specified as options to the collector.

Member Function Documentation

◆ getCoverableNodes()

const CoverageSet & P4::Coverage::CollectNodes::getCoverableNodes ( )
Returns
the set of coverable nodes in the program.