MCPcopy
hub / github.com/fanmingming/live / CodegenState

Function CodegenState

m3u8/vue.js:10914–10925  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

10912
10913
10914 var CodegenState = function CodegenState (options) {
10915 this.options = options;
10916 this.warn = options.warn || baseWarn;
10917 this.transforms = pluckModuleFunction(options.modules, 'transformCode');
10918 this.dataGenFns = pluckModuleFunction(options.modules, 'genData');
10919 this.directives = extend(extend({}, baseDirectives), options.directives);
10920 var isReservedTag = options.isReservedTag || no;
10921 this.maybeComponent = function (el) { return !!el.component || !isReservedTag(el.tag); };
10922 this.onceId = 0;
10923 this.staticRenderFns = [];
10924 this.pre = false;
10925 };
10926
10927
10928

Callers

nothing calls this directly

Calls 3

pluckModuleFunctionFunction · 0.85
extendFunction · 0.85
isReservedTagFunction · 0.85

Tested by

no test coverage detected