CIRCT  19.0.0git
Public Member Functions | Public Attributes | List of all members
circt::firrtl::TokenAnnoTarget Struct Reference

The parsed annotation path. More...

#include <FIRRTLAnnotationHelper.h>

Collaboration diagram for circt::firrtl::TokenAnnoTarget:
Collaboration graph

Public Member Functions

void toVector (SmallVectorImpl< char > &out) const
 Append the annotation path to the given SmallString or SmallVector. More...
std::string str () const
 Convert the annotation path to a string. More...

Public Attributes

StringRef circuit
SmallVector< std::pair< StringRef, StringRef > > instances
StringRef module
StringRef name
SmallVector< TargetTokencomponent

Detailed Description

The parsed annotation path.

Definition at line 33 of file FIRRTLAnnotationHelper.h.

Member Function Documentation

◆ str()

std::string circt::firrtl::TokenAnnoTarget::str ( ) const

Convert the annotation path to a string.

Definition at line 46 of file FIRRTLAnnotationHelper.h.

References toVector().

Referenced by circt::firrtl::resolveEntities().

◆ toVector()

void TokenAnnoTarget::toVector ( SmallVectorImpl< char > &  out) const

Append the annotation path to the given SmallString or SmallVector.

Definition at line 117 of file FIRRTLAnnotationHelper.cpp.

Referenced by str().

Member Data Documentation

◆ circuit

StringRef circt::firrtl::TokenAnnoTarget::circuit

◆ component

SmallVector<TargetToken> circt::firrtl::TokenAnnoTarget::component

◆ instances

SmallVector<std::pair<StringRef, StringRef> > circt::firrtl::TokenAnnoTarget::instances

◆ module

StringRef circt::firrtl::TokenAnnoTarget::module

◆ name

StringRef circt::firrtl::TokenAnnoTarget::name

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