Namespace mmir.parser.ParserUtils
Defined in: templateParseUtils.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Utility functions for parsing templates (and template elements, e.g.
|
Method Attributes | Method Name and Description |
---|---|
ParserUtils#parse(rawTemplateString, view)
Parse a text as view template (e.g.
|
Namespace Detail
mmir.parser.ParserUtils
Utility functions for parsing templates (and template elements, e.g. JS-parts of template expressions)
Method Detail
{mmir.parser.ParsingResult}
ParserUtils#parse(rawTemplateString, view)
Parse a text as view template (e.g. *.ehtml files).
- Parameters:
- {String} rawTemplateString
- the text that should be parsed
- {Object} view Optional
- (optional) the view to which the rawTemplateString belongs (only used for error messages)
- Returns:
- {mmir.parser.ParsingResult} the parsing result