LLVM: lib/Support/Mustache.cpp File Reference (original) (raw)

Go to the source code of this file.

Classes
class llvm::mustache::MustacheOutputStream
class llvm::mustache::RawMustacheOutputStream
class llvm::mustache::Token
class llvm::mustache::ASTNode
struct llvm::mustache::Tag
class llvm::mustache::EscapeStringStream
class llvm::mustache::AddIndentationStringStream
class llvm::mustache::Parser
Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
namespace llvm::mustache
Macros
#define DEBUG_TYPE "mustache"
Functions
static AstPtr llvm::mustache::createRootNode (MustacheContext &Ctx)
static AstPtr llvm::mustache::createNode (MustacheContext &Ctx, ASTNode::Type T, ArrayRef< StringRef > A, ASTNode *Parent)
static AstPtr llvm::mustache::createTextNode (MustacheContext &Ctx, StringRef Body, ASTNode *Parent)
static bool llvm::mustache::hasTextBehind (size_t Idx, const ArrayRef< Token > &Tokens)
static bool llvm::mustache::hasTextAhead (size_t Idx, const ArrayRef< Token > &Tokens)
static bool llvm::mustache::requiresCleanUp (Token::Type T)
static void llvm::mustache::stripTokenAhead (SmallVectorImpl< Token > &Tokens, size_t Idx)
void llvm::mustache::stripTokenBefore (SmallVectorImpl< Token > &Tokens, size_t Idx, Token &CurrentToken, Token::Type CurrentType)
static const char * llvm::mustache::tagKindToString (Tag::Kind K)
static const char * llvm::mustache::jsonKindToString (json::Value::Kind K)
static SmallVector< Token > llvm::mustache::tokenize (StringRef Template, MustacheContext &Ctx)
static void llvm::mustache::toMustacheString (const json::Value &Data, raw_ostream &OS)

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "mustache"