ILGPU  0.9.0
ILGPU.IR.Analyses.TraversalOrders.TraversalCollectionVisitor< TCollection > Struct Template Reference

A generic collection visitor. More...

Inheritance diagram for ILGPU.IR.Analyses.TraversalOrders.TraversalCollectionVisitor< TCollection >:
ILGPU.IR.Analyses.TraversalOrders.ITraversalVisitor

Public Member Functions

 TraversalCollectionVisitor (TCollection collection)
 Constructs a new collection visitor. More...
 
readonly void Visit (BasicBlock block)
 Adds the given block to the target collection. More...
 

Properties

TCollection Collection [get]
 Returns the target collection to add the elements to. More...
 

Detailed Description

A generic collection visitor.

Template Parameters
TCollection
Type Constraints
TCollection :ICollection<BasicBlock> 

Constructor & Destructor Documentation

Constructs a new collection visitor.

Parameters
collectionThe target collection.

Member Function Documentation

readonly void ILGPU.IR.Analyses.TraversalOrders.TraversalCollectionVisitor< TCollection >.Visit ( BasicBlock  block)

Adds the given block to the target collection.

Parameters
blockThe block to add.

Implements ILGPU.IR.Analyses.TraversalOrders.ITraversalVisitor.

Property Documentation

TCollection ILGPU.IR.Analyses.TraversalOrders.TraversalCollectionVisitor< TCollection >.Collection
get

Returns the target collection to add the elements to.


The documentation for this struct was generated from the following file: