new mmir.parser.TemplateProcessor()
Main implementation for parsing (view) templates.
Exports a function for extending MmirTemplateLexer objects
NOTE this function is imported in templateParseUtils.js and attached to the MmirTemplateLexer class
Members
-
privateconsts
-
shortcut for constant-definitions in parser-module
-
privategetTokenName
-
-
privateisDebug
-
-
privatePARSER_JS_CODE
-
-
privatePARSER_SCRIPT_BLOCK
-
-
privatePARSER_SCRIPT_CONTENT
-
-
privatePARSER_SCRIPT_STATMENT
-
-
parserModuleTemplateParser
-
-
privateSCRIPT_CHANNEL
-
Methods
-
privatecreateJSObjectFrom()
-
-
privatedoEnter()
-
-
privateenterBlock()
-
-
privateenterContent()
-
-
privateenterJavaScript()
-
-
privateenterScript()
-
-
privateextractBoundries()
-
-
privategetBoundries()
-
-
privategetFirstChild()
-
-
privategetLexerFor()
-
-
privategetParserFor()
-
-
privategetStringFor()
-
-
privategetStringForSubTree()
-
-
privateisArray()
-
-
privateprocessBlock()
-
-
privateprocessComment()
-
-
privateprocessDeclareVar()
-
-
privateprocessElse()
-
-
privateprocessEscape()
-
-
privateprocessForContent()
-
-
privateprocessForControl()
-
-
privateprocessHelperFunction()
-
-
privateprocessIfContent()
-
-
privateprocessIfExpr()
-
-
privateprocessIncludeScript()
-
-
privateprocessIncludeStyle()
-
-
privateprocessLocalize()
-
-
privateprocessRenderPartial()
-
-
privateprocessStatement()
-
-
privateprocessYieldContent()
-
-
privateprocessYieldContentParam()
-
-
privateprocessYieldDeclaration()
-