LLVM 17.0.0git
Public Member Functions | List of all members
llvm::TGLocalVarScope Class Reference

#include "TableGen/TGParser.h"

Public Member Functions

 TGLocalVarScope ()=default
 
 TGLocalVarScope (std::unique_ptr< TGLocalVarScope > parent)
 
std::unique_ptr< TGLocalVarScopeextractParent ()
 
InitgetVar (StringRef Name) const
 
bool varAlreadyDefined (StringRef Name) const
 
void addVar (StringRef Name, Init *I)
 

Detailed Description

Definition at line 80 of file TGParser.h.

Constructor & Destructor Documentation

◆ TGLocalVarScope() [1/2]

llvm::TGLocalVarScope::TGLocalVarScope ( )
default

◆ TGLocalVarScope() [2/2]

llvm::TGLocalVarScope::TGLocalVarScope ( std::unique_ptr< TGLocalVarScope parent)
inline

Definition at line 87 of file TGParser.h.

Member Function Documentation

◆ addVar()

void llvm::TGLocalVarScope::addVar ( StringRef  Name,
Init I 
)
inline

Definition at line 113 of file TGParser.h.

References assert(), I, and Name.

◆ extractParent()

std::unique_ptr< TGLocalVarScope > llvm::TGLocalVarScope::extractParent ( )
inline

Definition at line 90 of file TGParser.h.

◆ getVar()

Init * llvm::TGLocalVarScope::getVar ( StringRef  Name) const
inline

Definition at line 96 of file TGParser.h.

References Name.

◆ varAlreadyDefined()

bool llvm::TGLocalVarScope::varAlreadyDefined ( StringRef  Name) const
inline

Definition at line 105 of file TGParser.h.

References Name.


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