LLVM  15.0.0git
Classes | Public Member Functions | List of all members
llvm::internal::NfaTranscriber Class Reference

The internal class that maintains all possible paths through an NFA based on a path through the DFA. More...

#include "llvm/Support/Automaton.h"

Public Member Functions

 NfaTranscriber (ArrayRef< NfaStatePair > TransitionInfo)
 
ArrayRef< NfaStatePairgetTransitionInfo () const
 
void reset ()
 
void transition (unsigned TransitionInfoIdx)
 
ArrayRef< NfaPathgetPaths ()
 

Detailed Description

The internal class that maintains all possible paths through an NFA based on a path through the DFA.

Definition at line 60 of file Automaton.h.

Constructor & Destructor Documentation

◆ NfaTranscriber()

llvm::internal::NfaTranscriber::NfaTranscriber ( ArrayRef< NfaStatePair TransitionInfo)
inline

Definition at line 115 of file Automaton.h.

References reset().

Member Function Documentation

◆ getPaths()

ArrayRef<NfaPath> llvm::internal::NfaTranscriber::getPaths ( )
inline

Definition at line 141 of file Automaton.h.

References llvm::SmallVectorImpl< T >::clear(), move, P, and llvm::reverse().

◆ getTransitionInfo()

ArrayRef<NfaStatePair> llvm::internal::NfaTranscriber::getTransitionInfo ( ) const
inline

Definition at line 120 of file Automaton.h.

◆ reset()

void llvm::internal::NfaTranscriber::reset ( )
inline

Definition at line 124 of file Automaton.h.

References Allocator, and llvm::SmallVectorImpl< T >::clear().

Referenced by NfaTranscriber().

◆ transition()

void llvm::internal::NfaTranscriber::transition ( unsigned  TransitionInfoIdx)
inline

Definition at line 132 of file Automaton.h.


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