clang 22.0.0git
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()

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.

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

◆ lexBuffer()

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.

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

◆ prependChildLowLevel()

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()

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

Definition at line 20 of file Synthesis.cpp.

Referenced by clang::syntax::createLeaf(), and clang::syntax::createTree().


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