clang 20.0.0git
Static Public Member Functions | List of all members
clang::syntax::FactoryImpl Class Reference

Exposes private syntax tree APIs required to implement node synthesis. More...

Static Public Member Functions

static void setCanModify (syntax::Node *N)
 
static void prependChildLowLevel (syntax::Tree *T, syntax::Node *Child, syntax::NodeRole R)
 
static void appendChildLowLevel (syntax::Tree *T, syntax::Node *Child, syntax::NodeRole R)
 
static std::pair< FileID, ArrayRef< Token > > lexBuffer (TokenBufferTokenManager &TBTM, std::unique_ptr< llvm::MemoryBuffer > Buffer)
 

Detailed Description

Exposes private syntax tree APIs required to implement node synthesis.

Should not be used for anything else.

Definition at line 18 of file Synthesis.cpp.

Member Function Documentation

◆ appendChildLowLevel()

static void clang::syntax::FactoryImpl::appendChildLowLevel ( syntax::Tree T,
syntax::Node Child,
syntax::NodeRole  R 
)
inlinestatic

Definition at line 26 of file Synthesis.cpp.

References clang::T.

◆ lexBuffer()

static std::pair< FileID, ArrayRef< Token > > clang::syntax::FactoryImpl::lexBuffer ( TokenBufferTokenManager TBTM,
std::unique_ptr< llvm::MemoryBuffer >  Buffer 
)
inlinestatic

Definition at line 32 of file Synthesis.cpp.

◆ prependChildLowLevel()

static void clang::syntax::FactoryImpl::prependChildLowLevel ( syntax::Tree T,
syntax::Node Child,
syntax::NodeRole  R 
)
inlinestatic

Definition at line 22 of file Synthesis.cpp.

References clang::T.

◆ setCanModify()

static void clang::syntax::FactoryImpl::setCanModify ( syntax::Node N)
inlinestatic

Definition at line 20 of file Synthesis.cpp.

Referenced by clang::syntax::createLeaf().


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