LLVM: llvm::mustache::Token Class Reference (original) (raw)

Public Types
enum class Type { Text, Variable, Partial, SectionOpen, SectionClose, InvertSectionOpen, UnescapeVariable, Comment, SetDelimiter }
Public Member Functions
Token (StringRef Str)
Token (StringRef RawBody, StringRef TokenBody, char Identifier, MustacheContext &Ctx)
ArrayRef< StringRef > getAccessor () const
Type getType () const
void setIndentation (size_t NewIndentation)
size_t getIndentation () const
Static Public Member Functions
static Type getTokenType (char Identifier)
Public Attributes
Type TokenType
StringRef RawBody
StringRef TokenBody
ArrayRef< StringRef > AccessorValue
size_t Indentation

Definition at line 113 of file Mustache.cpp.

Type

Enumerator
Text
Variable
Partial
SectionOpen
SectionClose
InvertSectionOpen
UnescapeVariable
Comment
SetDelimiter

Definition at line 115 of file Mustache.cpp.

Token() [1/2]

llvm::mustache::Token::Token ( StringRef Str) inline

Token() [2/2]

getAccessor()

getIndentation()

size_t llvm::mustache::Token::getIndentation ( ) const inline

getTokenType()

Type llvm::mustache::Token::getTokenType ( char Identifier) inlinestatic

getType()

Type llvm::mustache::Token::getType ( ) const inline

setIndentation()

void llvm::mustache::Token::setIndentation ( size_t NewIndentation) inline

AccessorValue

Indentation

size_t llvm::mustache::Token::Indentation

RawBody

TokenBody

TokenType

Type llvm::mustache::Token::TokenType


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