Class Index | File Index

Classes


Namespace mmir.parser.TemplateProcessor


Defined in: templateProcessor.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Main implementation for parsing (view) templates.
Field Summary
Field Attributes Field Name and Description
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
<private>  
Method Summary
Method Attributes Method Name and Description
<private>  
createJSObjectFrom(parseElement, parentObject, parser)
<private>  
doEnter(parserType, self, currentChannel, entryFunc, processFunc, parseResultObject, msg)
<private>  
enterBlock(currentChannel, entryFunc, processFunc, msg, parseResultObject)
<private>  
enterContent(currentChannel, entryFunc, processFunc, msg, parseResultObject)
<private>  
enterJavaScript(currentChannel, entryFunc, processFunc, msg, parseResultObject)
<private>  
enterScript(currentChannel, entryFunc, processFunc, msg, parseResultObject)
<private>  
extractBoundries(subTree, buffer)
<private>  
getBoundries(treeNode)
<private>  
getFirstChild(treeNode, strChildType, parser)
<private>  
getLexerFor(self, parserType, input)
<private>  
getParserFor(self, parserType, tokens)
<private>  
getStringFor(boundriesObj, tokens, offset)
<private>  
getStringForSubTree(treeNode, tokens, offset)
<private>  
<private>  
processBlock(parsingObj, result, tokens)
<private>  
<private>  
processDeclareVar(parsingObj, result, tokens, parser)
<private>  
processElse(parsingObj, result, tokens)
<private>  
processEscape(replacementText, msg)
<private>  
processForContent(parsingObj, result, tokens)
<private>  
processForControl(parsingObj, result, tokens, parser)
<private>  
processHelperFunction(parsingObj, result, tokens, parser)
<private>  
processIfContent(parsingObj, result, tokens)
<private>  
processIfExpr(parsingObj, result, tokens, parser)
<private>  
processIncludeScript(parsingObj, result, tokens, parser)
<private>  
processIncludeStyle(parsingObj, result, tokens, parser)
<private>  
processLocalize(parsingObj, result, tokens, parser)
<private>  
processRenderPartial(parsingObj, result, tokens, parser)
<private>  
processStatement(parsingObj, result, tokens)
<private>  
processYieldContent(parsingObj, result, tokens)
<private>  
processYieldContentParam(parsingObj, result, tokens, parser)
<private>  
processYieldDeclaration(parsingObj, result, tokens, parser)
Namespace Detail
mmir.parser.TemplateProcessor
Main implementation for parsing (view) templates.
Field Detail
<private> getTokenName

<private> {Number} IF_TYPE

<private> {Number} INTERNAL_BLOCK

<private> {Number} INTERNAL_COMMENT

<private> {Number} INTERNAL_ELSE

<private> {Number} INTERNAL_ESCAPE_ENTER

<private> {Number} INTERNAL_ESCAPE_EXIT

<private> {Number} INTERNAL_FOR

<private> {Number} INTERNAL_FOR_TYPE_ITER

<private> {Number} INTERNAL_FOR_TYPE_STEP

<private> {Number} INTERNAL_HELPER

<private> {Number} INTERNAL_IF

<private> {Number} INTERNAL_INCLUDE_SCRIPT

<private> {Number} INTERNAL_INCLUDE_STYLE

<private> {Number} INTERNAL_LOCALIZE

<private> {Number} INTERNAL_RENDER

<private> {Number} INTERNAL_STATEMENT

<private> {Number} INTERNAL_VAR_DECLARATION

<private> {Number} INTERNAL_VAR_REFERENCE

<private> {Number} INTERNAL_YIELD_CONTENT

<private> {Number} INTERNAL_YIELD_DECLARATION

<private> isDebug

<private> PARSER_JS_CODE

<private> PARSER_SCRIPT_BLOCK

<private> PARSER_SCRIPT_CONTENT

<private> PARSER_SCRIPT_STATMENT

<private> SCRIPT_CHANNEL

<private> theLexerInstance.comments

<private> theLexerInstance.escape

<private> theLexerInstance.fors

<private> theLexerInstance.helpers

<private> theLexerInstance.ifs

<private> theLexerInstance.includeScripts

<private> theLexerInstance.includeStyles

<private> theLexerInstance.lastParsedElement

<private> theLexerInstance.locales

<private> theLexerInstance.renderPartials

<private> theLexerInstance.scriptBlocks

<private> theLexerInstance.scriptStatements

<private> theLexerInstance.vars

<private> theLexerInstance.yieldContents

<private> theLexerInstance.yields
Method Detail
<private> createJSObjectFrom(parseElement, parentObject, parser)
Parameters:
parseElement
parentObject
parser

<private> doEnter(parserType, self, currentChannel, entryFunc, processFunc, parseResultObject, msg)
Parameters:
parserType
self
currentChannel
entryFunc
processFunc
parseResultObject
msg

<private> enterBlock(currentChannel, entryFunc, processFunc, msg, parseResultObject)
Parameters:
currentChannel
entryFunc
processFunc
msg
parseResultObject

<private> enterContent(currentChannel, entryFunc, processFunc, msg, parseResultObject)
Parameters:
currentChannel
entryFunc
processFunc
msg
parseResultObject

<private> enterJavaScript(currentChannel, entryFunc, processFunc, msg, parseResultObject)
Parameters:
currentChannel
entryFunc
processFunc
msg
parseResultObject

<private> enterScript(currentChannel, entryFunc, processFunc, msg, parseResultObject)
Parameters:
currentChannel
entryFunc
processFunc
msg
parseResultObject

<private> extractBoundries(subTree, buffer)
Parameters:
subTree
buffer

<private> getBoundries(treeNode)
Parameters:
treeNode

<private> getFirstChild(treeNode, strChildType, parser)
Parameters:
treeNode
strChildType
parser

<private> getLexerFor(self, parserType, input)
Parameters:
self
parserType
input

<private> getParserFor(self, parserType, tokens)
Parameters:
self
parserType
tokens

<private> getStringFor(boundriesObj, tokens, offset)
Parameters:
boundriesObj
tokens
offset

<private> getStringForSubTree(treeNode, tokens, offset)
Parameters:
treeNode
tokens
offset

<private> isArray()

<private> processBlock(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processComment(msg)
Parameters:
msg

<private> processDeclareVar(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processElse(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processEscape(replacementText, msg)
Parameters:
replacementText
msg

<private> processForContent(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processForControl(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processHelperFunction(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processIfContent(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processIfExpr(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processIncludeScript(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processIncludeStyle(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processLocalize(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processRenderPartial(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processStatement(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processYieldContent(parsingObj, result, tokens)
Parameters:
parsingObj
result
tokens

<private> processYieldContentParam(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

<private> processYieldDeclaration(parsingObj, result, tokens, parser)
Parameters:
parsingObj
result
tokens
parser

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 26 2016 21:44:43 GMT+0100 (Mitteleuropäische Zeit)