FactDev  0.1
Mustache::Tag Struct Reference

#include <mustache.h>

Public Types

enum  Type {
  Null, Value, SectionStart, InvertedSectionStart,
  SectionEnd, Partial, Comment, SetDelimiter
}
 
enum  EscapeMode { Escape, Unescape, Raw }
 

Public Attributes

Type type
 
QString key
 
int start
 
int end
 
EscapeMode escapeMode
 

Detailed Description

Holds properties of a tag in a mustache template.

Member Enumeration Documentation

Enumerator
SectionStart 

A {{key}} or {{{key}}} tag.

InvertedSectionStart 

A {{#section}} tag.

SectionEnd 

An {{^inverted-section}} tag.

Partial 

A {{/section}} tag.

Comment 

A {{^partial}} tag.

SetDelimiter 

A {{! comment }} tag.

A {{=<% %>=}} tag


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