MCPcopy Create free account
hub / github.com/CoderOpen/waimai / Parser

Function Parser

front/components/marked/lib/marked.js:1098–1105  ·  view source on GitHub ↗

* Parsing & Compiling

(options)

Source from the content-addressed store, hash-verified

1096 */
1097
1098function Parser(options) {
1099 this.tokens = [];
1100 this.token = null;
1101 this.options = options || marked.defaults;
1102 this.options.renderer = this.options.renderer || new Renderer();
1103 this.renderer = this.options.renderer;
1104 this.renderer.options = this.options;
1105}
1106
1107/**
1108 * Static Parse Method

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected