classmustache::MustacheParser

sys::Obj
  mustache::MustacheParser
addBCur

Void addBCur()

addCur

Void addCur()

addECur

Void addECur()

addStaticText

Void addStaticText()

addTCur

Void addTCur()

addTag

Void addTag()

begin

StrBuf begin := StrBuf.<ctor>()

buf

StrBuf buf := StrBuf.<ctor>()

checkContent

Str checkContent(Str content)

consume

Void consume()

ctag

Str ctag := "}}"

cur

Int cur := -1

curlyBraceTag

Bool curlyBraceTag

defaultToken

virtual MustacheToken defaultToken(Str content, Bool afterNewLine)

dropStandalone

Void dropStandalone()

end

StrBuf end := StrBuf.<ctor>()

ignore

Void ignore()

in

InStream in

line

Int line := 1

make

new make(|This? f := null)

maybeOtag

Bool maybeOtag()

notCtag

Void notCtag()

notEnd

Void notEnd()

notOtag

Void notOtag()

otag

Str otag := "{{"

parse

MustacheToken parse()

partialToken

virtual MustacheToken partialToken(Str content, Str indentStr)

Int prev := -1

shift

Void shift(State newState)

shiftOTag

Void shiftOTag()

shiftTag

Void shiftTag()

stack

MustacheToken[] stack := MustacheToken[,]

standalone

Bool standalone := true

state

State state := State.text

tagPosition

Int tagPosition := 0

tagbuf

StrBuf tagbuf := StrBuf.<ctor>()

unescapedToken

virtual MustacheToken unescapedToken(Str content, Bool afterNewLine)