@angular/compiler
Advanced tools
Comparing version 5.0.0-beta.4 to 5.0.0-beta.5
import * as tslib_1 from "tslib"; | ||
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
import { COMPILER_OPTIONS, Compiler, CompilerFactory, Component, Directive, Injectable, Injector, NgModule, Pipe, SecurityContext, createPlatformFactory, ɵstringify } from '@angular/core'; | ||
import { CompileMetadataResolver, CompileReflector, DirectiveResolver, NgModuleResolver, PipeResolver, platformCoreDynamic } from '@angular/compiler'; | ||
import { ɵTestingCompilerFactory } from '@angular/core/testing'; | ||
import { DirectiveResolver, NgModuleResolver, PipeResolver, ResourceLoader, core } from '@angular/compiler'; | ||
/** | ||
@@ -17,2 +15,124 @@ * @license | ||
*/ | ||
/** | ||
* A mock implementation of {@link ResourceLoader} that allows outgoing requests to be mocked | ||
* and responded to within a single test, without going to the network. | ||
*/ | ||
var MockResourceLoader = (function (_super) { | ||
tslib_1.__extends(MockResourceLoader, _super); | ||
function MockResourceLoader() { | ||
var _this = _super.apply(this, arguments) || this; | ||
_this._expectations = []; | ||
_this._definitions = new Map(); | ||
_this._requests = []; | ||
return _this; | ||
} | ||
MockResourceLoader.prototype.get = function (url) { | ||
var request = new _PendingRequest(url); | ||
this._requests.push(request); | ||
return request.getPromise(); | ||
}; | ||
MockResourceLoader.prototype.hasPendingRequests = function () { return !!this._requests.length; }; | ||
/** | ||
* Add an expectation for the given URL. Incoming requests will be checked against | ||
* the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method | ||
* can be used to check if any expectations have not yet been met. | ||
* | ||
* The response given will be returned if the expectation matches. | ||
*/ | ||
MockResourceLoader.prototype.expect = function (url, response) { | ||
var expectation = new _Expectation(url, response); | ||
this._expectations.push(expectation); | ||
}; | ||
/** | ||
* Add a definition for the given URL to return the given response. Unlike expectations, | ||
* definitions have no order and will satisfy any matching request at any time. Also | ||
* unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations` | ||
* to return an error. | ||
*/ | ||
MockResourceLoader.prototype.when = function (url, response) { this._definitions.set(url, response); }; | ||
/** | ||
* Process pending requests and verify there are no outstanding expectations. Also fails | ||
* if no requests are pending. | ||
*/ | ||
MockResourceLoader.prototype.flush = function () { | ||
if (this._requests.length === 0) { | ||
throw new Error('No pending requests to flush'); | ||
} | ||
do { | ||
this._processRequest(this._requests.shift()); | ||
} while (this._requests.length > 0); | ||
this.verifyNoOutstandingExpectations(); | ||
}; | ||
/** | ||
* Throw an exception if any expectations have not been satisfied. | ||
*/ | ||
MockResourceLoader.prototype.verifyNoOutstandingExpectations = function () { | ||
if (this._expectations.length === 0) | ||
return; | ||
var urls = []; | ||
for (var i = 0; i < this._expectations.length; i++) { | ||
var expectation = this._expectations[i]; | ||
urls.push(expectation.url); | ||
} | ||
throw new Error("Unsatisfied requests: " + urls.join(', ')); | ||
}; | ||
MockResourceLoader.prototype._processRequest = function (request) { | ||
var url = request.url; | ||
if (this._expectations.length > 0) { | ||
var expectation = this._expectations[0]; | ||
if (expectation.url == url) { | ||
remove(this._expectations, expectation); | ||
request.complete(expectation.response); | ||
return; | ||
} | ||
} | ||
if (this._definitions.has(url)) { | ||
var response = this._definitions.get(url); | ||
request.complete(response == null ? null : response); | ||
return; | ||
} | ||
throw new Error("Unexpected request " + url); | ||
}; | ||
return MockResourceLoader; | ||
}(ResourceLoader)); | ||
var _PendingRequest = (function () { | ||
function _PendingRequest(url) { | ||
var _this = this; | ||
this.url = url; | ||
this.promise = new Promise(function (res, rej) { | ||
_this.resolve = res; | ||
_this.reject = rej; | ||
}); | ||
} | ||
_PendingRequest.prototype.complete = function (response) { | ||
if (response == null) { | ||
this.reject("Failed to load " + this.url); | ||
} | ||
else { | ||
this.resolve(response); | ||
} | ||
}; | ||
_PendingRequest.prototype.getPromise = function () { return this.promise; }; | ||
return _PendingRequest; | ||
}()); | ||
var _Expectation = (function () { | ||
function _Expectation(url, response) { | ||
this.url = url; | ||
this.response = response; | ||
} | ||
return _Expectation; | ||
}()); | ||
function remove(list, el) { | ||
var index = list.indexOf(el); | ||
if (index > -1) { | ||
list.splice(index, 1); | ||
} | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var MockSchemaRegistry = (function () { | ||
@@ -36,3 +156,3 @@ function MockSchemaRegistry(existingProperties, attrPropMapping, existingElements, invalidProperties, invalidAttributes) { | ||
MockSchemaRegistry.prototype.securityContext = function (selector, property, isAttribute) { | ||
return SecurityContext.NONE; | ||
return core.SecurityContext.NONE; | ||
}; | ||
@@ -79,121 +199,19 @@ MockSchemaRegistry.prototype.getMappedPropName = function (attrName) { return this.attrPropMapping[attrName] || attrName; }; | ||
tslib_1.__extends(MockDirectiveResolver, _super); | ||
function MockDirectiveResolver(_injector, reflector) { | ||
function MockDirectiveResolver(reflector) { | ||
var _this = _super.call(this, reflector) || this; | ||
_this._injector = _injector; | ||
_this._directives = new Map(); | ||
_this._providerOverrides = new Map(); | ||
_this._viewProviderOverrides = new Map(); | ||
_this._views = new Map(); | ||
_this._inlineTemplates = new Map(); | ||
return _this; | ||
} | ||
Object.defineProperty(MockDirectiveResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockDirectiveResolver.prototype._clearCacheFor = function (component) { this._compiler.clearCacheFor(component); }; | ||
MockDirectiveResolver.prototype.resolve = function (type, throwIfNotFound) { | ||
if (throwIfNotFound === void 0) { throwIfNotFound = true; } | ||
var metadata = this._directives.get(type) || null; | ||
if (!metadata) { | ||
metadata = _super.prototype.resolve.call(this, type, throwIfNotFound); | ||
} | ||
if (!metadata) { | ||
return null; | ||
} | ||
var providerOverrides = this._providerOverrides.get(type); | ||
var viewProviderOverrides = this._viewProviderOverrides.get(type); | ||
var providers = metadata.providers; | ||
if (providerOverrides != null) { | ||
var originalViewProviders = metadata.providers || []; | ||
providers = originalViewProviders.concat(providerOverrides); | ||
} | ||
if (metadata instanceof Component) { | ||
var viewProviders = metadata.viewProviders; | ||
if (viewProviderOverrides != null) { | ||
var originalViewProviders = metadata.viewProviders || []; | ||
viewProviders = originalViewProviders.concat(viewProviderOverrides); | ||
} | ||
var view = this._views.get(type) || metadata; | ||
var animations = view.animations; | ||
var templateUrl = view.templateUrl; | ||
var inlineTemplate = this._inlineTemplates.get(type); | ||
if (inlineTemplate) { | ||
templateUrl = undefined; | ||
} | ||
else { | ||
inlineTemplate = view.template; | ||
} | ||
return new Component({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
exportAs: metadata.exportAs, | ||
moduleId: metadata.moduleId, | ||
queries: metadata.queries, | ||
changeDetection: metadata.changeDetection, | ||
providers: providers, | ||
viewProviders: viewProviders, | ||
entryComponents: metadata.entryComponents, | ||
template: inlineTemplate, | ||
templateUrl: templateUrl, | ||
animations: animations, | ||
styles: view.styles, | ||
styleUrls: view.styleUrls, | ||
encapsulation: view.encapsulation, | ||
interpolation: view.interpolation, | ||
preserveWhitespaces: view.preserveWhitespaces, | ||
}); | ||
} | ||
return new Directive({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
providers: providers, | ||
exportAs: metadata.exportAs, | ||
queries: metadata.queries | ||
}); | ||
return this._directives.get(type) || _super.prototype.resolve.call(this, type, throwIfNotFound); | ||
}; | ||
/** | ||
* Overrides the {@link Directive} for a directive. | ||
* Overrides the {@link core.Directive} for a directive. | ||
*/ | ||
MockDirectiveResolver.prototype.setDirective = function (type, metadata) { | ||
this._directives.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
MockDirectiveResolver.prototype.setProvidersOverride = function (type, providers) { | ||
this._providerOverrides.set(type, providers); | ||
this._clearCacheFor(type); | ||
}; | ||
MockDirectiveResolver.prototype.setViewProvidersOverride = function (type, viewProviders) { | ||
this._viewProviderOverrides.set(type, viewProviders); | ||
this._clearCacheFor(type); | ||
}; | ||
/** | ||
* Overrides the {@link ViewMetadata} for a component. | ||
*/ | ||
MockDirectiveResolver.prototype.setView = function (component, view) { | ||
this._views.set(component, view); | ||
this._clearCacheFor(component); | ||
}; | ||
/** | ||
* Overrides the inline template for a component - other configuration remains unchanged. | ||
*/ | ||
MockDirectiveResolver.prototype.setInlineTemplate = function (component, template) { | ||
this._inlineTemplates.set(component, template); | ||
this._clearCacheFor(component); | ||
}; | ||
return MockDirectiveResolver; | ||
}(DirectiveResolver)); | ||
MockDirectiveResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockDirectiveResolver.ctorParameters = function () { return [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; }; | ||
/** | ||
@@ -208,5 +226,4 @@ * @license | ||
tslib_1.__extends(MockNgModuleResolver, _super); | ||
function MockNgModuleResolver(_injector, reflector) { | ||
function MockNgModuleResolver(reflector) { | ||
var _this = _super.call(this, reflector) || this; | ||
_this._injector = _injector; | ||
_this._ngModules = new Map(); | ||
@@ -220,3 +237,2 @@ return _this; | ||
this._ngModules.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
@@ -233,18 +249,4 @@ /** | ||
}; | ||
Object.defineProperty(MockNgModuleResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockNgModuleResolver.prototype._clearCacheFor = function (component) { this._compiler.clearCacheFor(component); }; | ||
return MockNgModuleResolver; | ||
}(NgModuleResolver)); | ||
MockNgModuleResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockNgModuleResolver.ctorParameters = function () { return [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; }; | ||
/** | ||
@@ -259,21 +261,11 @@ * @license | ||
tslib_1.__extends(MockPipeResolver, _super); | ||
function MockPipeResolver(_injector, refector) { | ||
function MockPipeResolver(refector) { | ||
var _this = _super.call(this, refector) || this; | ||
_this._injector = _injector; | ||
_this._pipes = new Map(); | ||
return _this; | ||
} | ||
Object.defineProperty(MockPipeResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockPipeResolver.prototype._clearCacheFor = function (pipe) { this._compiler.clearCacheFor(pipe); }; | ||
/** | ||
* Overrides the {@link Pipe} for a pipe. | ||
*/ | ||
MockPipeResolver.prototype.setPipe = function (type, metadata) { | ||
this._pipes.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
MockPipeResolver.prototype.setPipe = function (type, metadata) { this._pipes.set(type, metadata); }; | ||
/** | ||
@@ -295,10 +287,2 @@ * Returns the {@link Pipe} for a pipe: | ||
}(PipeResolver)); | ||
MockPipeResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockPipeResolver.ctorParameters = function () { return [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; }; | ||
/** | ||
@@ -311,123 +295,3 @@ * @license | ||
*/ | ||
var _nextReferenceId = 0; | ||
var MetadataOverrider = (function () { | ||
function MetadataOverrider() { | ||
this._references = new Map(); | ||
} | ||
/** | ||
* Creates a new instance for the given metadata class | ||
* based on an old instance and overrides. | ||
*/ | ||
MetadataOverrider.prototype.overrideMetadata = function (metadataClass, oldMetadata, override) { | ||
var props = {}; | ||
if (oldMetadata) { | ||
_valueProps(oldMetadata).forEach(function (prop) { return props[prop] = oldMetadata[prop]; }); | ||
} | ||
if (override.set) { | ||
if (override.remove || override.add) { | ||
throw new Error("Cannot set and add/remove " + ɵstringify(metadataClass) + " at the same time!"); | ||
} | ||
setMetadata(props, override.set); | ||
} | ||
if (override.remove) { | ||
removeMetadata(props, override.remove, this._references); | ||
} | ||
if (override.add) { | ||
addMetadata(props, override.add); | ||
} | ||
return new metadataClass(props); | ||
}; | ||
return MetadataOverrider; | ||
}()); | ||
function removeMetadata(metadata, remove, references) { | ||
var removeObjects = new Set(); | ||
var _loop_1 = function (prop) { | ||
var removeValue = remove[prop]; | ||
if (removeValue instanceof Array) { | ||
removeValue.forEach(function (value) { removeObjects.add(_propHashKey(prop, value, references)); }); | ||
} | ||
else { | ||
removeObjects.add(_propHashKey(prop, removeValue, references)); | ||
} | ||
}; | ||
for (var prop in remove) { | ||
_loop_1(prop); | ||
} | ||
var _loop_2 = function (prop) { | ||
var propValue = metadata[prop]; | ||
if (propValue instanceof Array) { | ||
metadata[prop] = propValue.filter(function (value) { return !removeObjects.has(_propHashKey(prop, value, references)); }); | ||
} | ||
else { | ||
if (removeObjects.has(_propHashKey(prop, propValue, references))) { | ||
metadata[prop] = undefined; | ||
} | ||
} | ||
}; | ||
for (var prop in metadata) { | ||
_loop_2(prop); | ||
} | ||
} | ||
function addMetadata(metadata, add) { | ||
for (var prop in add) { | ||
var addValue = add[prop]; | ||
var propValue = metadata[prop]; | ||
if (propValue != null && propValue instanceof Array) { | ||
metadata[prop] = propValue.concat(addValue); | ||
} | ||
else { | ||
metadata[prop] = addValue; | ||
} | ||
} | ||
} | ||
function setMetadata(metadata, set) { | ||
for (var prop in set) { | ||
metadata[prop] = set[prop]; | ||
} | ||
} | ||
function _propHashKey(propName, propValue, references) { | ||
var replacer = function (key, value) { | ||
if (typeof value === 'function') { | ||
value = _serializeReference(value, references); | ||
} | ||
return value; | ||
}; | ||
return propName + ":" + JSON.stringify(propValue, replacer); | ||
} | ||
function _serializeReference(ref, references) { | ||
var id = references.get(ref); | ||
if (!id) { | ||
id = "" + ɵstringify(ref) + _nextReferenceId++; | ||
references.set(ref, id); | ||
} | ||
return id; | ||
} | ||
function _valueProps(obj) { | ||
var props = []; | ||
// regular public props | ||
Object.keys(obj).forEach(function (prop) { | ||
if (!prop.startsWith('_')) { | ||
props.push(prop); | ||
} | ||
}); | ||
// getters | ||
var proto = obj; | ||
while (proto = Object.getPrototypeOf(proto)) { | ||
Object.keys(proto).forEach(function (protoProp) { | ||
var desc = Object.getOwnPropertyDescriptor(proto, protoProp); | ||
if (!protoProp.startsWith('_') && desc && 'get' in desc) { | ||
props.push(protoProp); | ||
} | ||
}); | ||
} | ||
return props; | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
/** | ||
* @module | ||
@@ -447,108 +311,3 @@ * @description | ||
*/ | ||
var TestingCompilerFactoryImpl = (function () { | ||
function TestingCompilerFactoryImpl(_compilerFactory) { | ||
this._compilerFactory = _compilerFactory; | ||
} | ||
TestingCompilerFactoryImpl.prototype.createTestingCompiler = function (options) { | ||
var compiler = this._compilerFactory.createCompiler(options); | ||
return new TestingCompilerImpl(compiler, compiler.injector.get(MockDirectiveResolver), compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver), compiler.injector.get(CompileMetadataResolver)); | ||
}; | ||
return TestingCompilerFactoryImpl; | ||
}()); | ||
TestingCompilerFactoryImpl.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
TestingCompilerFactoryImpl.ctorParameters = function () { return [ | ||
{ type: CompilerFactory, }, | ||
]; }; | ||
var TestingCompilerImpl = (function () { | ||
function TestingCompilerImpl(_compiler, _directiveResolver, _pipeResolver, _moduleResolver, _metadataResolver) { | ||
this._compiler = _compiler; | ||
this._directiveResolver = _directiveResolver; | ||
this._pipeResolver = _pipeResolver; | ||
this._moduleResolver = _moduleResolver; | ||
this._metadataResolver = _metadataResolver; | ||
this._overrider = new MetadataOverrider(); | ||
} | ||
Object.defineProperty(TestingCompilerImpl.prototype, "injector", { | ||
get: function () { return this._compiler.injector; }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
TestingCompilerImpl.prototype.compileModuleSync = function (moduleType) { | ||
return this._compiler.compileModuleSync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAsync = function (moduleType) { | ||
return this._compiler.compileModuleAsync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAndAllComponentsSync = function (moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsSync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAndAllComponentsAsync = function (moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsAsync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.getNgContentSelectors = function (component) { | ||
return this._compiler.getNgContentSelectors(component); | ||
}; | ||
TestingCompilerImpl.prototype.getComponentFactory = function (component) { | ||
return this._compiler.getComponentFactory(component); | ||
}; | ||
TestingCompilerImpl.prototype.checkOverrideAllowed = function (type) { | ||
if (this._compiler.hasAotSummary(type)) { | ||
throw new Error(ɵstringify(type) + " was AOT compiled, so its metadata cannot be changed."); | ||
} | ||
}; | ||
TestingCompilerImpl.prototype.overrideModule = function (ngModule, override) { | ||
this.checkOverrideAllowed(ngModule); | ||
var oldMetadata = this._moduleResolver.resolve(ngModule, false); | ||
this._moduleResolver.setNgModule(ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overrideDirective = function (directive, override) { | ||
this.checkOverrideAllowed(directive); | ||
var oldMetadata = this._directiveResolver.resolve(directive, false); | ||
this._directiveResolver.setDirective(directive, this._overrider.overrideMetadata(Directive, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overrideComponent = function (component, override) { | ||
this.checkOverrideAllowed(component); | ||
var oldMetadata = this._directiveResolver.resolve(component, false); | ||
this._directiveResolver.setDirective(component, this._overrider.overrideMetadata(Component, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overridePipe = function (pipe, override) { | ||
this.checkOverrideAllowed(pipe); | ||
var oldMetadata = this._pipeResolver.resolve(pipe, false); | ||
this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.loadAotSummaries = function (summaries) { this._compiler.loadAotSummaries(summaries); }; | ||
TestingCompilerImpl.prototype.clearCache = function () { this._compiler.clearCache(); }; | ||
TestingCompilerImpl.prototype.clearCacheFor = function (type) { this._compiler.clearCacheFor(type); }; | ||
return TestingCompilerImpl; | ||
}()); | ||
/** | ||
* Platform for dynamic tests | ||
* | ||
* @experimental | ||
*/ | ||
var platformCoreDynamicTesting = createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [ | ||
{ | ||
provide: COMPILER_OPTIONS, | ||
useValue: { | ||
providers: [ | ||
{ provide: MockPipeResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: PipeResolver, useExisting: MockPipeResolver }, | ||
{ provide: MockDirectiveResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: DirectiveResolver, useExisting: MockDirectiveResolver }, | ||
{ provide: MockNgModuleResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: NgModuleResolver, useExisting: MockNgModuleResolver }, | ||
] | ||
}, | ||
multi: true | ||
}, | ||
{ | ||
provide: ɵTestingCompilerFactory, | ||
useClass: TestingCompilerFactoryImpl, | ||
deps: [CompilerFactory] | ||
} | ||
]); | ||
/** | ||
* @license | ||
@@ -565,3 +324,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
export { TestingCompilerFactoryImpl, TestingCompilerImpl, platformCoreDynamicTesting, MockSchemaRegistry, MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver }; | ||
export { MockResourceLoader, MockSchemaRegistry, MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver }; | ||
//# sourceMappingURL=testing.es5.js.map |
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
import { COMPILER_OPTIONS, Compiler, CompilerFactory, Component, Directive, Injectable, Injector, NgModule, Pipe, SecurityContext, createPlatformFactory, ɵstringify } from '@angular/core'; | ||
import { CompileMetadataResolver, CompileReflector, DirectiveResolver, NgModuleResolver, PipeResolver, platformCoreDynamic } from '@angular/compiler'; | ||
import { ɵTestingCompilerFactory } from '@angular/core/testing'; | ||
import { DirectiveResolver, NgModuleResolver, PipeResolver, ResourceLoader, core } from '@angular/compiler'; | ||
@@ -17,2 +15,119 @@ /** | ||
*/ | ||
/** | ||
* A mock implementation of {@link ResourceLoader} that allows outgoing requests to be mocked | ||
* and responded to within a single test, without going to the network. | ||
*/ | ||
class MockResourceLoader extends ResourceLoader { | ||
constructor() { | ||
super(...arguments); | ||
this._expectations = []; | ||
this._definitions = new Map(); | ||
this._requests = []; | ||
} | ||
get(url) { | ||
const request = new _PendingRequest(url); | ||
this._requests.push(request); | ||
return request.getPromise(); | ||
} | ||
hasPendingRequests() { return !!this._requests.length; } | ||
/** | ||
* Add an expectation for the given URL. Incoming requests will be checked against | ||
* the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method | ||
* can be used to check if any expectations have not yet been met. | ||
* | ||
* The response given will be returned if the expectation matches. | ||
*/ | ||
expect(url, response) { | ||
const expectation = new _Expectation(url, response); | ||
this._expectations.push(expectation); | ||
} | ||
/** | ||
* Add a definition for the given URL to return the given response. Unlike expectations, | ||
* definitions have no order and will satisfy any matching request at any time. Also | ||
* unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations` | ||
* to return an error. | ||
*/ | ||
when(url, response) { this._definitions.set(url, response); } | ||
/** | ||
* Process pending requests and verify there are no outstanding expectations. Also fails | ||
* if no requests are pending. | ||
*/ | ||
flush() { | ||
if (this._requests.length === 0) { | ||
throw new Error('No pending requests to flush'); | ||
} | ||
do { | ||
this._processRequest(this._requests.shift()); | ||
} while (this._requests.length > 0); | ||
this.verifyNoOutstandingExpectations(); | ||
} | ||
/** | ||
* Throw an exception if any expectations have not been satisfied. | ||
*/ | ||
verifyNoOutstandingExpectations() { | ||
if (this._expectations.length === 0) | ||
return; | ||
const urls = []; | ||
for (let i = 0; i < this._expectations.length; i++) { | ||
const expectation = this._expectations[i]; | ||
urls.push(expectation.url); | ||
} | ||
throw new Error(`Unsatisfied requests: ${urls.join(', ')}`); | ||
} | ||
_processRequest(request) { | ||
const url = request.url; | ||
if (this._expectations.length > 0) { | ||
const expectation = this._expectations[0]; | ||
if (expectation.url == url) { | ||
remove(this._expectations, expectation); | ||
request.complete(expectation.response); | ||
return; | ||
} | ||
} | ||
if (this._definitions.has(url)) { | ||
const response = this._definitions.get(url); | ||
request.complete(response == null ? null : response); | ||
return; | ||
} | ||
throw new Error(`Unexpected request ${url}`); | ||
} | ||
} | ||
class _PendingRequest { | ||
constructor(url) { | ||
this.url = url; | ||
this.promise = new Promise((res, rej) => { | ||
this.resolve = res; | ||
this.reject = rej; | ||
}); | ||
} | ||
complete(response) { | ||
if (response == null) { | ||
this.reject(`Failed to load ${this.url}`); | ||
} | ||
else { | ||
this.resolve(response); | ||
} | ||
} | ||
getPromise() { return this.promise; } | ||
} | ||
class _Expectation { | ||
constructor(url, response) { | ||
this.url = url; | ||
this.response = response; | ||
} | ||
} | ||
function remove(list, el) { | ||
const index = list.indexOf(el); | ||
if (index > -1) { | ||
list.splice(index, 1); | ||
} | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
class MockSchemaRegistry { | ||
@@ -36,3 +151,3 @@ constructor(existingProperties, attrPropMapping, existingElements, invalidProperties, invalidAttributes) { | ||
securityContext(selector, property, isAttribute) { | ||
return SecurityContext.NONE; | ||
return core.SecurityContext.NONE; | ||
} | ||
@@ -78,114 +193,16 @@ getMappedPropName(attrName) { return this.attrPropMapping[attrName] || attrName; } | ||
class MockDirectiveResolver extends DirectiveResolver { | ||
constructor(_injector, reflector) { | ||
constructor(reflector) { | ||
super(reflector); | ||
this._injector = _injector; | ||
this._directives = new Map(); | ||
this._providerOverrides = new Map(); | ||
this._viewProviderOverrides = new Map(); | ||
this._views = new Map(); | ||
this._inlineTemplates = new Map(); | ||
} | ||
get _compiler() { return this._injector.get(Compiler); } | ||
_clearCacheFor(component) { this._compiler.clearCacheFor(component); } | ||
resolve(type, throwIfNotFound = true) { | ||
let metadata = this._directives.get(type) || null; | ||
if (!metadata) { | ||
metadata = super.resolve(type, throwIfNotFound); | ||
} | ||
if (!metadata) { | ||
return null; | ||
} | ||
const providerOverrides = this._providerOverrides.get(type); | ||
const viewProviderOverrides = this._viewProviderOverrides.get(type); | ||
let providers = metadata.providers; | ||
if (providerOverrides != null) { | ||
const originalViewProviders = metadata.providers || []; | ||
providers = originalViewProviders.concat(providerOverrides); | ||
} | ||
if (metadata instanceof Component) { | ||
let viewProviders = metadata.viewProviders; | ||
if (viewProviderOverrides != null) { | ||
const originalViewProviders = metadata.viewProviders || []; | ||
viewProviders = originalViewProviders.concat(viewProviderOverrides); | ||
} | ||
let view = this._views.get(type) || metadata; | ||
let animations = view.animations; | ||
let templateUrl = view.templateUrl; | ||
let inlineTemplate = this._inlineTemplates.get(type); | ||
if (inlineTemplate) { | ||
templateUrl = undefined; | ||
} | ||
else { | ||
inlineTemplate = view.template; | ||
} | ||
return new Component({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
exportAs: metadata.exportAs, | ||
moduleId: metadata.moduleId, | ||
queries: metadata.queries, | ||
changeDetection: metadata.changeDetection, | ||
providers: providers, | ||
viewProviders: viewProviders, | ||
entryComponents: metadata.entryComponents, | ||
template: inlineTemplate, | ||
templateUrl: templateUrl, | ||
animations: animations, | ||
styles: view.styles, | ||
styleUrls: view.styleUrls, | ||
encapsulation: view.encapsulation, | ||
interpolation: view.interpolation, | ||
preserveWhitespaces: view.preserveWhitespaces, | ||
}); | ||
} | ||
return new Directive({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
providers: providers, | ||
exportAs: metadata.exportAs, | ||
queries: metadata.queries | ||
}); | ||
return this._directives.get(type) || super.resolve(type, throwIfNotFound); | ||
} | ||
/** | ||
* Overrides the {@link Directive} for a directive. | ||
* Overrides the {@link core.Directive} for a directive. | ||
*/ | ||
setDirective(type, metadata) { | ||
this._directives.set(type, metadata); | ||
this._clearCacheFor(type); | ||
} | ||
setProvidersOverride(type, providers) { | ||
this._providerOverrides.set(type, providers); | ||
this._clearCacheFor(type); | ||
} | ||
setViewProvidersOverride(type, viewProviders) { | ||
this._viewProviderOverrides.set(type, viewProviders); | ||
this._clearCacheFor(type); | ||
} | ||
/** | ||
* Overrides the {@link ViewMetadata} for a component. | ||
*/ | ||
setView(component, view) { | ||
this._views.set(component, view); | ||
this._clearCacheFor(component); | ||
} | ||
/** | ||
* Overrides the inline template for a component - other configuration remains unchanged. | ||
*/ | ||
setInlineTemplate(component, template) { | ||
this._inlineTemplates.set(component, template); | ||
this._clearCacheFor(component); | ||
} | ||
} | ||
MockDirectiveResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockDirectiveResolver.ctorParameters = () => [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; | ||
@@ -200,5 +217,4 @@ /** | ||
class MockNgModuleResolver extends NgModuleResolver { | ||
constructor(_injector, reflector) { | ||
constructor(reflector) { | ||
super(reflector); | ||
this._injector = _injector; | ||
this._ngModules = new Map(); | ||
@@ -211,3 +227,2 @@ } | ||
this._ngModules.set(type, metadata); | ||
this._clearCacheFor(type); | ||
} | ||
@@ -223,13 +238,3 @@ /** | ||
} | ||
get _compiler() { return this._injector.get(Compiler); } | ||
_clearCacheFor(component) { this._compiler.clearCacheFor(component); } | ||
} | ||
MockNgModuleResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockNgModuleResolver.ctorParameters = () => [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; | ||
@@ -244,16 +249,10 @@ /** | ||
class MockPipeResolver extends PipeResolver { | ||
constructor(_injector, refector) { | ||
constructor(refector) { | ||
super(refector); | ||
this._injector = _injector; | ||
this._pipes = new Map(); | ||
} | ||
get _compiler() { return this._injector.get(Compiler); } | ||
_clearCacheFor(pipe) { this._compiler.clearCacheFor(pipe); } | ||
/** | ||
* Overrides the {@link Pipe} for a pipe. | ||
*/ | ||
setPipe(type, metadata) { | ||
this._pipes.set(type, metadata); | ||
this._clearCacheFor(type); | ||
} | ||
setPipe(type, metadata) { this._pipes.set(type, metadata); } | ||
/** | ||
@@ -273,10 +272,2 @@ * Returns the {@link Pipe} for a pipe: | ||
} | ||
MockPipeResolver.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockPipeResolver.ctorParameters = () => [ | ||
{ type: Injector, }, | ||
{ type: CompileReflector, }, | ||
]; | ||
@@ -290,117 +281,3 @@ /** | ||
*/ | ||
let _nextReferenceId = 0; | ||
class MetadataOverrider { | ||
constructor() { | ||
this._references = new Map(); | ||
} | ||
/** | ||
* Creates a new instance for the given metadata class | ||
* based on an old instance and overrides. | ||
*/ | ||
overrideMetadata(metadataClass, oldMetadata, override) { | ||
const props = {}; | ||
if (oldMetadata) { | ||
_valueProps(oldMetadata).forEach((prop) => props[prop] = oldMetadata[prop]); | ||
} | ||
if (override.set) { | ||
if (override.remove || override.add) { | ||
throw new Error(`Cannot set and add/remove ${ɵstringify(metadataClass)} at the same time!`); | ||
} | ||
setMetadata(props, override.set); | ||
} | ||
if (override.remove) { | ||
removeMetadata(props, override.remove, this._references); | ||
} | ||
if (override.add) { | ||
addMetadata(props, override.add); | ||
} | ||
return new metadataClass(props); | ||
} | ||
} | ||
function removeMetadata(metadata, remove, references) { | ||
const removeObjects = new Set(); | ||
for (const prop in remove) { | ||
const removeValue = remove[prop]; | ||
if (removeValue instanceof Array) { | ||
removeValue.forEach((value) => { removeObjects.add(_propHashKey(prop, value, references)); }); | ||
} | ||
else { | ||
removeObjects.add(_propHashKey(prop, removeValue, references)); | ||
} | ||
} | ||
for (const prop in metadata) { | ||
const propValue = metadata[prop]; | ||
if (propValue instanceof Array) { | ||
metadata[prop] = propValue.filter((value) => !removeObjects.has(_propHashKey(prop, value, references))); | ||
} | ||
else { | ||
if (removeObjects.has(_propHashKey(prop, propValue, references))) { | ||
metadata[prop] = undefined; | ||
} | ||
} | ||
} | ||
} | ||
function addMetadata(metadata, add) { | ||
for (const prop in add) { | ||
const addValue = add[prop]; | ||
const propValue = metadata[prop]; | ||
if (propValue != null && propValue instanceof Array) { | ||
metadata[prop] = propValue.concat(addValue); | ||
} | ||
else { | ||
metadata[prop] = addValue; | ||
} | ||
} | ||
} | ||
function setMetadata(metadata, set) { | ||
for (const prop in set) { | ||
metadata[prop] = set[prop]; | ||
} | ||
} | ||
function _propHashKey(propName, propValue, references) { | ||
const replacer = (key, value) => { | ||
if (typeof value === 'function') { | ||
value = _serializeReference(value, references); | ||
} | ||
return value; | ||
}; | ||
return `${propName}:${JSON.stringify(propValue, replacer)}`; | ||
} | ||
function _serializeReference(ref, references) { | ||
let id = references.get(ref); | ||
if (!id) { | ||
id = `${ɵstringify(ref)}${_nextReferenceId++}`; | ||
references.set(ref, id); | ||
} | ||
return id; | ||
} | ||
function _valueProps(obj) { | ||
const props = []; | ||
// regular public props | ||
Object.keys(obj).forEach((prop) => { | ||
if (!prop.startsWith('_')) { | ||
props.push(prop); | ||
} | ||
}); | ||
// getters | ||
let proto = obj; | ||
while (proto = Object.getPrototypeOf(proto)) { | ||
Object.keys(proto).forEach((protoProp) => { | ||
const desc = Object.getOwnPropertyDescriptor(proto, protoProp); | ||
if (!protoProp.startsWith('_') && desc && 'get' in desc) { | ||
props.push(protoProp); | ||
} | ||
}); | ||
} | ||
return props; | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
/** | ||
* @module | ||
@@ -420,101 +297,2 @@ * @description | ||
*/ | ||
class TestingCompilerFactoryImpl { | ||
constructor(_compilerFactory) { | ||
this._compilerFactory = _compilerFactory; | ||
} | ||
createTestingCompiler(options) { | ||
const compiler = this._compilerFactory.createCompiler(options); | ||
return new TestingCompilerImpl(compiler, compiler.injector.get(MockDirectiveResolver), compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver), compiler.injector.get(CompileMetadataResolver)); | ||
} | ||
} | ||
TestingCompilerFactoryImpl.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
TestingCompilerFactoryImpl.ctorParameters = () => [ | ||
{ type: CompilerFactory, }, | ||
]; | ||
class TestingCompilerImpl { | ||
constructor(_compiler, _directiveResolver, _pipeResolver, _moduleResolver, _metadataResolver) { | ||
this._compiler = _compiler; | ||
this._directiveResolver = _directiveResolver; | ||
this._pipeResolver = _pipeResolver; | ||
this._moduleResolver = _moduleResolver; | ||
this._metadataResolver = _metadataResolver; | ||
this._overrider = new MetadataOverrider(); | ||
} | ||
get injector() { return this._compiler.injector; } | ||
compileModuleSync(moduleType) { | ||
return this._compiler.compileModuleSync(moduleType); | ||
} | ||
compileModuleAsync(moduleType) { | ||
return this._compiler.compileModuleAsync(moduleType); | ||
} | ||
compileModuleAndAllComponentsSync(moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsSync(moduleType); | ||
} | ||
compileModuleAndAllComponentsAsync(moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsAsync(moduleType); | ||
} | ||
getNgContentSelectors(component) { | ||
return this._compiler.getNgContentSelectors(component); | ||
} | ||
getComponentFactory(component) { | ||
return this._compiler.getComponentFactory(component); | ||
} | ||
checkOverrideAllowed(type) { | ||
if (this._compiler.hasAotSummary(type)) { | ||
throw new Error(`${ɵstringify(type)} was AOT compiled, so its metadata cannot be changed.`); | ||
} | ||
} | ||
overrideModule(ngModule, override) { | ||
this.checkOverrideAllowed(ngModule); | ||
const oldMetadata = this._moduleResolver.resolve(ngModule, false); | ||
this._moduleResolver.setNgModule(ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override)); | ||
} | ||
overrideDirective(directive, override) { | ||
this.checkOverrideAllowed(directive); | ||
const oldMetadata = this._directiveResolver.resolve(directive, false); | ||
this._directiveResolver.setDirective(directive, this._overrider.overrideMetadata(Directive, oldMetadata, override)); | ||
} | ||
overrideComponent(component, override) { | ||
this.checkOverrideAllowed(component); | ||
const oldMetadata = this._directiveResolver.resolve(component, false); | ||
this._directiveResolver.setDirective(component, this._overrider.overrideMetadata(Component, oldMetadata, override)); | ||
} | ||
overridePipe(pipe, override) { | ||
this.checkOverrideAllowed(pipe); | ||
const oldMetadata = this._pipeResolver.resolve(pipe, false); | ||
this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override)); | ||
} | ||
loadAotSummaries(summaries) { this._compiler.loadAotSummaries(summaries); } | ||
clearCache() { this._compiler.clearCache(); } | ||
clearCacheFor(type) { this._compiler.clearCacheFor(type); } | ||
} | ||
/** | ||
* Platform for dynamic tests | ||
* | ||
* @experimental | ||
*/ | ||
const platformCoreDynamicTesting = createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [ | ||
{ | ||
provide: COMPILER_OPTIONS, | ||
useValue: { | ||
providers: [ | ||
{ provide: MockPipeResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: PipeResolver, useExisting: MockPipeResolver }, | ||
{ provide: MockDirectiveResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: DirectiveResolver, useExisting: MockDirectiveResolver }, | ||
{ provide: MockNgModuleResolver, deps: [Injector, CompileReflector] }, | ||
{ provide: NgModuleResolver, useExisting: MockNgModuleResolver }, | ||
] | ||
}, | ||
multi: true | ||
}, | ||
{ | ||
provide: ɵTestingCompilerFactory, | ||
useClass: TestingCompilerFactoryImpl, | ||
deps: [CompilerFactory] | ||
} | ||
]); | ||
@@ -534,3 +312,3 @@ /** | ||
export { TestingCompilerFactoryImpl, TestingCompilerImpl, platformCoreDynamicTesting, MockSchemaRegistry, MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver }; | ||
export { MockResourceLoader, MockSchemaRegistry, MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver }; | ||
//# sourceMappingURL=testing.js.map |
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -7,6 +7,6 @@ * License: MIT | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/compiler'), require('@angular/core/testing')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/compiler', '@angular/core/testing'], factory) : | ||
(factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}, global.ng.compiler.testing = global.ng.compiler.testing || {}),global.ng.core,global.ng.compiler,global.ng.core.testing)); | ||
}(this, (function (exports,_angular_core,_angular_compiler,_angular_core_testing) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@angular/compiler'], factory) : | ||
(factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}, global.ng.compiler.testing = global.ng.compiler.testing || {}),global.ng.compiler)); | ||
}(this, (function (exports,_angular_compiler) { 'use strict'; | ||
@@ -40,3 +40,3 @@ /*! ***************************************************************************** | ||
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -52,2 +52,124 @@ * License: MIT | ||
*/ | ||
/** | ||
* A mock implementation of {@link ResourceLoader} that allows outgoing requests to be mocked | ||
* and responded to within a single test, without going to the network. | ||
*/ | ||
var MockResourceLoader = (function (_super) { | ||
__extends(MockResourceLoader, _super); | ||
function MockResourceLoader() { | ||
var _this = _super.apply(this, arguments) || this; | ||
_this._expectations = []; | ||
_this._definitions = new Map(); | ||
_this._requests = []; | ||
return _this; | ||
} | ||
MockResourceLoader.prototype.get = function (url) { | ||
var request = new _PendingRequest(url); | ||
this._requests.push(request); | ||
return request.getPromise(); | ||
}; | ||
MockResourceLoader.prototype.hasPendingRequests = function () { return !!this._requests.length; }; | ||
/** | ||
* Add an expectation for the given URL. Incoming requests will be checked against | ||
* the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method | ||
* can be used to check if any expectations have not yet been met. | ||
* | ||
* The response given will be returned if the expectation matches. | ||
*/ | ||
MockResourceLoader.prototype.expect = function (url, response) { | ||
var expectation = new _Expectation(url, response); | ||
this._expectations.push(expectation); | ||
}; | ||
/** | ||
* Add a definition for the given URL to return the given response. Unlike expectations, | ||
* definitions have no order and will satisfy any matching request at any time. Also | ||
* unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations` | ||
* to return an error. | ||
*/ | ||
MockResourceLoader.prototype.when = function (url, response) { this._definitions.set(url, response); }; | ||
/** | ||
* Process pending requests and verify there are no outstanding expectations. Also fails | ||
* if no requests are pending. | ||
*/ | ||
MockResourceLoader.prototype.flush = function () { | ||
if (this._requests.length === 0) { | ||
throw new Error('No pending requests to flush'); | ||
} | ||
do { | ||
this._processRequest(this._requests.shift()); | ||
} while (this._requests.length > 0); | ||
this.verifyNoOutstandingExpectations(); | ||
}; | ||
/** | ||
* Throw an exception if any expectations have not been satisfied. | ||
*/ | ||
MockResourceLoader.prototype.verifyNoOutstandingExpectations = function () { | ||
if (this._expectations.length === 0) | ||
return; | ||
var urls = []; | ||
for (var i = 0; i < this._expectations.length; i++) { | ||
var expectation = this._expectations[i]; | ||
urls.push(expectation.url); | ||
} | ||
throw new Error("Unsatisfied requests: " + urls.join(', ')); | ||
}; | ||
MockResourceLoader.prototype._processRequest = function (request) { | ||
var url = request.url; | ||
if (this._expectations.length > 0) { | ||
var expectation = this._expectations[0]; | ||
if (expectation.url == url) { | ||
remove(this._expectations, expectation); | ||
request.complete(expectation.response); | ||
return; | ||
} | ||
} | ||
if (this._definitions.has(url)) { | ||
var response = this._definitions.get(url); | ||
request.complete(response == null ? null : response); | ||
return; | ||
} | ||
throw new Error("Unexpected request " + url); | ||
}; | ||
return MockResourceLoader; | ||
}(_angular_compiler.ResourceLoader)); | ||
var _PendingRequest = (function () { | ||
function _PendingRequest(url) { | ||
var _this = this; | ||
this.url = url; | ||
this.promise = new Promise(function (res, rej) { | ||
_this.resolve = res; | ||
_this.reject = rej; | ||
}); | ||
} | ||
_PendingRequest.prototype.complete = function (response) { | ||
if (response == null) { | ||
this.reject("Failed to load " + this.url); | ||
} | ||
else { | ||
this.resolve(response); | ||
} | ||
}; | ||
_PendingRequest.prototype.getPromise = function () { return this.promise; }; | ||
return _PendingRequest; | ||
}()); | ||
var _Expectation = (function () { | ||
function _Expectation(url, response) { | ||
this.url = url; | ||
this.response = response; | ||
} | ||
return _Expectation; | ||
}()); | ||
function remove(list, el) { | ||
var index = list.indexOf(el); | ||
if (index > -1) { | ||
list.splice(index, 1); | ||
} | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var MockSchemaRegistry = (function () { | ||
@@ -71,3 +193,3 @@ function MockSchemaRegistry(existingProperties, attrPropMapping, existingElements, invalidProperties, invalidAttributes) { | ||
MockSchemaRegistry.prototype.securityContext = function (selector, property, isAttribute) { | ||
return _angular_core.SecurityContext.NONE; | ||
return _angular_compiler.core.SecurityContext.NONE; | ||
}; | ||
@@ -114,121 +236,19 @@ MockSchemaRegistry.prototype.getMappedPropName = function (attrName) { return this.attrPropMapping[attrName] || attrName; }; | ||
__extends(MockDirectiveResolver, _super); | ||
function MockDirectiveResolver(_injector, reflector) { | ||
function MockDirectiveResolver(reflector) { | ||
var _this = _super.call(this, reflector) || this; | ||
_this._injector = _injector; | ||
_this._directives = new Map(); | ||
_this._providerOverrides = new Map(); | ||
_this._viewProviderOverrides = new Map(); | ||
_this._views = new Map(); | ||
_this._inlineTemplates = new Map(); | ||
return _this; | ||
} | ||
Object.defineProperty(MockDirectiveResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(_angular_core.Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockDirectiveResolver.prototype._clearCacheFor = function (component) { this._compiler.clearCacheFor(component); }; | ||
MockDirectiveResolver.prototype.resolve = function (type, throwIfNotFound) { | ||
if (throwIfNotFound === void 0) { throwIfNotFound = true; } | ||
var metadata = this._directives.get(type) || null; | ||
if (!metadata) { | ||
metadata = _super.prototype.resolve.call(this, type, throwIfNotFound); | ||
} | ||
if (!metadata) { | ||
return null; | ||
} | ||
var providerOverrides = this._providerOverrides.get(type); | ||
var viewProviderOverrides = this._viewProviderOverrides.get(type); | ||
var providers = metadata.providers; | ||
if (providerOverrides != null) { | ||
var originalViewProviders = metadata.providers || []; | ||
providers = originalViewProviders.concat(providerOverrides); | ||
} | ||
if (metadata instanceof _angular_core.Component) { | ||
var viewProviders = metadata.viewProviders; | ||
if (viewProviderOverrides != null) { | ||
var originalViewProviders = metadata.viewProviders || []; | ||
viewProviders = originalViewProviders.concat(viewProviderOverrides); | ||
} | ||
var view = this._views.get(type) || metadata; | ||
var animations = view.animations; | ||
var templateUrl = view.templateUrl; | ||
var inlineTemplate = this._inlineTemplates.get(type); | ||
if (inlineTemplate) { | ||
templateUrl = undefined; | ||
} | ||
else { | ||
inlineTemplate = view.template; | ||
} | ||
return new _angular_core.Component({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
exportAs: metadata.exportAs, | ||
moduleId: metadata.moduleId, | ||
queries: metadata.queries, | ||
changeDetection: metadata.changeDetection, | ||
providers: providers, | ||
viewProviders: viewProviders, | ||
entryComponents: metadata.entryComponents, | ||
template: inlineTemplate, | ||
templateUrl: templateUrl, | ||
animations: animations, | ||
styles: view.styles, | ||
styleUrls: view.styleUrls, | ||
encapsulation: view.encapsulation, | ||
interpolation: view.interpolation, | ||
preserveWhitespaces: view.preserveWhitespaces, | ||
}); | ||
} | ||
return new _angular_core.Directive({ | ||
selector: metadata.selector, | ||
inputs: metadata.inputs, | ||
outputs: metadata.outputs, | ||
host: metadata.host, | ||
providers: providers, | ||
exportAs: metadata.exportAs, | ||
queries: metadata.queries | ||
}); | ||
return this._directives.get(type) || _super.prototype.resolve.call(this, type, throwIfNotFound); | ||
}; | ||
/** | ||
* Overrides the {@link Directive} for a directive. | ||
* Overrides the {@link core.Directive} for a directive. | ||
*/ | ||
MockDirectiveResolver.prototype.setDirective = function (type, metadata) { | ||
this._directives.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
MockDirectiveResolver.prototype.setProvidersOverride = function (type, providers) { | ||
this._providerOverrides.set(type, providers); | ||
this._clearCacheFor(type); | ||
}; | ||
MockDirectiveResolver.prototype.setViewProvidersOverride = function (type, viewProviders) { | ||
this._viewProviderOverrides.set(type, viewProviders); | ||
this._clearCacheFor(type); | ||
}; | ||
/** | ||
* Overrides the {@link ViewMetadata} for a component. | ||
*/ | ||
MockDirectiveResolver.prototype.setView = function (component, view) { | ||
this._views.set(component, view); | ||
this._clearCacheFor(component); | ||
}; | ||
/** | ||
* Overrides the inline template for a component - other configuration remains unchanged. | ||
*/ | ||
MockDirectiveResolver.prototype.setInlineTemplate = function (component, template) { | ||
this._inlineTemplates.set(component, template); | ||
this._clearCacheFor(component); | ||
}; | ||
return MockDirectiveResolver; | ||
}(_angular_compiler.DirectiveResolver)); | ||
MockDirectiveResolver.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockDirectiveResolver.ctorParameters = function () { return [ | ||
{ type: _angular_core.Injector, }, | ||
{ type: _angular_compiler.CompileReflector, }, | ||
]; }; | ||
/** | ||
@@ -243,5 +263,4 @@ * @license | ||
__extends(MockNgModuleResolver, _super); | ||
function MockNgModuleResolver(_injector, reflector) { | ||
function MockNgModuleResolver(reflector) { | ||
var _this = _super.call(this, reflector) || this; | ||
_this._injector = _injector; | ||
_this._ngModules = new Map(); | ||
@@ -255,3 +274,2 @@ return _this; | ||
this._ngModules.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
@@ -268,18 +286,4 @@ /** | ||
}; | ||
Object.defineProperty(MockNgModuleResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(_angular_core.Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockNgModuleResolver.prototype._clearCacheFor = function (component) { this._compiler.clearCacheFor(component); }; | ||
return MockNgModuleResolver; | ||
}(_angular_compiler.NgModuleResolver)); | ||
MockNgModuleResolver.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockNgModuleResolver.ctorParameters = function () { return [ | ||
{ type: _angular_core.Injector, }, | ||
{ type: _angular_compiler.CompileReflector, }, | ||
]; }; | ||
/** | ||
@@ -294,21 +298,11 @@ * @license | ||
__extends(MockPipeResolver, _super); | ||
function MockPipeResolver(_injector, refector) { | ||
function MockPipeResolver(refector) { | ||
var _this = _super.call(this, refector) || this; | ||
_this._injector = _injector; | ||
_this._pipes = new Map(); | ||
return _this; | ||
} | ||
Object.defineProperty(MockPipeResolver.prototype, "_compiler", { | ||
get: function () { return this._injector.get(_angular_core.Compiler); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
MockPipeResolver.prototype._clearCacheFor = function (pipe) { this._compiler.clearCacheFor(pipe); }; | ||
/** | ||
* Overrides the {@link Pipe} for a pipe. | ||
*/ | ||
MockPipeResolver.prototype.setPipe = function (type, metadata) { | ||
this._pipes.set(type, metadata); | ||
this._clearCacheFor(type); | ||
}; | ||
MockPipeResolver.prototype.setPipe = function (type, metadata) { this._pipes.set(type, metadata); }; | ||
/** | ||
@@ -330,261 +324,4 @@ * Returns the {@link Pipe} for a pipe: | ||
}(_angular_compiler.PipeResolver)); | ||
MockPipeResolver.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
MockPipeResolver.ctorParameters = function () { return [ | ||
{ type: _angular_core.Injector, }, | ||
{ type: _angular_compiler.CompileReflector, }, | ||
]; }; | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var _nextReferenceId = 0; | ||
var MetadataOverrider = (function () { | ||
function MetadataOverrider() { | ||
this._references = new Map(); | ||
} | ||
/** | ||
* Creates a new instance for the given metadata class | ||
* based on an old instance and overrides. | ||
*/ | ||
MetadataOverrider.prototype.overrideMetadata = function (metadataClass, oldMetadata, override) { | ||
var props = {}; | ||
if (oldMetadata) { | ||
_valueProps(oldMetadata).forEach(function (prop) { return props[prop] = oldMetadata[prop]; }); | ||
} | ||
if (override.set) { | ||
if (override.remove || override.add) { | ||
throw new Error("Cannot set and add/remove " + _angular_core.ɵstringify(metadataClass) + " at the same time!"); | ||
} | ||
setMetadata(props, override.set); | ||
} | ||
if (override.remove) { | ||
removeMetadata(props, override.remove, this._references); | ||
} | ||
if (override.add) { | ||
addMetadata(props, override.add); | ||
} | ||
return new metadataClass(props); | ||
}; | ||
return MetadataOverrider; | ||
}()); | ||
function removeMetadata(metadata, remove, references) { | ||
var removeObjects = new Set(); | ||
var _loop_1 = function (prop) { | ||
var removeValue = remove[prop]; | ||
if (removeValue instanceof Array) { | ||
removeValue.forEach(function (value) { removeObjects.add(_propHashKey(prop, value, references)); }); | ||
} | ||
else { | ||
removeObjects.add(_propHashKey(prop, removeValue, references)); | ||
} | ||
}; | ||
for (var prop in remove) { | ||
_loop_1(prop); | ||
} | ||
var _loop_2 = function (prop) { | ||
var propValue = metadata[prop]; | ||
if (propValue instanceof Array) { | ||
metadata[prop] = propValue.filter(function (value) { return !removeObjects.has(_propHashKey(prop, value, references)); }); | ||
} | ||
else { | ||
if (removeObjects.has(_propHashKey(prop, propValue, references))) { | ||
metadata[prop] = undefined; | ||
} | ||
} | ||
}; | ||
for (var prop in metadata) { | ||
_loop_2(prop); | ||
} | ||
} | ||
function addMetadata(metadata, add) { | ||
for (var prop in add) { | ||
var addValue = add[prop]; | ||
var propValue = metadata[prop]; | ||
if (propValue != null && propValue instanceof Array) { | ||
metadata[prop] = propValue.concat(addValue); | ||
} | ||
else { | ||
metadata[prop] = addValue; | ||
} | ||
} | ||
} | ||
function setMetadata(metadata, set) { | ||
for (var prop in set) { | ||
metadata[prop] = set[prop]; | ||
} | ||
} | ||
function _propHashKey(propName, propValue, references) { | ||
var replacer = function (key, value) { | ||
if (typeof value === 'function') { | ||
value = _serializeReference(value, references); | ||
} | ||
return value; | ||
}; | ||
return propName + ":" + JSON.stringify(propValue, replacer); | ||
} | ||
function _serializeReference(ref, references) { | ||
var id = references.get(ref); | ||
if (!id) { | ||
id = "" + _angular_core.ɵstringify(ref) + _nextReferenceId++; | ||
references.set(ref, id); | ||
} | ||
return id; | ||
} | ||
function _valueProps(obj) { | ||
var props = []; | ||
// regular public props | ||
Object.keys(obj).forEach(function (prop) { | ||
if (!prop.startsWith('_')) { | ||
props.push(prop); | ||
} | ||
}); | ||
// getters | ||
var proto = obj; | ||
while (proto = Object.getPrototypeOf(proto)) { | ||
Object.keys(proto).forEach(function (protoProp) { | ||
var desc = Object.getOwnPropertyDescriptor(proto, protoProp); | ||
if (!protoProp.startsWith('_') && desc && 'get' in desc) { | ||
props.push(protoProp); | ||
} | ||
}); | ||
} | ||
return props; | ||
} | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
/** | ||
* @module | ||
* @description | ||
* Entry point for all APIs of the compiler package. | ||
* | ||
* <div class="callout is-critical"> | ||
* <header>Unstable APIs</header> | ||
* <p> | ||
* All compiler apis are currently considered experimental and private! | ||
* </p> | ||
* <p> | ||
* We expect the APIs in this package to keep on changing. Do not rely on them. | ||
* </p> | ||
* </div> | ||
*/ | ||
var TestingCompilerFactoryImpl = (function () { | ||
function TestingCompilerFactoryImpl(_compilerFactory) { | ||
this._compilerFactory = _compilerFactory; | ||
} | ||
TestingCompilerFactoryImpl.prototype.createTestingCompiler = function (options) { | ||
var compiler = this._compilerFactory.createCompiler(options); | ||
return new TestingCompilerImpl(compiler, compiler.injector.get(MockDirectiveResolver), compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver), compiler.injector.get(_angular_compiler.CompileMetadataResolver)); | ||
}; | ||
return TestingCompilerFactoryImpl; | ||
}()); | ||
TestingCompilerFactoryImpl.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
TestingCompilerFactoryImpl.ctorParameters = function () { return [ | ||
{ type: _angular_core.CompilerFactory, }, | ||
]; }; | ||
var TestingCompilerImpl = (function () { | ||
function TestingCompilerImpl(_compiler, _directiveResolver, _pipeResolver, _moduleResolver, _metadataResolver) { | ||
this._compiler = _compiler; | ||
this._directiveResolver = _directiveResolver; | ||
this._pipeResolver = _pipeResolver; | ||
this._moduleResolver = _moduleResolver; | ||
this._metadataResolver = _metadataResolver; | ||
this._overrider = new MetadataOverrider(); | ||
} | ||
Object.defineProperty(TestingCompilerImpl.prototype, "injector", { | ||
get: function () { return this._compiler.injector; }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
TestingCompilerImpl.prototype.compileModuleSync = function (moduleType) { | ||
return this._compiler.compileModuleSync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAsync = function (moduleType) { | ||
return this._compiler.compileModuleAsync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAndAllComponentsSync = function (moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsSync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.compileModuleAndAllComponentsAsync = function (moduleType) { | ||
return this._compiler.compileModuleAndAllComponentsAsync(moduleType); | ||
}; | ||
TestingCompilerImpl.prototype.getNgContentSelectors = function (component) { | ||
return this._compiler.getNgContentSelectors(component); | ||
}; | ||
TestingCompilerImpl.prototype.getComponentFactory = function (component) { | ||
return this._compiler.getComponentFactory(component); | ||
}; | ||
TestingCompilerImpl.prototype.checkOverrideAllowed = function (type) { | ||
if (this._compiler.hasAotSummary(type)) { | ||
throw new Error(_angular_core.ɵstringify(type) + " was AOT compiled, so its metadata cannot be changed."); | ||
} | ||
}; | ||
TestingCompilerImpl.prototype.overrideModule = function (ngModule, override) { | ||
this.checkOverrideAllowed(ngModule); | ||
var oldMetadata = this._moduleResolver.resolve(ngModule, false); | ||
this._moduleResolver.setNgModule(ngModule, this._overrider.overrideMetadata(_angular_core.NgModule, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overrideDirective = function (directive, override) { | ||
this.checkOverrideAllowed(directive); | ||
var oldMetadata = this._directiveResolver.resolve(directive, false); | ||
this._directiveResolver.setDirective(directive, this._overrider.overrideMetadata(_angular_core.Directive, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overrideComponent = function (component, override) { | ||
this.checkOverrideAllowed(component); | ||
var oldMetadata = this._directiveResolver.resolve(component, false); | ||
this._directiveResolver.setDirective(component, this._overrider.overrideMetadata(_angular_core.Component, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.overridePipe = function (pipe, override) { | ||
this.checkOverrideAllowed(pipe); | ||
var oldMetadata = this._pipeResolver.resolve(pipe, false); | ||
this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(_angular_core.Pipe, oldMetadata, override)); | ||
}; | ||
TestingCompilerImpl.prototype.loadAotSummaries = function (summaries) { this._compiler.loadAotSummaries(summaries); }; | ||
TestingCompilerImpl.prototype.clearCache = function () { this._compiler.clearCache(); }; | ||
TestingCompilerImpl.prototype.clearCacheFor = function (type) { this._compiler.clearCacheFor(type); }; | ||
return TestingCompilerImpl; | ||
}()); | ||
/** | ||
* Platform for dynamic tests | ||
* | ||
* @experimental | ||
*/ | ||
var platformCoreDynamicTesting = _angular_core.createPlatformFactory(_angular_compiler.platformCoreDynamic, 'coreDynamicTesting', [ | ||
{ | ||
provide: _angular_core.COMPILER_OPTIONS, | ||
useValue: { | ||
providers: [ | ||
{ provide: MockPipeResolver, deps: [_angular_core.Injector, _angular_compiler.CompileReflector] }, | ||
{ provide: _angular_compiler.PipeResolver, useExisting: MockPipeResolver }, | ||
{ provide: MockDirectiveResolver, deps: [_angular_core.Injector, _angular_compiler.CompileReflector] }, | ||
{ provide: _angular_compiler.DirectiveResolver, useExisting: MockDirectiveResolver }, | ||
{ provide: MockNgModuleResolver, deps: [_angular_core.Injector, _angular_compiler.CompileReflector] }, | ||
{ provide: _angular_compiler.NgModuleResolver, useExisting: MockNgModuleResolver }, | ||
] | ||
}, | ||
multi: true | ||
}, | ||
{ | ||
provide: _angular_core_testing.ɵTestingCompilerFactory, | ||
useClass: TestingCompilerFactoryImpl, | ||
deps: [_angular_core.CompilerFactory] | ||
} | ||
]); | ||
exports.TestingCompilerFactoryImpl = TestingCompilerFactoryImpl; | ||
exports.TestingCompilerImpl = TestingCompilerImpl; | ||
exports.platformCoreDynamicTesting = platformCoreDynamicTesting; | ||
exports.MockResourceLoader = MockResourceLoader; | ||
exports.MockSchemaRegistry = MockSchemaRegistry; | ||
@@ -591,0 +328,0 @@ exports.MockDirectiveResolver = MockDirectiveResolver; |
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/compiler"),require("@angular/core/testing")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/compiler","@angular/core/testing"],factory):factory((global.ng=global.ng||{},global.ng.compiler=global.ng.compiler||{},global.ng.compiler.testing=global.ng.compiler.testing||{}),global.ng.core,global.ng.compiler,global.ng.core.testing)}(this,function(exports,_angular_core,_angular_compiler,_angular_core_testing){"use strict";function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function removeMetadata(metadata,remove,references){var removeObjects=new Set,_loop_1=function(prop){var removeValue=remove[prop];removeValue instanceof Array?removeValue.forEach(function(value){removeObjects.add(_propHashKey(prop,value,references))}):removeObjects.add(_propHashKey(prop,removeValue,references))};for(var prop in remove)_loop_1(prop);var _loop_2=function(prop){var propValue=metadata[prop];propValue instanceof Array?metadata[prop]=propValue.filter(function(value){return!removeObjects.has(_propHashKey(prop,value,references))}):removeObjects.has(_propHashKey(prop,propValue,references))&&(metadata[prop]=void 0)};for(var prop in metadata)_loop_2(prop)}function addMetadata(metadata,add){for(var prop in add){var addValue=add[prop],propValue=metadata[prop];null!=propValue&&propValue instanceof Array?metadata[prop]=propValue.concat(addValue):metadata[prop]=addValue}}function setMetadata(metadata,set){for(var prop in set)metadata[prop]=set[prop]}function _propHashKey(propName,propValue,references){var replacer=function(key,value){return"function"==typeof value&&(value=_serializeReference(value,references)),value};return propName+":"+JSON.stringify(propValue,replacer)}function _serializeReference(ref,references){var id=references.get(ref);return id||(id=""+_angular_core.ɵstringify(ref)+_nextReferenceId++,references.set(ref,id)),id}function _valueProps(obj){var props=[];Object.keys(obj).forEach(function(prop){prop.startsWith("_")||props.push(prop)});for(var proto=obj;proto=Object.getPrototypeOf(proto);)Object.keys(proto).forEach(function(protoProp){var desc=Object.getOwnPropertyDescriptor(proto,protoProp);!protoProp.startsWith("_")&&desc&&"get"in desc&&props.push(protoProp)});return props}var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},MockSchemaRegistry=function(){function MockSchemaRegistry(existingProperties,attrPropMapping,existingElements,invalidProperties,invalidAttributes){this.existingProperties=existingProperties,this.attrPropMapping=attrPropMapping,this.existingElements=existingElements,this.invalidProperties=invalidProperties,this.invalidAttributes=invalidAttributes}return MockSchemaRegistry.prototype.hasProperty=function(tagName,property,schemas){var value=this.existingProperties[property];return void 0===value||value},MockSchemaRegistry.prototype.hasElement=function(tagName,schemaMetas){var value=this.existingElements[tagName.toLowerCase()];return void 0===value||value},MockSchemaRegistry.prototype.allKnownElementNames=function(){return Object.keys(this.existingElements)},MockSchemaRegistry.prototype.securityContext=function(selector,property,isAttribute){return _angular_core.SecurityContext.NONE},MockSchemaRegistry.prototype.getMappedPropName=function(attrName){return this.attrPropMapping[attrName]||attrName},MockSchemaRegistry.prototype.getDefaultComponentElementName=function(){return"ng-component"},MockSchemaRegistry.prototype.validateProperty=function(name){return this.invalidProperties.indexOf(name)>-1?{error:!0,msg:"Binding to property '"+name+"' is disallowed for security reasons"}:{error:!1}},MockSchemaRegistry.prototype.validateAttribute=function(name){return this.invalidAttributes.indexOf(name)>-1?{error:!0,msg:"Binding to attribute '"+name+"' is disallowed for security reasons"}:{error:!1}},MockSchemaRegistry.prototype.normalizeAnimationStyleProperty=function(propName){return propName},MockSchemaRegistry.prototype.normalizeAnimationStyleValue=function(camelCaseProp,userProvidedProp,val){return{error:null,value:val.toString()}},MockSchemaRegistry}(),MockDirectiveResolver=function(_super){function MockDirectiveResolver(_injector,reflector){var _this=_super.call(this,reflector)||this;return _this._injector=_injector,_this._directives=new Map,_this._providerOverrides=new Map,_this._viewProviderOverrides=new Map,_this._views=new Map,_this._inlineTemplates=new Map,_this}return __extends(MockDirectiveResolver,_super),Object.defineProperty(MockDirectiveResolver.prototype,"_compiler",{get:function(){return this._injector.get(_angular_core.Compiler)},enumerable:!0,configurable:!0}),MockDirectiveResolver.prototype._clearCacheFor=function(component){this._compiler.clearCacheFor(component)},MockDirectiveResolver.prototype.resolve=function(type,throwIfNotFound){void 0===throwIfNotFound&&(throwIfNotFound=!0);var metadata=this._directives.get(type)||null;if(metadata||(metadata=_super.prototype.resolve.call(this,type,throwIfNotFound)),!metadata)return null;var providerOverrides=this._providerOverrides.get(type),viewProviderOverrides=this._viewProviderOverrides.get(type),providers=metadata.providers;if(null!=providerOverrides){var originalViewProviders=metadata.providers||[];providers=originalViewProviders.concat(providerOverrides)}if(metadata instanceof _angular_core.Component){var viewProviders=metadata.viewProviders;if(null!=viewProviderOverrides){var originalViewProviders=metadata.viewProviders||[];viewProviders=originalViewProviders.concat(viewProviderOverrides)}var view=this._views.get(type)||metadata,animations=view.animations,templateUrl=view.templateUrl,inlineTemplate=this._inlineTemplates.get(type);return inlineTemplate?templateUrl=void 0:inlineTemplate=view.template,new _angular_core.Component({selector:metadata.selector,inputs:metadata.inputs,outputs:metadata.outputs,host:metadata.host,exportAs:metadata.exportAs,moduleId:metadata.moduleId,queries:metadata.queries,changeDetection:metadata.changeDetection,providers:providers,viewProviders:viewProviders,entryComponents:metadata.entryComponents,template:inlineTemplate,templateUrl:templateUrl,animations:animations,styles:view.styles,styleUrls:view.styleUrls,encapsulation:view.encapsulation,interpolation:view.interpolation,preserveWhitespaces:view.preserveWhitespaces})}return new _angular_core.Directive({selector:metadata.selector,inputs:metadata.inputs,outputs:metadata.outputs,host:metadata.host,providers:providers,exportAs:metadata.exportAs,queries:metadata.queries})},MockDirectiveResolver.prototype.setDirective=function(type,metadata){this._directives.set(type,metadata),this._clearCacheFor(type)},MockDirectiveResolver.prototype.setProvidersOverride=function(type,providers){this._providerOverrides.set(type,providers),this._clearCacheFor(type)},MockDirectiveResolver.prototype.setViewProvidersOverride=function(type,viewProviders){this._viewProviderOverrides.set(type,viewProviders),this._clearCacheFor(type)},MockDirectiveResolver.prototype.setView=function(component,view){this._views.set(component,view),this._clearCacheFor(component)},MockDirectiveResolver.prototype.setInlineTemplate=function(component,template){this._inlineTemplates.set(component,template),this._clearCacheFor(component)},MockDirectiveResolver}(_angular_compiler.DirectiveResolver);MockDirectiveResolver.decorators=[{type:_angular_core.Injectable}],MockDirectiveResolver.ctorParameters=function(){return[{type:_angular_core.Injector},{type:_angular_compiler.CompileReflector}]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var MockNgModuleResolver=function(_super){function MockNgModuleResolver(_injector,reflector){var _this=_super.call(this,reflector)||this;return _this._injector=_injector,_this._ngModules=new Map,_this}return __extends(MockNgModuleResolver,_super),MockNgModuleResolver.prototype.setNgModule=function(type,metadata){this._ngModules.set(type,metadata),this._clearCacheFor(type)},MockNgModuleResolver.prototype.resolve=function(type,throwIfNotFound){return void 0===throwIfNotFound&&(throwIfNotFound=!0),this._ngModules.get(type)||_super.prototype.resolve.call(this,type,throwIfNotFound)},Object.defineProperty(MockNgModuleResolver.prototype,"_compiler",{get:function(){return this._injector.get(_angular_core.Compiler)},enumerable:!0,configurable:!0}),MockNgModuleResolver.prototype._clearCacheFor=function(component){this._compiler.clearCacheFor(component)},MockNgModuleResolver}(_angular_compiler.NgModuleResolver);MockNgModuleResolver.decorators=[{type:_angular_core.Injectable}],MockNgModuleResolver.ctorParameters=function(){return[{type:_angular_core.Injector},{type:_angular_compiler.CompileReflector}]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var MockPipeResolver=function(_super){function MockPipeResolver(_injector,refector){var _this=_super.call(this,refector)||this;return _this._injector=_injector,_this._pipes=new Map,_this}return __extends(MockPipeResolver,_super),Object.defineProperty(MockPipeResolver.prototype,"_compiler",{get:function(){return this._injector.get(_angular_core.Compiler)},enumerable:!0,configurable:!0}),MockPipeResolver.prototype._clearCacheFor=function(pipe){this._compiler.clearCacheFor(pipe)},MockPipeResolver.prototype.setPipe=function(type,metadata){this._pipes.set(type,metadata),this._clearCacheFor(type)},MockPipeResolver.prototype.resolve=function(type,throwIfNotFound){void 0===throwIfNotFound&&(throwIfNotFound=!0);var metadata=this._pipes.get(type);return metadata||(metadata=_super.prototype.resolve.call(this,type,throwIfNotFound)),metadata},MockPipeResolver}(_angular_compiler.PipeResolver);MockPipeResolver.decorators=[{type:_angular_core.Injectable}],MockPipeResolver.ctorParameters=function(){return[{type:_angular_core.Injector},{type:_angular_compiler.CompileReflector}]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var _nextReferenceId=0,MetadataOverrider=function(){function MetadataOverrider(){this._references=new Map}return MetadataOverrider.prototype.overrideMetadata=function(metadataClass,oldMetadata,override){var props={};if(oldMetadata&&_valueProps(oldMetadata).forEach(function(prop){return props[prop]=oldMetadata[prop]}),override.set){if(override.remove||override.add)throw new Error("Cannot set and add/remove "+_angular_core.ɵstringify(metadataClass)+" at the same time!");setMetadata(props,override.set)}return override.remove&&removeMetadata(props,override.remove,this._references),override.add&&addMetadata(props,override.add),new metadataClass(props)},MetadataOverrider}(),TestingCompilerFactoryImpl=function(){function TestingCompilerFactoryImpl(_compilerFactory){this._compilerFactory=_compilerFactory}return TestingCompilerFactoryImpl.prototype.createTestingCompiler=function(options){var compiler=this._compilerFactory.createCompiler(options);return new TestingCompilerImpl(compiler,compiler.injector.get(MockDirectiveResolver),compiler.injector.get(MockPipeResolver),compiler.injector.get(MockNgModuleResolver),compiler.injector.get(_angular_compiler.CompileMetadataResolver))},TestingCompilerFactoryImpl}();TestingCompilerFactoryImpl.decorators=[{type:_angular_core.Injectable}],TestingCompilerFactoryImpl.ctorParameters=function(){return[{type:_angular_core.CompilerFactory}]};var TestingCompilerImpl=function(){function TestingCompilerImpl(_compiler,_directiveResolver,_pipeResolver,_moduleResolver,_metadataResolver){this._compiler=_compiler,this._directiveResolver=_directiveResolver,this._pipeResolver=_pipeResolver,this._moduleResolver=_moduleResolver,this._metadataResolver=_metadataResolver,this._overrider=new MetadataOverrider}return Object.defineProperty(TestingCompilerImpl.prototype,"injector",{get:function(){return this._compiler.injector},enumerable:!0,configurable:!0}),TestingCompilerImpl.prototype.compileModuleSync=function(moduleType){return this._compiler.compileModuleSync(moduleType)},TestingCompilerImpl.prototype.compileModuleAsync=function(moduleType){return this._compiler.compileModuleAsync(moduleType)},TestingCompilerImpl.prototype.compileModuleAndAllComponentsSync=function(moduleType){return this._compiler.compileModuleAndAllComponentsSync(moduleType)},TestingCompilerImpl.prototype.compileModuleAndAllComponentsAsync=function(moduleType){return this._compiler.compileModuleAndAllComponentsAsync(moduleType)},TestingCompilerImpl.prototype.getNgContentSelectors=function(component){return this._compiler.getNgContentSelectors(component)},TestingCompilerImpl.prototype.getComponentFactory=function(component){return this._compiler.getComponentFactory(component)},TestingCompilerImpl.prototype.checkOverrideAllowed=function(type){if(this._compiler.hasAotSummary(type))throw new Error(_angular_core.ɵstringify(type)+" was AOT compiled, so its metadata cannot be changed.")},TestingCompilerImpl.prototype.overrideModule=function(ngModule,override){this.checkOverrideAllowed(ngModule);var oldMetadata=this._moduleResolver.resolve(ngModule,!1);this._moduleResolver.setNgModule(ngModule,this._overrider.overrideMetadata(_angular_core.NgModule,oldMetadata,override))},TestingCompilerImpl.prototype.overrideDirective=function(directive,override){this.checkOverrideAllowed(directive);var oldMetadata=this._directiveResolver.resolve(directive,!1);this._directiveResolver.setDirective(directive,this._overrider.overrideMetadata(_angular_core.Directive,oldMetadata,override))},TestingCompilerImpl.prototype.overrideComponent=function(component,override){this.checkOverrideAllowed(component);var oldMetadata=this._directiveResolver.resolve(component,!1);this._directiveResolver.setDirective(component,this._overrider.overrideMetadata(_angular_core.Component,oldMetadata,override))},TestingCompilerImpl.prototype.overridePipe=function(pipe,override){this.checkOverrideAllowed(pipe);var oldMetadata=this._pipeResolver.resolve(pipe,!1);this._pipeResolver.setPipe(pipe,this._overrider.overrideMetadata(_angular_core.Pipe,oldMetadata,override))},TestingCompilerImpl.prototype.loadAotSummaries=function(summaries){this._compiler.loadAotSummaries(summaries)},TestingCompilerImpl.prototype.clearCache=function(){this._compiler.clearCache()},TestingCompilerImpl.prototype.clearCacheFor=function(type){this._compiler.clearCacheFor(type)},TestingCompilerImpl}(),platformCoreDynamicTesting=_angular_core.createPlatformFactory(_angular_compiler.platformCoreDynamic,"coreDynamicTesting",[{provide:_angular_core.COMPILER_OPTIONS,useValue:{providers:[{provide:MockPipeResolver,deps:[_angular_core.Injector,_angular_compiler.CompileReflector]},{provide:_angular_compiler.PipeResolver,useExisting:MockPipeResolver},{provide:MockDirectiveResolver,deps:[_angular_core.Injector,_angular_compiler.CompileReflector]},{provide:_angular_compiler.DirectiveResolver,useExisting:MockDirectiveResolver},{provide:MockNgModuleResolver,deps:[_angular_core.Injector,_angular_compiler.CompileReflector]},{provide:_angular_compiler.NgModuleResolver,useExisting:MockNgModuleResolver}]},multi:!0},{provide:_angular_core_testing.ɵTestingCompilerFactory,useClass:TestingCompilerFactoryImpl,deps:[_angular_core.CompilerFactory]}]);exports.TestingCompilerFactoryImpl=TestingCompilerFactoryImpl,exports.TestingCompilerImpl=TestingCompilerImpl,exports.platformCoreDynamicTesting=platformCoreDynamicTesting,exports.MockSchemaRegistry=MockSchemaRegistry,exports.MockDirectiveResolver=MockDirectiveResolver,exports.MockNgModuleResolver=MockNgModuleResolver,exports.MockPipeResolver=MockPipeResolver,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/compiler")):"function"==typeof define&&define.amd?define(["exports","@angular/compiler"],factory):factory((global.ng=global.ng||{},global.ng.compiler=global.ng.compiler||{},global.ng.compiler.testing=global.ng.compiler.testing||{}),global.ng.compiler)}(this,function(exports,_angular_compiler){"use strict";function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function remove(list,el){var index=list.indexOf(el);index>-1&&list.splice(index,1)}var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},MockResourceLoader=function(_super){function MockResourceLoader(){var _this=_super.apply(this,arguments)||this;return _this._expectations=[],_this._definitions=new Map,_this._requests=[],_this}return __extends(MockResourceLoader,_super),MockResourceLoader.prototype.get=function(url){var request=new _PendingRequest(url);return this._requests.push(request),request.getPromise()},MockResourceLoader.prototype.hasPendingRequests=function(){return!!this._requests.length},MockResourceLoader.prototype.expect=function(url,response){var expectation=new _Expectation(url,response);this._expectations.push(expectation)},MockResourceLoader.prototype.when=function(url,response){this._definitions.set(url,response)},MockResourceLoader.prototype.flush=function(){if(0===this._requests.length)throw new Error("No pending requests to flush");do this._processRequest(this._requests.shift());while(this._requests.length>0);this.verifyNoOutstandingExpectations()},MockResourceLoader.prototype.verifyNoOutstandingExpectations=function(){if(0!==this._expectations.length){for(var urls=[],i=0;i<this._expectations.length;i++){var expectation=this._expectations[i];urls.push(expectation.url)}throw new Error("Unsatisfied requests: "+urls.join(", "))}},MockResourceLoader.prototype._processRequest=function(request){var url=request.url;if(this._expectations.length>0){var expectation=this._expectations[0];if(expectation.url==url)return remove(this._expectations,expectation),void request.complete(expectation.response)}if(this._definitions.has(url)){var response=this._definitions.get(url);return void request.complete(null==response?null:response)}throw new Error("Unexpected request "+url)},MockResourceLoader}(_angular_compiler.ResourceLoader),_PendingRequest=function(){function _PendingRequest(url){var _this=this;this.url=url,this.promise=new Promise(function(res,rej){_this.resolve=res,_this.reject=rej})}return _PendingRequest.prototype.complete=function(response){null==response?this.reject("Failed to load "+this.url):this.resolve(response)},_PendingRequest.prototype.getPromise=function(){return this.promise},_PendingRequest}(),_Expectation=function(){function _Expectation(url,response){this.url=url,this.response=response}return _Expectation}(),MockSchemaRegistry=function(){function MockSchemaRegistry(existingProperties,attrPropMapping,existingElements,invalidProperties,invalidAttributes){this.existingProperties=existingProperties,this.attrPropMapping=attrPropMapping,this.existingElements=existingElements,this.invalidProperties=invalidProperties,this.invalidAttributes=invalidAttributes}return MockSchemaRegistry.prototype.hasProperty=function(tagName,property,schemas){var value=this.existingProperties[property];return void 0===value||value},MockSchemaRegistry.prototype.hasElement=function(tagName,schemaMetas){var value=this.existingElements[tagName.toLowerCase()];return void 0===value||value},MockSchemaRegistry.prototype.allKnownElementNames=function(){return Object.keys(this.existingElements)},MockSchemaRegistry.prototype.securityContext=function(selector,property,isAttribute){return _angular_compiler.core.SecurityContext.NONE},MockSchemaRegistry.prototype.getMappedPropName=function(attrName){return this.attrPropMapping[attrName]||attrName},MockSchemaRegistry.prototype.getDefaultComponentElementName=function(){return"ng-component"},MockSchemaRegistry.prototype.validateProperty=function(name){return this.invalidProperties.indexOf(name)>-1?{error:!0,msg:"Binding to property '"+name+"' is disallowed for security reasons"}:{error:!1}},MockSchemaRegistry.prototype.validateAttribute=function(name){return this.invalidAttributes.indexOf(name)>-1?{error:!0,msg:"Binding to attribute '"+name+"' is disallowed for security reasons"}:{error:!1}},MockSchemaRegistry.prototype.normalizeAnimationStyleProperty=function(propName){return propName},MockSchemaRegistry.prototype.normalizeAnimationStyleValue=function(camelCaseProp,userProvidedProp,val){return{error:null,value:val.toString()}},MockSchemaRegistry}(),MockDirectiveResolver=function(_super){function MockDirectiveResolver(reflector){var _this=_super.call(this,reflector)||this;return _this._directives=new Map,_this}return __extends(MockDirectiveResolver,_super),MockDirectiveResolver.prototype.resolve=function(type,throwIfNotFound){return void 0===throwIfNotFound&&(throwIfNotFound=!0),this._directives.get(type)||_super.prototype.resolve.call(this,type,throwIfNotFound)},MockDirectiveResolver.prototype.setDirective=function(type,metadata){this._directives.set(type,metadata)},MockDirectiveResolver}(_angular_compiler.DirectiveResolver),MockNgModuleResolver=function(_super){function MockNgModuleResolver(reflector){var _this=_super.call(this,reflector)||this;return _this._ngModules=new Map,_this}return __extends(MockNgModuleResolver,_super),MockNgModuleResolver.prototype.setNgModule=function(type,metadata){this._ngModules.set(type,metadata)},MockNgModuleResolver.prototype.resolve=function(type,throwIfNotFound){return void 0===throwIfNotFound&&(throwIfNotFound=!0),this._ngModules.get(type)||_super.prototype.resolve.call(this,type,throwIfNotFound)},MockNgModuleResolver}(_angular_compiler.NgModuleResolver),MockPipeResolver=function(_super){function MockPipeResolver(refector){var _this=_super.call(this,refector)||this;return _this._pipes=new Map,_this}return __extends(MockPipeResolver,_super),MockPipeResolver.prototype.setPipe=function(type,metadata){this._pipes.set(type,metadata)},MockPipeResolver.prototype.resolve=function(type,throwIfNotFound){void 0===throwIfNotFound&&(throwIfNotFound=!0);var metadata=this._pipes.get(type);return metadata||(metadata=_super.prototype.resolve.call(this,type,throwIfNotFound)),metadata},MockPipeResolver}(_angular_compiler.PipeResolver);exports.MockResourceLoader=MockResourceLoader,exports.MockSchemaRegistry=MockSchemaRegistry,exports.MockDirectiveResolver=MockDirectiveResolver,exports.MockNgModuleResolver=MockNgModuleResolver,exports.MockPipeResolver=MockPipeResolver,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=compiler-testing.umd.min.js.map |
{ | ||
"name": "@angular/compiler", | ||
"version": "5.0.0-beta.4", | ||
"version": "5.0.0-beta.5", | ||
"description": "Angular - the compiler library", | ||
@@ -14,5 +14,2 @@ "main": "./bundles/compiler.umd.js", | ||
}, | ||
"peerDependencies": { | ||
"@angular/core": "5.0.0-beta.4" | ||
}, | ||
"repository": { | ||
@@ -19,0 +16,0 @@ "type": "git", |
@@ -0,1 +1,2 @@ | ||
import { UrlResolver } from '../url_resolver'; | ||
import { AotCompiler } from './compiler'; | ||
@@ -5,2 +6,5 @@ import { AotCompilerHost } from './compiler_host'; | ||
import { StaticReflector } from './static_reflector'; | ||
export declare function createAotUrlResolver(host: { | ||
resourceNameToFileName(resourceName: string, containingFileName: string): string | null; | ||
}): UrlResolver; | ||
/** | ||
@@ -7,0 +11,0 @@ * Creates a new AotCompiler based on options and a host. |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"createAotCompiler":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"createAotCompiler":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"createAotUrlResolver":{"__symbolic":"function","parameters":["host"],"value":{"__symbolic":"error","message":"Function call not supported","line":40,"character":13}},"createAotCompiler":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"createAotUrlResolver":{"__symbolic":"function","parameters":["host"],"value":{"__symbolic":"error","message":"Function call not supported","line":40,"character":13}},"createAotCompiler":{"__symbolic":"function"}}}] |
@@ -16,2 +16,7 @@ /** | ||
/** | ||
* Converts a path that refers to a resource into an absolute filePath | ||
* that can be later on used for loading the resource via `loadResource. | ||
*/ | ||
resourceNameToFileName(resourceName: string, containingFileName: string): string | null; | ||
/** | ||
* Loads a resource (e.g. html / css) | ||
@@ -18,0 +23,0 @@ */ |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { MissingTranslationStrategy } from '@angular/core'; | ||
import { MissingTranslationStrategy } from '../core'; | ||
export interface AotCompilerOptions { | ||
@@ -11,0 +11,0 @@ locale?: string; |
@@ -46,3 +46,3 @@ /** | ||
private _compileImplFile(srcFileUrl, ngModuleByPipeOrDirective, directives, pipes, ngModules, injectables); | ||
private _createSummary(srcFileUrl, directives, pipes, ngModules, injectables, ngFactoryCtx); | ||
private _createSummary(srcFileName, directives, pipes, ngModules, injectables, ngFactoryCtx); | ||
private _compileModule(outputCtx, ngModuleType); | ||
@@ -49,0 +49,0 @@ private _compileComponentFactory(outputCtx, compMeta, ngModule, fileSuffix); |
@@ -24,3 +24,2 @@ import { CompileReflector } from '../compile_reflector'; | ||
private annotationForParentClassWithSummaryKind; | ||
private annotationNames; | ||
constructor(summaryResolver: SummaryResolver<StaticSymbol>, symbolResolver: StaticSymbolResolver, knownMetadataClasses?: { | ||
@@ -27,0 +26,0 @@ name: string; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"StaticReflector":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"reference","module":"./static_symbol_resolver","name":"StaticSymbolResolver"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":56,"character":28}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":57,"character":30}]},{"__symbolic":"error","message":"Expression form not supported","line":58,"character":30}]}],"componentModuleUrl":[{"__symbolic":"method"}],"resolveExternalReference":[{"__symbolic":"method"}],"findDeclaration":[{"__symbolic":"method"}],"tryFindDeclaration":[{"__symbolic":"method"}],"findSymbolDeclaration":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_methodNames":[{"__symbolic":"method"}],"findParentType":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"_registerDecoratorOrConstructor":[{"__symbolic":"method"}],"_registerFunction":[{"__symbolic":"method"}],"initializeConversionMap":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"trySimplify":[{"__symbolic":"method"}],"simplify":[{"__symbolic":"method"}],"getTypeMetadata":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"StaticReflector":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"reference","module":"./static_symbol_resolver","name":"StaticSymbolResolver"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":56,"character":28}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":57,"character":30}]},{"__symbolic":"error","message":"Expression form not supported","line":58,"character":30}]}],"componentModuleUrl":[{"__symbolic":"method"}],"resolveExternalReference":[{"__symbolic":"method"}],"findDeclaration":[{"__symbolic":"method"}],"tryFindDeclaration":[{"__symbolic":"method"}],"findSymbolDeclaration":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_methodNames":[{"__symbolic":"method"}],"findParentType":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"_registerDecoratorOrConstructor":[{"__symbolic":"method"}],"_registerFunction":[{"__symbolic":"method"}],"initializeConversionMap":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"trySimplify":[{"__symbolic":"method"}],"simplify":[{"__symbolic":"method"}],"getTypeMetadata":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"StaticReflector":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"reference","module":"./static_symbol_resolver","name":"StaticSymbolResolver"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":55,"character":28}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":56,"character":30}]},{"__symbolic":"error","message":"Expression form not supported","line":57,"character":30}]}],"componentModuleUrl":[{"__symbolic":"method"}],"resolveExternalReference":[{"__symbolic":"method"}],"findDeclaration":[{"__symbolic":"method"}],"tryFindDeclaration":[{"__symbolic":"method"}],"findSymbolDeclaration":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_methodNames":[{"__symbolic":"method"}],"findParentType":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"_registerDecoratorOrConstructor":[{"__symbolic":"method"}],"_registerFunction":[{"__symbolic":"method"}],"initializeConversionMap":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"trySimplify":[{"__symbolic":"method"}],"simplify":[{"__symbolic":"method"}],"getTypeMetadata":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"StaticReflector":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"reference","module":"./static_symbol_resolver","name":"StaticSymbolResolver"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":55,"character":28}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":56,"character":30}]},{"__symbolic":"error","message":"Expression form not supported","line":57,"character":30}]}],"componentModuleUrl":[{"__symbolic":"method"}],"resolveExternalReference":[{"__symbolic":"method"}],"findDeclaration":[{"__symbolic":"method"}],"tryFindDeclaration":[{"__symbolic":"method"}],"findSymbolDeclaration":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_methodNames":[{"__symbolic":"method"}],"findParentType":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"_registerDecoratorOrConstructor":[{"__symbolic":"method"}],"_registerFunction":[{"__symbolic":"method"}],"initializeConversionMap":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"trySimplify":[{"__symbolic":"method"}],"simplify":[{"__symbolic":"method"}],"getTypeMetadata":[{"__symbolic":"method"}]}}}}] |
@@ -95,2 +95,3 @@ /** | ||
recordImportAs(sourceSymbol: StaticSymbol, targetSymbol: StaticSymbol): void; | ||
recordModuleNameForFileName(fileName: string, moduleName: string): void; | ||
/** | ||
@@ -97,0 +98,0 @@ * Invalidate all information derived from the given file. |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ResolvedStaticSymbol":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"},{"__symbolic":"reference","name":"any"}]}]}},"StaticSymbolResolverHost":{"__symbolic":"interface"},"StaticSymbolResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"error","message":"Expression form not supported","line":74,"character":30}]}],"resolveSymbol":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"getResourcePath":[{"__symbolic":"method"}],"getTypeArity":[{"__symbolic":"method"}],"fileNameToModuleName":[{"__symbolic":"method"}],"recordImportAs":[{"__symbolic":"method"}],"invalidateFile":[{"__symbolic":"method"}],"ignoreErrorsFor":[{"__symbolic":"method"}],"_resolveSymbolMembers":[{"__symbolic":"method"}],"_resolveSymbolFromSummary":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"_createSymbolsOf":[{"__symbolic":"method"}],"createResolvedSymbol":[{"__symbolic":"method"}],"createExport":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"getModuleMetadata":[{"__symbolic":"method"}],"getSymbolByModule":[{"__symbolic":"method"}],"resolveModule":[{"__symbolic":"method"}]}},"unescapeIdentifier":{"__symbolic":"function","parameters":["identifier"],"value":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"startsWith"},"arguments":["___"]},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"substr"},"arguments":[1]},"elseExpression":{"__symbolic":"reference","name":"identifier"}}}}},{"__symbolic":"module","version":1,"metadata":{"ResolvedStaticSymbol":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"},{"__symbolic":"reference","name":"any"}]}]}},"StaticSymbolResolverHost":{"__symbolic":"interface"},"StaticSymbolResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"error","message":"Expression form not supported","line":74,"character":30}]}],"resolveSymbol":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"getResourcePath":[{"__symbolic":"method"}],"getTypeArity":[{"__symbolic":"method"}],"fileNameToModuleName":[{"__symbolic":"method"}],"recordImportAs":[{"__symbolic":"method"}],"invalidateFile":[{"__symbolic":"method"}],"ignoreErrorsFor":[{"__symbolic":"method"}],"_resolveSymbolMembers":[{"__symbolic":"method"}],"_resolveSymbolFromSummary":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"_createSymbolsOf":[{"__symbolic":"method"}],"createResolvedSymbol":[{"__symbolic":"method"}],"createExport":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"getModuleMetadata":[{"__symbolic":"method"}],"getSymbolByModule":[{"__symbolic":"method"}],"resolveModule":[{"__symbolic":"method"}]}},"unescapeIdentifier":{"__symbolic":"function","parameters":["identifier"],"value":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"startsWith"},"arguments":["___"]},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"substr"},"arguments":[1]},"elseExpression":{"__symbolic":"reference","name":"identifier"}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ResolvedStaticSymbol":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"},{"__symbolic":"reference","name":"any"}]}]}},"StaticSymbolResolverHost":{"__symbolic":"interface"},"StaticSymbolResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"error","message":"Expression form not supported","line":74,"character":30}]}],"resolveSymbol":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"getResourcePath":[{"__symbolic":"method"}],"getTypeArity":[{"__symbolic":"method"}],"fileNameToModuleName":[{"__symbolic":"method"}],"recordImportAs":[{"__symbolic":"method"}],"recordModuleNameForFileName":[{"__symbolic":"method"}],"invalidateFile":[{"__symbolic":"method"}],"ignoreErrorsFor":[{"__symbolic":"method"}],"_resolveSymbolMembers":[{"__symbolic":"method"}],"_resolveSymbolFromSummary":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"_createSymbolsOf":[{"__symbolic":"method"}],"createResolvedSymbol":[{"__symbolic":"method"}],"createExport":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"getModuleMetadata":[{"__symbolic":"method"}],"getSymbolByModule":[{"__symbolic":"method"}],"resolveModule":[{"__symbolic":"method"}]}},"unescapeIdentifier":{"__symbolic":"function","parameters":["identifier"],"value":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"startsWith"},"arguments":["___"]},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"substr"},"arguments":[1]},"elseExpression":{"__symbolic":"reference","name":"identifier"}}}}},{"__symbolic":"module","version":1,"metadata":{"ResolvedStaticSymbol":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"},{"__symbolic":"reference","name":"any"}]}]}},"StaticSymbolResolverHost":{"__symbolic":"interface"},"StaticSymbolResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbol"}]},{"__symbolic":"error","message":"Expression form not supported","line":74,"character":30}]}],"resolveSymbol":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"getResourcePath":[{"__symbolic":"method"}],"getTypeArity":[{"__symbolic":"method"}],"fileNameToModuleName":[{"__symbolic":"method"}],"recordImportAs":[{"__symbolic":"method"}],"recordModuleNameForFileName":[{"__symbolic":"method"}],"invalidateFile":[{"__symbolic":"method"}],"ignoreErrorsFor":[{"__symbolic":"method"}],"_resolveSymbolMembers":[{"__symbolic":"method"}],"_resolveSymbolFromSummary":[{"__symbolic":"method"}],"getStaticSymbol":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"_createSymbolsOf":[{"__symbolic":"method"}],"createResolvedSymbol":[{"__symbolic":"method"}],"createExport":[{"__symbolic":"method"}],"reportError":[{"__symbolic":"method"}],"getModuleMetadata":[{"__symbolic":"method"}],"getSymbolByModule":[{"__symbolic":"method"}],"resolveModule":[{"__symbolic":"method"}]}},"unescapeIdentifier":{"__symbolic":"function","parameters":["identifier"],"value":{"__symbolic":"if","condition":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"startsWith"},"arguments":["___"]},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"identifier"},"member":"substr"},"arguments":[1]},"elseExpression":{"__symbolic":"reference","name":"identifier"}}}}}] |
@@ -20,7 +20,15 @@ /** | ||
/** | ||
* Returns the output file path of a source file. | ||
* Converts a file name into a representation that should be stored in a summary file. | ||
* This has to include changing the suffix as well. | ||
* E.g. | ||
* `some_file.ts` -> `some_file.d.ts` | ||
* | ||
* @param referringSrcFileName the soure file that refers to fileName | ||
*/ | ||
getOutputFileName(sourceFilePath: string): string; | ||
toSummaryFileName(fileName: string, referringSrcFileName: string): string; | ||
/** | ||
* Converts a fileName that was processed by `toSummaryFileName` back into a real fileName | ||
* given the fileName of the library that is referrig to it. | ||
*/ | ||
fromSummaryFileName(fileName: string, referringLibFileName: string): string; | ||
} | ||
@@ -35,3 +43,4 @@ export declare class AotSummaryResolver implements SummaryResolver<StaticSymbol> { | ||
isLibraryFile(filePath: string): boolean; | ||
getLibraryFileName(filePath: string): string; | ||
toSummaryFileName(filePath: string, referringSrcFileName: string): string; | ||
fromSummaryFileName(fileName: string, referringLibFileName: string): string; | ||
resolveSummary(staticSymbol: StaticSymbol): Summary<StaticSymbol>; | ||
@@ -38,0 +47,0 @@ getSymbolsOf(filePath: string): StaticSymbol[]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"AotSummaryResolverHost":{"__symbolic":"interface"},"AotSummaryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"}]}],"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}],"_loadSummaryFile":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"AotSummaryResolverHost":{"__symbolic":"interface"},"AotSummaryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"}]}],"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}],"_loadSummaryFile":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"AotSummaryResolverHost":{"__symbolic":"interface"},"AotSummaryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"}]}],"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}],"_loadSummaryFile":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"AotSummaryResolverHost":{"__symbolic":"interface"},"AotSummaryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./static_symbol","name":"StaticSymbolCache"}]}],"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}],"_loadSummaryFile":[{"__symbolic":"method"}]}}}}] |
@@ -13,3 +13,3 @@ /** | ||
import { ResolvedStaticSymbol, StaticSymbolResolver } from './static_symbol_resolver'; | ||
export declare function serializeSummaries(forJitCtx: OutputContext, summaryResolver: SummaryResolver<StaticSymbol>, symbolResolver: StaticSymbolResolver, symbols: ResolvedStaticSymbol[], types: { | ||
export declare function serializeSummaries(srcFileName: string, forJitCtx: OutputContext, summaryResolver: SummaryResolver<StaticSymbol>, symbolResolver: StaticSymbolResolver, symbols: ResolvedStaticSymbol[], types: { | ||
summary: CompileTypeSummary; | ||
@@ -24,3 +24,3 @@ metadata: CompileNgModuleMetadata | CompileDirectiveMetadata | CompilePipeMetadata | CompileTypeMetadata; | ||
}; | ||
export declare function deserializeSummaries(symbolCache: StaticSymbolCache, json: string): { | ||
export declare function deserializeSummaries(symbolCache: StaticSymbolCache, summaryResolver: SummaryResolver<StaticSymbol>, libraryFileName: string, json: string): { | ||
summaries: Summary<StaticSymbol>[]; | ||
@@ -27,0 +27,0 @@ importAs: { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"serializeSummaries":{"__symbolic":"function"},"deserializeSummaries":{"__symbolic":"function"},"createForJitStub":{"__symbolic":"function","parameters":["outputCtx","reference"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":93,"character":9,"context":{"name":"createSummaryForJitFunction"}}}}},{"__symbolic":"module","version":1,"metadata":{"serializeSummaries":{"__symbolic":"function"},"deserializeSummaries":{"__symbolic":"function"},"createForJitStub":{"__symbolic":"function","parameters":["outputCtx","reference"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":93,"character":9,"context":{"name":"createSummaryForJitFunction"}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"serializeSummaries":{"__symbolic":"function"},"deserializeSummaries":{"__symbolic":"function"},"createForJitStub":{"__symbolic":"function","parameters":["outputCtx","reference"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":95,"character":9,"context":{"name":"createSummaryForJitFunction"}}}}},{"__symbolic":"module","version":1,"metadata":{"serializeSummaries":{"__symbolic":"function"},"deserializeSummaries":{"__symbolic":"function"},"createForJitStub":{"__symbolic":"function","parameters":["outputCtx","reference"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":95,"character":9,"context":{"name":"createSummaryForJitFunction"}}}}}] |
@@ -0,2 +1,9 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
export declare function assertArrayOfStrings(identifier: string, value: any): void; | ||
export declare function assertInterpolationSymbols(identifier: string, value: any): void; |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
import { ChangeDetectionStrategy, ComponentFactory, RendererType2, SchemaMetadata, Type, ViewEncapsulation } from '@angular/core'; | ||
import { StaticSymbol } from './aot/static_symbol'; | ||
import { ChangeDetectionStrategy, SchemaMetadata, Type, ViewEncapsulation } from './core'; | ||
import { LifecycleHooks } from './lifecycle_reflector'; | ||
@@ -183,3 +183,3 @@ export declare class CompileAnimationEntryMetadata { | ||
componentType: any; | ||
componentFactory: StaticSymbol | ComponentFactory<any>; | ||
componentFactory: StaticSymbol | object; | ||
} | ||
@@ -214,4 +214,4 @@ export interface CompileDirectiveSummary extends CompileTypeSummary { | ||
componentViewType: StaticSymbol | ProxyClass | null; | ||
rendererType: StaticSymbol | RendererType2 | null; | ||
componentFactory: StaticSymbol | ComponentFactory<any> | null; | ||
rendererType: StaticSymbol | object | null; | ||
componentFactory: StaticSymbol | object | null; | ||
} | ||
@@ -241,4 +241,4 @@ /** | ||
componentViewType: StaticSymbol | ProxyClass | null; | ||
rendererType: StaticSymbol | RendererType2 | null; | ||
componentFactory: StaticSymbol | ComponentFactory<any> | null; | ||
rendererType: StaticSymbol | object | null; | ||
componentFactory: StaticSymbol | object | null; | ||
}): CompileDirectiveMetadata; | ||
@@ -273,4 +273,4 @@ isHost: boolean; | ||
componentViewType: StaticSymbol | ProxyClass | null; | ||
rendererType: StaticSymbol | RendererType2 | null; | ||
componentFactory: StaticSymbol | ComponentFactory<any> | null; | ||
rendererType: StaticSymbol | object | null; | ||
componentFactory: StaticSymbol | object | null; | ||
constructor({isHost, type, isComponent, selector, exportAs, changeDetection, inputs, outputs, hostListeners, hostProperties, hostAttributes, providers, viewProviders, queries, viewQueries, entryComponents, template, componentViewType, rendererType, componentFactory}: { | ||
@@ -305,4 +305,4 @@ isHost: boolean; | ||
componentViewType: StaticSymbol | ProxyClass | null; | ||
rendererType: StaticSymbol | RendererType2 | null; | ||
componentFactory: StaticSymbol | ComponentFactory<any> | null; | ||
rendererType: StaticSymbol | object | null; | ||
componentFactory: StaticSymbol | object | null; | ||
}); | ||
@@ -403,3 +403,3 @@ toSummary(): CompileDirectiveSummary; | ||
token: any; | ||
useClass: Type<any> | null; | ||
useClass: Type | null; | ||
useValue: any; | ||
@@ -411,3 +411,3 @@ useExisting: any; | ||
constructor(token: any, {useClass, useValue, useExisting, useFactory, deps, multi}: { | ||
useClass?: Type<any>; | ||
useClass?: Type; | ||
useValue?: any; | ||
@@ -414,0 +414,0 @@ useExisting?: any; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CompileAnimationEntryMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStateMetadata"}]}]}]}},"CompileAnimationStateMetadata":{"__symbolic":"class"},"CompileAnimationStateDeclarationMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationStateTransitionMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":39,"character":50},{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}},"CompileAnimationMetadata":{"__symbolic":"class"},"CompileAnimationKeyframesSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}]}},"CompileAnimationStyleMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":54,"character":34}]}]}]}},"CompileAnimationAnimateMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationWithStepsMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationGroupMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"identifierName":{"__symbolic":"function"},"identifierModuleUrl":{"__symbolic":"function"},"viewClassName":{"__symbolic":"function","parameters":["compType","embeddedTemplateIndex"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"View_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}},"right":"_"},"right":{"__symbolic":"reference","name":"embeddedTemplateIndex"}}},"rendererTypeName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"RenderType_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"hostViewClassName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"HostView_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"componentFactoryName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]},"right":"NgFactory"}},"ProxyClass":{"__symbolic":"interface"},"CompileIdentifierMetadata":{"__symbolic":"interface"},"CompileSummaryKind":{"Pipe":0,"Directive":1,"NgModule":2,"Injectable":3},"CompileTypeSummary":{"__symbolic":"interface"},"CompileDiDependencyMetadata":{"__symbolic":"interface"},"CompileProviderMetadata":{"__symbolic":"interface"},"CompileFactoryMetadata":{"__symbolic":"interface"},"tokenName":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"value"},"right":null},"thenExpression":{"__symbolic":"error","message":"Reference to a non-exported function","line":80,"character":9,"context":{"name":"_sanitizeIdentifier"}},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"identifier"}]}}},"tokenReference":{"__symbolic":"function"},"CompileTokenMetadata":{"__symbolic":"interface"},"CompileTypeMetadata":{"__symbolic":"interface"},"CompileQueryMetadata":{"__symbolic":"interface"},"CompileStylesheetMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":224,"character":19}]}]}},"CompileTemplateSummary":{"__symbolic":"interface"},"CompileTemplateMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":256,"character":94}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileEntryComponentMetadata":{"__symbolic":"interface"},"CompileDirectiveSummary":{"__symbolic":"interface"},"CompileDirectiveMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":430,"character":96}]}],"toSummary":[{"__symbolic":"method"}]}},"createHostComponentMeta":{"__symbolic":"function"},"CompilePipeSummary":{"__symbolic":"interface"},"CompilePipeMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":553,"character":34}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileNgModuleSummary":{"__symbolic":"interface"},"CompileNgModuleMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":614,"character":64}]}],"toSummary":[{"__symbolic":"method"}]}},"TransitiveCompileNgModuleMetadata":{"__symbolic":"class","members":{"addProvider":[{"__symbolic":"method"}],"addDirective":[{"__symbolic":"method"}],"addExportedDirective":[{"__symbolic":"method"}],"addPipe":[{"__symbolic":"method"}],"addExportedPipe":[{"__symbolic":"method"}],"addModule":[{"__symbolic":"method"}],"addEntryComponent":[{"__symbolic":"method"}]}},"ProviderMeta":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":729,"character":86}]}]}},"flatten":{"__symbolic":"function","parameters":["list"],"value":{"__symbolic":"error","message":"Function call not supported","line":748,"character":21}},"sourceUrl":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":757,"character":21}},"templateSourceUrl":{"__symbolic":"function"},"sharedStylesheetJitUrl":{"__symbolic":"function"},"ngModuleJitUrl":{"__symbolic":"function","parameters":["moduleMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"moduleMeta"},"member":"type"}]},"right":"/module.ngfactory.js"}]}},"templateJitUrl":{"__symbolic":"function","parameters":["ngModuleType","compMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"reference","name":"ngModuleType"}]},"right":"/"},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"compMeta"},"member":"type"}]}},"right":".ngfactory.js"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CompileAnimationEntryMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStateMetadata"}]}]}]}},"CompileAnimationStateMetadata":{"__symbolic":"class"},"CompileAnimationStateDeclarationMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationStateTransitionMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":39,"character":50},{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}},"CompileAnimationMetadata":{"__symbolic":"class"},"CompileAnimationKeyframesSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}]}},"CompileAnimationStyleMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":54,"character":34}]}]}]}},"CompileAnimationAnimateMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationWithStepsMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationGroupMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"identifierName":{"__symbolic":"function"},"identifierModuleUrl":{"__symbolic":"function"},"viewClassName":{"__symbolic":"function","parameters":["compType","embeddedTemplateIndex"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"View_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}},"right":"_"},"right":{"__symbolic":"reference","name":"embeddedTemplateIndex"}}},"rendererTypeName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"RenderType_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"hostViewClassName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"HostView_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"componentFactoryName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]},"right":"NgFactory"}},"ProxyClass":{"__symbolic":"interface"},"CompileIdentifierMetadata":{"__symbolic":"interface"},"CompileSummaryKind":{"Pipe":0,"Directive":1,"NgModule":2,"Injectable":3},"CompileTypeSummary":{"__symbolic":"interface"},"CompileDiDependencyMetadata":{"__symbolic":"interface"},"CompileProviderMetadata":{"__symbolic":"interface"},"CompileFactoryMetadata":{"__symbolic":"interface"},"tokenName":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"value"},"right":null},"thenExpression":{"__symbolic":"error","message":"Reference to a non-exported function","line":80,"character":9,"context":{"name":"_sanitizeIdentifier"}},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"identifier"}]}}},"tokenReference":{"__symbolic":"function"},"CompileTokenMetadata":{"__symbolic":"interface"},"CompileTypeMetadata":{"__symbolic":"interface"},"CompileQueryMetadata":{"__symbolic":"interface"},"CompileStylesheetMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":224,"character":19}]}]}},"CompileTemplateSummary":{"__symbolic":"interface"},"CompileTemplateMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":256,"character":94}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileEntryComponentMetadata":{"__symbolic":"interface"},"CompileDirectiveSummary":{"__symbolic":"interface"},"CompileDirectiveMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":430,"character":96}]}],"toSummary":[{"__symbolic":"method"}]}},"createHostComponentMeta":{"__symbolic":"function"},"CompilePipeSummary":{"__symbolic":"interface"},"CompilePipeMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":553,"character":34}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileNgModuleSummary":{"__symbolic":"interface"},"CompileNgModuleMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":614,"character":64}]}],"toSummary":[{"__symbolic":"method"}]}},"TransitiveCompileNgModuleMetadata":{"__symbolic":"class","members":{"addProvider":[{"__symbolic":"method"}],"addDirective":[{"__symbolic":"method"}],"addExportedDirective":[{"__symbolic":"method"}],"addPipe":[{"__symbolic":"method"}],"addExportedPipe":[{"__symbolic":"method"}],"addModule":[{"__symbolic":"method"}],"addEntryComponent":[{"__symbolic":"method"}]}},"ProviderMeta":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":729,"character":86}]}]}},"flatten":{"__symbolic":"function","parameters":["list"],"value":{"__symbolic":"error","message":"Function call not supported","line":748,"character":21}},"sourceUrl":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":757,"character":21}},"templateSourceUrl":{"__symbolic":"function"},"sharedStylesheetJitUrl":{"__symbolic":"function"},"ngModuleJitUrl":{"__symbolic":"function","parameters":["moduleMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"moduleMeta"},"member":"type"}]},"right":"/module.ngfactory.js"}]}},"templateJitUrl":{"__symbolic":"function","parameters":["ngModuleType","compMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"reference","name":"ngModuleType"}]},"right":"/"},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"compMeta"},"member":"type"}]}},"right":".ngfactory.js"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CompileAnimationEntryMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStateMetadata"}]}]}]}},"CompileAnimationStateMetadata":{"__symbolic":"class"},"CompileAnimationStateDeclarationMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationStateTransitionMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":38,"character":50},{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}},"CompileAnimationMetadata":{"__symbolic":"class"},"CompileAnimationKeyframesSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}]}},"CompileAnimationStyleMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":53,"character":34}]}]}]}},"CompileAnimationAnimateMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationWithStepsMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationGroupMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"identifierName":{"__symbolic":"function"},"identifierModuleUrl":{"__symbolic":"function"},"viewClassName":{"__symbolic":"function","parameters":["compType","embeddedTemplateIndex"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"View_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}},"right":"_"},"right":{"__symbolic":"reference","name":"embeddedTemplateIndex"}}},"rendererTypeName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"RenderType_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"hostViewClassName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"HostView_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"componentFactoryName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]},"right":"NgFactory"}},"ProxyClass":{"__symbolic":"interface"},"CompileIdentifierMetadata":{"__symbolic":"interface"},"CompileSummaryKind":{"Pipe":0,"Directive":1,"NgModule":2,"Injectable":3},"CompileTypeSummary":{"__symbolic":"interface"},"CompileDiDependencyMetadata":{"__symbolic":"interface"},"CompileProviderMetadata":{"__symbolic":"interface"},"CompileFactoryMetadata":{"__symbolic":"interface"},"tokenName":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"value"},"right":null},"thenExpression":{"__symbolic":"error","message":"Reference to a non-exported function","line":79,"character":9,"context":{"name":"_sanitizeIdentifier"}},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"identifier"}]}}},"tokenReference":{"__symbolic":"function"},"CompileTokenMetadata":{"__symbolic":"interface"},"CompileTypeMetadata":{"__symbolic":"interface"},"CompileQueryMetadata":{"__symbolic":"interface"},"CompileStylesheetMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":223,"character":19}]}]}},"CompileTemplateSummary":{"__symbolic":"interface"},"CompileTemplateMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":255,"character":94}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileEntryComponentMetadata":{"__symbolic":"interface"},"CompileDirectiveSummary":{"__symbolic":"interface"},"CompileDirectiveMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":429,"character":96}]}],"toSummary":[{"__symbolic":"method"}]}},"createHostComponentMeta":{"__symbolic":"function"},"CompilePipeSummary":{"__symbolic":"interface"},"CompilePipeMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":553,"character":34}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileNgModuleSummary":{"__symbolic":"interface"},"CompileNgModuleMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":614,"character":64}]}],"toSummary":[{"__symbolic":"method"}]}},"TransitiveCompileNgModuleMetadata":{"__symbolic":"class","members":{"addProvider":[{"__symbolic":"method"}],"addDirective":[{"__symbolic":"method"}],"addExportedDirective":[{"__symbolic":"method"}],"addPipe":[{"__symbolic":"method"}],"addExportedPipe":[{"__symbolic":"method"}],"addModule":[{"__symbolic":"method"}],"addEntryComponent":[{"__symbolic":"method"}]}},"ProviderMeta":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":729,"character":86}]}]}},"flatten":{"__symbolic":"function","parameters":["list"],"value":{"__symbolic":"error","message":"Function call not supported","line":748,"character":21}},"sourceUrl":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":757,"character":21}},"templateSourceUrl":{"__symbolic":"function"},"sharedStylesheetJitUrl":{"__symbolic":"function"},"ngModuleJitUrl":{"__symbolic":"function","parameters":["moduleMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"moduleMeta"},"member":"type"}]},"right":"/module.ngfactory.js"}]}},"templateJitUrl":{"__symbolic":"function","parameters":["ngModuleType","compMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"reference","name":"ngModuleType"}]},"right":"/"},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"compMeta"},"member":"type"}]}},"right":".ngfactory.js"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CompileAnimationEntryMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStateMetadata"}]}]}]}},"CompileAnimationStateMetadata":{"__symbolic":"class"},"CompileAnimationStateDeclarationMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationStateTransitionMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationStateMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":38,"character":50},{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}},"CompileAnimationMetadata":{"__symbolic":"class"},"CompileAnimationKeyframesSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}]}},"CompileAnimationStyleMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":53,"character":34}]}]}]}},"CompileAnimationAnimateMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"CompileAnimationStyleMetadata"}]}]}},"CompileAnimationWithStepsMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationSequenceMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"CompileAnimationGroupMetadata":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CompileAnimationWithStepsMetadata"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"CompileAnimationMetadata"}]}]}]}},"identifierName":{"__symbolic":"function"},"identifierModuleUrl":{"__symbolic":"function"},"viewClassName":{"__symbolic":"function","parameters":["compType","embeddedTemplateIndex"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"View_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}},"right":"_"},"right":{"__symbolic":"reference","name":"embeddedTemplateIndex"}}},"rendererTypeName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"RenderType_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"hostViewClassName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":"HostView_","right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]}}},"componentFactoryName":{"__symbolic":"function","parameters":["compType"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"reference":{"__symbolic":"reference","name":"compType"}}]},"right":"NgFactory"}},"ProxyClass":{"__symbolic":"interface"},"CompileIdentifierMetadata":{"__symbolic":"interface"},"CompileSummaryKind":{"Pipe":0,"Directive":1,"NgModule":2,"Injectable":3},"CompileTypeSummary":{"__symbolic":"interface"},"CompileDiDependencyMetadata":{"__symbolic":"interface"},"CompileProviderMetadata":{"__symbolic":"interface"},"CompileFactoryMetadata":{"__symbolic":"interface"},"tokenName":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"value"},"right":null},"thenExpression":{"__symbolic":"error","message":"Reference to a non-exported function","line":79,"character":9,"context":{"name":"_sanitizeIdentifier"}},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"token"},"member":"identifier"}]}}},"tokenReference":{"__symbolic":"function"},"CompileTokenMetadata":{"__symbolic":"interface"},"CompileTypeMetadata":{"__symbolic":"interface"},"CompileQueryMetadata":{"__symbolic":"interface"},"CompileStylesheetMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":223,"character":19}]}]}},"CompileTemplateSummary":{"__symbolic":"interface"},"CompileTemplateMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":255,"character":94}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileEntryComponentMetadata":{"__symbolic":"interface"},"CompileDirectiveSummary":{"__symbolic":"interface"},"CompileDirectiveMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":429,"character":96}]}],"toSummary":[{"__symbolic":"method"}]}},"createHostComponentMeta":{"__symbolic":"function"},"CompilePipeSummary":{"__symbolic":"interface"},"CompilePipeMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":553,"character":34}]}],"toSummary":[{"__symbolic":"method"}]}},"CompileNgModuleSummary":{"__symbolic":"interface"},"CompileNgModuleMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":614,"character":64}]}],"toSummary":[{"__symbolic":"method"}]}},"TransitiveCompileNgModuleMetadata":{"__symbolic":"class","members":{"addProvider":[{"__symbolic":"method"}],"addDirective":[{"__symbolic":"method"}],"addExportedDirective":[{"__symbolic":"method"}],"addPipe":[{"__symbolic":"method"}],"addExportedPipe":[{"__symbolic":"method"}],"addModule":[{"__symbolic":"method"}],"addEntryComponent":[{"__symbolic":"method"}]}},"ProviderMeta":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"error","message":"Expression form not supported","line":729,"character":86}]}]}},"flatten":{"__symbolic":"function","parameters":["list"],"value":{"__symbolic":"error","message":"Function call not supported","line":748,"character":21}},"sourceUrl":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":757,"character":21}},"templateSourceUrl":{"__symbolic":"function"},"sharedStylesheetJitUrl":{"__symbolic":"function"},"ngModuleJitUrl":{"__symbolic":"function","parameters":["moduleMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"moduleMeta"},"member":"type"}]},"right":"/module.ngfactory.js"}]}},"templateJitUrl":{"__symbolic":"function","parameters":["ngModuleType","compMeta"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"sourceUrl"},"arguments":[{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"reference","name":"ngModuleType"}]},"right":"/"},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"identifierName"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"compMeta"},"member":"type"}]}},"right":".ngfactory.js"}]}}}}] |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { Component } from '@angular/core'; | ||
import { Component } from './core'; | ||
import * as o from './output/output_ast'; | ||
@@ -11,0 +11,0 @@ /** |
@@ -23,5 +23,6 @@ /** | ||
*/ | ||
export { VERSION } from './version'; | ||
import * as core from './core'; | ||
export { core }; | ||
export * from './version'; | ||
export * from './template_parser/template_ast'; | ||
export { TEMPLATE_TRANSFORMS } from './template_parser/template_parser'; | ||
export { CompilerConfig, preserveWhitespacesDefault } from './config'; | ||
@@ -40,5 +41,4 @@ export * from './compile_metadata'; | ||
export * from './summary_resolver'; | ||
export { Identifiers } from './identifiers'; | ||
export { JitCompiler } from './jit/compiler'; | ||
export * from './jit/compiler_factory'; | ||
export * from './jit/jit_reflector'; | ||
export * from './compile_reflector'; | ||
@@ -73,2 +73,2 @@ export * from './url_resolver'; | ||
export { ViewCompiler } from './view_compiler/view_compiler'; | ||
export { getParseErrors, isSyntaxError, syntaxError } from './util'; | ||
export { getParseErrors, isSyntaxError, syntaxError, Version } from './util'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./version","export":["VERSION"]},{"from":"./template_parser/template_ast"},{"from":"./template_parser/template_parser","export":["TEMPLATE_TRANSFORMS"]},{"from":"./config","export":["CompilerConfig","preserveWhitespacesDefault"]},{"from":"./compile_metadata"},{"from":"./aot/compiler_factory"},{"from":"./aot/compiler"},{"from":"./aot/generated_file"},{"from":"./aot/compiler_options"},{"from":"./aot/compiler_host"},{"from":"./aot/static_reflector"},{"from":"./aot/static_symbol"},{"from":"./aot/static_symbol_resolver"},{"from":"./aot/summary_resolver"},{"from":"./ast_path"},{"from":"./summary_resolver"},{"from":"./jit/compiler","export":["JitCompiler"]},{"from":"./jit/compiler_factory"},{"from":"./jit/jit_reflector"},{"from":"./compile_reflector"},{"from":"./url_resolver"},{"from":"./resource_loader"},{"from":"./directive_resolver","export":["DirectiveResolver"]},{"from":"./pipe_resolver","export":["PipeResolver"]},{"from":"./ng_module_resolver","export":["NgModuleResolver"]},{"from":"./ml_parser/interpolation_config","export":["DEFAULT_INTERPOLATION_CONFIG","InterpolationConfig"]},{"from":"./schema/element_schema_registry"},{"from":"./i18n/index"},{"from":"./directive_normalizer"},{"from":"./expression_parser/ast"},{"from":"./expression_parser/lexer"},{"from":"./expression_parser/parser"},{"from":"./metadata_resolver"},{"from":"./ml_parser/ast"},{"from":"./ml_parser/html_parser"},{"from":"./ml_parser/html_tags"},{"from":"./ml_parser/interpolation_config"},{"from":"./ml_parser/tags"},{"from":"./ng_module_compiler","export":["NgModuleCompiler"]},{"from":"./output/output_ast","export":["AssertNotNull","BinaryOperator","BinaryOperatorExpr","BuiltinMethod","BuiltinVar","CastExpr","ClassStmt","CommaExpr","CommentStmt","ConditionalExpr","DeclareFunctionStmt","DeclareVarStmt","ExpressionStatement","ExpressionVisitor","ExternalExpr","ExternalReference","FunctionExpr","IfStmt","InstantiateExpr","InvokeFunctionExpr","InvokeMethodExpr","LiteralArrayExpr","LiteralExpr","LiteralMapExpr","NotExpr","ReadKeyExpr","ReadPropExpr","ReadVarExpr","ReturnStatement","StatementVisitor","ThrowStmt","TryCatchStmt","WriteKeyExpr","WritePropExpr","WriteVarExpr","StmtModifier","Statement"]},{"from":"./output/abstract_emitter","export":["EmitterVisitorContext"]},{"from":"./output/ts_emitter"},{"from":"./parse_util"},{"from":"./schema/dom_element_schema_registry"},{"from":"./selector"},{"from":"./style_compiler"},{"from":"./template_parser/template_parser"},{"from":"./view_compiler/view_compiler","export":["ViewCompiler"]},{"from":"./util","export":["getParseErrors","isSyntaxError","syntaxError"]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./version","export":["VERSION"]},{"from":"./template_parser/template_ast"},{"from":"./template_parser/template_parser","export":["TEMPLATE_TRANSFORMS"]},{"from":"./config","export":["CompilerConfig","preserveWhitespacesDefault"]},{"from":"./compile_metadata"},{"from":"./aot/compiler_factory"},{"from":"./aot/compiler"},{"from":"./aot/generated_file"},{"from":"./aot/compiler_options"},{"from":"./aot/compiler_host"},{"from":"./aot/static_reflector"},{"from":"./aot/static_symbol"},{"from":"./aot/static_symbol_resolver"},{"from":"./aot/summary_resolver"},{"from":"./ast_path"},{"from":"./summary_resolver"},{"from":"./jit/compiler","export":["JitCompiler"]},{"from":"./jit/compiler_factory"},{"from":"./jit/jit_reflector"},{"from":"./compile_reflector"},{"from":"./url_resolver"},{"from":"./resource_loader"},{"from":"./directive_resolver","export":["DirectiveResolver"]},{"from":"./pipe_resolver","export":["PipeResolver"]},{"from":"./ng_module_resolver","export":["NgModuleResolver"]},{"from":"./ml_parser/interpolation_config","export":["DEFAULT_INTERPOLATION_CONFIG","InterpolationConfig"]},{"from":"./schema/element_schema_registry"},{"from":"./i18n/index"},{"from":"./directive_normalizer"},{"from":"./expression_parser/ast"},{"from":"./expression_parser/lexer"},{"from":"./expression_parser/parser"},{"from":"./metadata_resolver"},{"from":"./ml_parser/ast"},{"from":"./ml_parser/html_parser"},{"from":"./ml_parser/html_tags"},{"from":"./ml_parser/interpolation_config"},{"from":"./ml_parser/tags"},{"from":"./ng_module_compiler","export":["NgModuleCompiler"]},{"from":"./output/output_ast","export":["AssertNotNull","BinaryOperator","BinaryOperatorExpr","BuiltinMethod","BuiltinVar","CastExpr","ClassStmt","CommaExpr","CommentStmt","ConditionalExpr","DeclareFunctionStmt","DeclareVarStmt","ExpressionStatement","ExpressionVisitor","ExternalExpr","ExternalReference","FunctionExpr","IfStmt","InstantiateExpr","InvokeFunctionExpr","InvokeMethodExpr","LiteralArrayExpr","LiteralExpr","LiteralMapExpr","NotExpr","ReadKeyExpr","ReadPropExpr","ReadVarExpr","ReturnStatement","StatementVisitor","ThrowStmt","TryCatchStmt","WriteKeyExpr","WritePropExpr","WriteVarExpr","StmtModifier","Statement"]},{"from":"./output/abstract_emitter","export":["EmitterVisitorContext"]},{"from":"./output/ts_emitter"},{"from":"./parse_util"},{"from":"./schema/dom_element_schema_registry"},{"from":"./selector"},{"from":"./style_compiler"},{"from":"./template_parser/template_parser"},{"from":"./view_compiler/view_compiler","export":["ViewCompiler"]},{"from":"./util","export":["getParseErrors","isSyntaxError","syntaxError"]}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{"core":{"__symbolic":"reference","module":"./core"}},"exports":[{"from":"./version"},{"from":"./template_parser/template_ast"},{"from":"./config","export":["CompilerConfig","preserveWhitespacesDefault"]},{"from":"./compile_metadata"},{"from":"./aot/compiler_factory"},{"from":"./aot/compiler"},{"from":"./aot/generated_file"},{"from":"./aot/compiler_options"},{"from":"./aot/compiler_host"},{"from":"./aot/static_reflector"},{"from":"./aot/static_symbol"},{"from":"./aot/static_symbol_resolver"},{"from":"./aot/summary_resolver"},{"from":"./ast_path"},{"from":"./summary_resolver"},{"from":"./identifiers","export":["Identifiers"]},{"from":"./jit/compiler","export":["JitCompiler"]},{"from":"./compile_reflector"},{"from":"./url_resolver"},{"from":"./resource_loader"},{"from":"./directive_resolver","export":["DirectiveResolver"]},{"from":"./pipe_resolver","export":["PipeResolver"]},{"from":"./ng_module_resolver","export":["NgModuleResolver"]},{"from":"./ml_parser/interpolation_config","export":["DEFAULT_INTERPOLATION_CONFIG","InterpolationConfig"]},{"from":"./schema/element_schema_registry"},{"from":"./i18n/index"},{"from":"./directive_normalizer"},{"from":"./expression_parser/ast"},{"from":"./expression_parser/lexer"},{"from":"./expression_parser/parser"},{"from":"./metadata_resolver"},{"from":"./ml_parser/ast"},{"from":"./ml_parser/html_parser"},{"from":"./ml_parser/html_tags"},{"from":"./ml_parser/interpolation_config"},{"from":"./ml_parser/tags"},{"from":"./ng_module_compiler","export":["NgModuleCompiler"]},{"from":"./output/output_ast","export":["AssertNotNull","BinaryOperator","BinaryOperatorExpr","BuiltinMethod","BuiltinVar","CastExpr","ClassStmt","CommaExpr","CommentStmt","ConditionalExpr","DeclareFunctionStmt","DeclareVarStmt","ExpressionStatement","ExpressionVisitor","ExternalExpr","ExternalReference","FunctionExpr","IfStmt","InstantiateExpr","InvokeFunctionExpr","InvokeMethodExpr","LiteralArrayExpr","LiteralExpr","LiteralMapExpr","NotExpr","ReadKeyExpr","ReadPropExpr","ReadVarExpr","ReturnStatement","StatementVisitor","ThrowStmt","TryCatchStmt","WriteKeyExpr","WritePropExpr","WriteVarExpr","StmtModifier","Statement"]},{"from":"./output/abstract_emitter","export":["EmitterVisitorContext"]},{"from":"./output/ts_emitter"},{"from":"./parse_util"},{"from":"./schema/dom_element_schema_registry"},{"from":"./selector"},{"from":"./style_compiler"},{"from":"./template_parser/template_parser"},{"from":"./view_compiler/view_compiler","export":["ViewCompiler"]},{"from":"./util","export":["getParseErrors","isSyntaxError","syntaxError","Version"]}]},{"__symbolic":"module","version":1,"metadata":{"core":{"__symbolic":"reference","module":"./core"}},"exports":[{"from":"./version"},{"from":"./template_parser/template_ast"},{"from":"./config","export":["CompilerConfig","preserveWhitespacesDefault"]},{"from":"./compile_metadata"},{"from":"./aot/compiler_factory"},{"from":"./aot/compiler"},{"from":"./aot/generated_file"},{"from":"./aot/compiler_options"},{"from":"./aot/compiler_host"},{"from":"./aot/static_reflector"},{"from":"./aot/static_symbol"},{"from":"./aot/static_symbol_resolver"},{"from":"./aot/summary_resolver"},{"from":"./ast_path"},{"from":"./summary_resolver"},{"from":"./identifiers","export":["Identifiers"]},{"from":"./jit/compiler","export":["JitCompiler"]},{"from":"./compile_reflector"},{"from":"./url_resolver"},{"from":"./resource_loader"},{"from":"./directive_resolver","export":["DirectiveResolver"]},{"from":"./pipe_resolver","export":["PipeResolver"]},{"from":"./ng_module_resolver","export":["NgModuleResolver"]},{"from":"./ml_parser/interpolation_config","export":["DEFAULT_INTERPOLATION_CONFIG","InterpolationConfig"]},{"from":"./schema/element_schema_registry"},{"from":"./i18n/index"},{"from":"./directive_normalizer"},{"from":"./expression_parser/ast"},{"from":"./expression_parser/lexer"},{"from":"./expression_parser/parser"},{"from":"./metadata_resolver"},{"from":"./ml_parser/ast"},{"from":"./ml_parser/html_parser"},{"from":"./ml_parser/html_tags"},{"from":"./ml_parser/interpolation_config"},{"from":"./ml_parser/tags"},{"from":"./ng_module_compiler","export":["NgModuleCompiler"]},{"from":"./output/output_ast","export":["AssertNotNull","BinaryOperator","BinaryOperatorExpr","BuiltinMethod","BuiltinVar","CastExpr","ClassStmt","CommaExpr","CommentStmt","ConditionalExpr","DeclareFunctionStmt","DeclareVarStmt","ExpressionStatement","ExpressionVisitor","ExternalExpr","ExternalReference","FunctionExpr","IfStmt","InstantiateExpr","InvokeFunctionExpr","InvokeMethodExpr","LiteralArrayExpr","LiteralExpr","LiteralMapExpr","NotExpr","ReadKeyExpr","ReadPropExpr","ReadVarExpr","ReturnStatement","StatementVisitor","ThrowStmt","TryCatchStmt","WriteKeyExpr","WritePropExpr","WriteVarExpr","StmtModifier","Statement"]},{"from":"./output/abstract_emitter","export":["EmitterVisitorContext"]},{"from":"./output/ts_emitter"},{"from":"./parse_util"},{"from":"./schema/dom_element_schema_registry"},{"from":"./selector"},{"from":"./style_compiler"},{"from":"./template_parser/template_parser"},{"from":"./view_compiler/view_compiler","export":["ViewCompiler"]},{"from":"./util","export":["getParseErrors","isSyntaxError","syntaxError","Version"]}]}] |
@@ -1,9 +0,2 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { MissingTranslationStrategy, ViewEncapsulation } from '@angular/core'; | ||
import { MissingTranslationStrategy, ViewEncapsulation } from './core'; | ||
export declare class CompilerConfig { | ||
@@ -13,7 +6,9 @@ defaultEncapsulation: ViewEncapsulation | null; | ||
useJit: boolean; | ||
jitDevMode: boolean; | ||
missingTranslation: MissingTranslationStrategy | null; | ||
preserveWhitespaces: boolean; | ||
constructor({defaultEncapsulation, useJit, missingTranslation, enableLegacyTemplate, preserveWhitespaces}?: { | ||
constructor({defaultEncapsulation, useJit, jitDevMode, missingTranslation, enableLegacyTemplate, preserveWhitespaces}?: { | ||
defaultEncapsulation?: ViewEncapsulation; | ||
useJit?: boolean; | ||
jitDevMode?: boolean; | ||
missingTranslation?: MissingTranslationStrategy; | ||
@@ -20,0 +15,0 @@ enableLegacyTemplate?: boolean; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CompilerConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":51}]}]}},"preserveWhitespacesDefault":{"__symbolic":"function","parameters":["preserveWhitespacesOption","defaultSetting"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"preserveWhitespacesOption"},"right":null},"thenExpression":{"__symbolic":"reference","name":"defaultSetting"},"elseExpression":{"__symbolic":"reference","name":"preserveWhitespacesOption"}},"defaults":[null,true]}}},{"__symbolic":"module","version":1,"metadata":{"CompilerConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":51}]}]}},"preserveWhitespacesDefault":{"__symbolic":"function","parameters":["preserveWhitespacesOption","defaultSetting"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"preserveWhitespacesOption"},"right":null},"thenExpression":{"__symbolic":"reference","name":"defaultSetting"},"elseExpression":{"__symbolic":"reference","name":"preserveWhitespacesOption"}},"defaults":[null,true]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CompilerConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":26,"character":71}]}]}},"preserveWhitespacesDefault":{"__symbolic":"function","parameters":["preserveWhitespacesOption","defaultSetting"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"preserveWhitespacesOption"},"right":null},"thenExpression":{"__symbolic":"reference","name":"defaultSetting"},"elseExpression":{"__symbolic":"reference","name":"preserveWhitespacesOption"}},"defaults":[null,true]}}},{"__symbolic":"module","version":1,"metadata":{"CompilerConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":26,"character":71}]}]}},"preserveWhitespacesDefault":{"__symbolic":"function","parameters":["preserveWhitespacesOption","defaultSetting"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"preserveWhitespacesOption"},"right":null},"thenExpression":{"__symbolic":"reference","name":"defaultSetting"},"elseExpression":{"__symbolic":"reference","name":"preserveWhitespacesOption"}},"defaults":[null,true]}}}] |
@@ -8,5 +8,5 @@ /** | ||
*/ | ||
import { ViewEncapsulation } from '@angular/core'; | ||
import { CompileAnimationEntryMetadata, CompileDirectiveMetadata, CompileStylesheetMetadata, CompileTemplateMetadata } from './compile_metadata'; | ||
import { CompilerConfig } from './config'; | ||
import { ViewEncapsulation } from './core'; | ||
import { HtmlParser } from './ml_parser/html_parser'; | ||
@@ -13,0 +13,0 @@ import { ResourceLoader } from './resource_loader'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"PrenormalizedTemplateMetadata":{"__symbolic":"interface"},"DirectiveNormalizer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./resource_loader","name":"ResourceLoader"},{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"},{"__symbolic":"reference","module":"./ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","module":"./config","name":"CompilerConfig"}]}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"_fetch":[{"__symbolic":"method"}],"normalizeTemplate":[{"__symbolic":"method"}],"normalizeTemplateOnly":[{"__symbolic":"method"}],"normalizeLoadedTemplate":[{"__symbolic":"method"}],"normalizeExternalStylesheets":[{"__symbolic":"method"}],"_loadMissingExternalStylesheets":[{"__symbolic":"method"}],"normalizeStylesheet":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PrenormalizedTemplateMetadata":{"__symbolic":"interface"},"DirectiveNormalizer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./resource_loader","name":"ResourceLoader"},{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"},{"__symbolic":"reference","module":"./ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","module":"./config","name":"CompilerConfig"}]}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"_fetch":[{"__symbolic":"method"}],"normalizeTemplate":[{"__symbolic":"method"}],"normalizeTemplateOnly":[{"__symbolic":"method"}],"normalizeLoadedTemplate":[{"__symbolic":"method"}],"normalizeExternalStylesheets":[{"__symbolic":"method"}],"_loadMissingExternalStylesheets":[{"__symbolic":"method"}],"normalizeStylesheet":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"PrenormalizedTemplateMetadata":{"__symbolic":"interface"},"DirectiveNormalizer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./resource_loader","name":"ResourceLoader"},{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"},{"__symbolic":"reference","module":"./ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","module":"./config","name":"CompilerConfig"}]}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"_fetch":[{"__symbolic":"method"}],"normalizeTemplate":[{"__symbolic":"method"}],"normalizeTemplateOnly":[{"__symbolic":"method"}],"normalizeLoadedTemplate":[{"__symbolic":"method"}],"normalizeExternalStylesheets":[{"__symbolic":"method"}],"_loadMissingExternalStylesheets":[{"__symbolic":"method"}],"normalizeStylesheet":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PrenormalizedTemplateMetadata":{"__symbolic":"interface"},"DirectiveNormalizer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./resource_loader","name":"ResourceLoader"},{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"},{"__symbolic":"reference","module":"./ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","module":"./config","name":"CompilerConfig"}]}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"_fetch":[{"__symbolic":"method"}],"normalizeTemplate":[{"__symbolic":"method"}],"normalizeTemplateOnly":[{"__symbolic":"method"}],"normalizeLoadedTemplate":[{"__symbolic":"method"}],"normalizeExternalStylesheets":[{"__symbolic":"method"}],"_loadMissingExternalStylesheets":[{"__symbolic":"method"}],"normalizeStylesheet":[{"__symbolic":"method"}]}}}}] |
@@ -8,14 +8,14 @@ /** | ||
*/ | ||
import { Directive, Type } from '@angular/core'; | ||
import { CompileReflector } from './compile_reflector'; | ||
import { Directive, Type } from './core'; | ||
export declare class DirectiveResolver { | ||
private _reflector; | ||
constructor(_reflector: CompileReflector); | ||
isDirective(type: Type<any>): boolean; | ||
isDirective(type: Type): boolean; | ||
/** | ||
* Return {@link Directive} for a given `Type`. | ||
*/ | ||
resolve(type: Type<any>): Directive; | ||
resolve(type: Type<any>, throwIfNotFound: true): Directive; | ||
resolve(type: Type<any>, throwIfNotFound: boolean): Directive | null; | ||
resolve(type: Type): Directive; | ||
resolve(type: Type, throwIfNotFound: true): Directive; | ||
resolve(type: Type, throwIfNotFound: boolean): Directive | null; | ||
private _mergeWithPropertyMetadata(dm, propertyMetadata, directiveType); | ||
@@ -22,0 +22,0 @@ private _extractPublicName(def); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"DirectiveResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isDirective":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_mergeWithPropertyMetadata":[{"__symbolic":"method"}],"_extractPublicName":[{"__symbolic":"method"}],"_dedupeBindings":[{"__symbolic":"method"}],"_merge":[{"__symbolic":"method"}]}},"findLast":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"DirectiveResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isDirective":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_mergeWithPropertyMetadata":[{"__symbolic":"method"}],"_extractPublicName":[{"__symbolic":"method"}],"_dedupeBindings":[{"__symbolic":"method"}],"_merge":[{"__symbolic":"method"}]}},"findLast":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"DirectiveResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isDirective":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_mergeWithPropertyMetadata":[{"__symbolic":"method"}],"_extractPublicName":[{"__symbolic":"method"}],"_dedupeBindings":[{"__symbolic":"method"}],"_merge":[{"__symbolic":"method"}]}},"findLast":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"DirectiveResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isDirective":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_mergeWithPropertyMetadata":[{"__symbolic":"method"}],"_extractPublicName":[{"__symbolic":"method"}],"_dedupeBindings":[{"__symbolic":"method"}],"_merge":[{"__symbolic":"method"}]}},"findLast":{"__symbolic":"function"}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ParserError":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ParseSpan":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"AST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"Quote":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EmptyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"ImplicitReceiver":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"Chain":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Conditional":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"SafePropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"BindingPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralPrimitive":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}]}},"LiteralArray":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralMap":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":143,"character":44,"context":{"typeName":"LiteralMapKey"}}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Interpolation":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Binary":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PrefixNot":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"NonNullAssert":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"MethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"SafeMethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"FunctionCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"ASTWithSource":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ParserError"}]}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"TemplateBinding":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"ASTWithSource"}]}]}},"AstVisitor":{"__symbolic":"interface"},"NullAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"AstTransformer":{"__symbolic":"class","members":{"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitBinary":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"visitAstChildren":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"ParserError":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ParseSpan":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"AST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"Quote":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EmptyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"ImplicitReceiver":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"Chain":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Conditional":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"SafePropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"BindingPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralPrimitive":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}]}},"LiteralArray":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralMap":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":143,"character":44,"context":{"typeName":"LiteralMapKey"}}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Interpolation":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Binary":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PrefixNot":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"NonNullAssert":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"MethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"SafeMethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"FunctionCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"ASTWithSource":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ParserError"}]}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"TemplateBinding":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"ASTWithSource"}]}]}},"AstVisitor":{"__symbolic":"interface"},"NullAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"AstTransformer":{"__symbolic":"class","members":{"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitBinary":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"visitAstChildren":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ParserError":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ParseSpan":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"AST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"Quote":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EmptyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"ImplicitReceiver":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"Chain":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Conditional":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"SafePropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"BindingPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralPrimitive":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}]}},"LiteralArray":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralMapKey":{"__symbolic":"interface"},"LiteralMap":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":143,"character":44,"context":{"typeName":"LiteralMapKey"}}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Interpolation":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Binary":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PrefixNot":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"NonNullAssert":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"MethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"SafeMethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"FunctionCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"ASTWithSource":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ParserError"}]}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"TemplateBinding":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"ASTWithSource"}]}]}},"AstVisitor":{"__symbolic":"interface"},"NullAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"AstTransformer":{"__symbolic":"class","members":{"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitBinary":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"visitAstChildren":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"ParserError":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ParseSpan":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"AST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"Quote":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EmptyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"ImplicitReceiver":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"visit":[{"__symbolic":"method"}]}},"Chain":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Conditional":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"SafePropertyRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedRead":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"KeyedWrite":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"BindingPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralPrimitive":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"any"}]}],"visit":[{"__symbolic":"method"}]}},"LiteralArray":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"LiteralMapKey":{"__symbolic":"interface"},"LiteralMap":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":143,"character":44,"context":{"typeName":"LiteralMapKey"}}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Interpolation":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"Binary":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"PrefixNot":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"NonNullAssert":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"}]}],"visit":[{"__symbolic":"method"}]}},"MethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"SafeMethodCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"FunctionCall":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"visit":[{"__symbolic":"method"}]}},"ASTWithSource":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AST"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ParserError"}]}]}],"visit":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"TemplateBinding":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ParseSpan"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"ASTWithSource"}]}]}},"AstVisitor":{"__symbolic":"interface"},"NullAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitBinary":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"AstTransformer":{"__symbolic":"class","members":{"visitImplicitReceiver":[{"__symbolic":"method"}],"visitInterpolation":[{"__symbolic":"method"}],"visitLiteralPrimitive":[{"__symbolic":"method"}],"visitPropertyRead":[{"__symbolic":"method"}],"visitPropertyWrite":[{"__symbolic":"method"}],"visitSafePropertyRead":[{"__symbolic":"method"}],"visitMethodCall":[{"__symbolic":"method"}],"visitSafeMethodCall":[{"__symbolic":"method"}],"visitFunctionCall":[{"__symbolic":"method"}],"visitLiteralArray":[{"__symbolic":"method"}],"visitLiteralMap":[{"__symbolic":"method"}],"visitBinary":[{"__symbolic":"method"}],"visitPrefixNot":[{"__symbolic":"method"}],"visitNonNullAssert":[{"__symbolic":"method"}],"visitConditional":[{"__symbolic":"method"}],"visitPipe":[{"__symbolic":"method"}],"visitKeyedRead":[{"__symbolic":"method"}],"visitKeyedWrite":[{"__symbolic":"method"}],"visitAll":[{"__symbolic":"method"}],"visitChain":[{"__symbolic":"method"}],"visitQuote":[{"__symbolic":"method"}]}},"visitAstChildren":{"__symbolic":"function"}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TokenType":{"Character":0,"Identifier":1,"Keyword":2,"String":3,"Operator":4,"Number":5,"Error":6},"Lexer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"tokenize":[{"__symbolic":"method"}]}},"Token":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"error","message":"Could not resolve type","line":39,"character":41,"context":{"typeName":"TokenType"}},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}],"isCharacter":[{"__symbolic":"method"}],"isNumber":[{"__symbolic":"method"}],"isString":[{"__symbolic":"method"}],"isOperator":[{"__symbolic":"method"}],"isIdentifier":[{"__symbolic":"method"}],"isKeyword":[{"__symbolic":"method"}],"isKeywordLet":[{"__symbolic":"method"}],"isKeywordAs":[{"__symbolic":"method"}],"isKeywordNull":[{"__symbolic":"method"}],"isKeywordUndefined":[{"__symbolic":"method"}],"isKeywordTrue":[{"__symbolic":"method"}],"isKeywordFalse":[{"__symbolic":"method"}],"isKeywordThis":[{"__symbolic":"method"}],"isError":[{"__symbolic":"method"}],"toNumber":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EOF":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Token"},"arguments":[-1,{"__symbolic":"select","expression":{"__symbolic":"reference","name":"TokenType"},"member":"Character"},0,""]},"isIdentifier":{"__symbolic":"function"},"isQuote":{"__symbolic":"function","parameters":["code"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$SQ"}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$DQ"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$BT"}}}}}},{"__symbolic":"module","version":1,"metadata":{"TokenType":{"Character":0,"Identifier":1,"Keyword":2,"String":3,"Operator":4,"Number":5,"Error":6},"Lexer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"tokenize":[{"__symbolic":"method"}]}},"Token":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"error","message":"Could not resolve type","line":39,"character":41,"context":{"typeName":"TokenType"}},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}],"isCharacter":[{"__symbolic":"method"}],"isNumber":[{"__symbolic":"method"}],"isString":[{"__symbolic":"method"}],"isOperator":[{"__symbolic":"method"}],"isIdentifier":[{"__symbolic":"method"}],"isKeyword":[{"__symbolic":"method"}],"isKeywordLet":[{"__symbolic":"method"}],"isKeywordAs":[{"__symbolic":"method"}],"isKeywordNull":[{"__symbolic":"method"}],"isKeywordUndefined":[{"__symbolic":"method"}],"isKeywordTrue":[{"__symbolic":"method"}],"isKeywordFalse":[{"__symbolic":"method"}],"isKeywordThis":[{"__symbolic":"method"}],"isError":[{"__symbolic":"method"}],"toNumber":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EOF":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Token"},"arguments":[-1,{"__symbolic":"select","expression":{"__symbolic":"reference","name":"TokenType"},"member":"Character"},0,""]},"isIdentifier":{"__symbolic":"function"},"isQuote":{"__symbolic":"function","parameters":["code"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$SQ"}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$DQ"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$BT"}}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"TokenType":{"Character":0,"Identifier":1,"Keyword":2,"String":3,"Operator":4,"Number":5,"Error":6},"Lexer":{"__symbolic":"class","members":{"tokenize":[{"__symbolic":"method"}]}},"Token":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"error","message":"Could not resolve type","line":37,"character":41,"context":{"typeName":"TokenType"}},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}],"isCharacter":[{"__symbolic":"method"}],"isNumber":[{"__symbolic":"method"}],"isString":[{"__symbolic":"method"}],"isOperator":[{"__symbolic":"method"}],"isIdentifier":[{"__symbolic":"method"}],"isKeyword":[{"__symbolic":"method"}],"isKeywordLet":[{"__symbolic":"method"}],"isKeywordAs":[{"__symbolic":"method"}],"isKeywordNull":[{"__symbolic":"method"}],"isKeywordUndefined":[{"__symbolic":"method"}],"isKeywordTrue":[{"__symbolic":"method"}],"isKeywordFalse":[{"__symbolic":"method"}],"isKeywordThis":[{"__symbolic":"method"}],"isError":[{"__symbolic":"method"}],"toNumber":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EOF":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Token"},"arguments":[-1,{"__symbolic":"select","expression":{"__symbolic":"reference","name":"TokenType"},"member":"Character"},0,""]},"isIdentifier":{"__symbolic":"function"},"isQuote":{"__symbolic":"function","parameters":["code"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$SQ"}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$DQ"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$BT"}}}}}},{"__symbolic":"module","version":1,"metadata":{"TokenType":{"Character":0,"Identifier":1,"Keyword":2,"String":3,"Operator":4,"Number":5,"Error":6},"Lexer":{"__symbolic":"class","members":{"tokenize":[{"__symbolic":"method"}]}},"Token":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"error","message":"Could not resolve type","line":37,"character":41,"context":{"typeName":"TokenType"}},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}],"isCharacter":[{"__symbolic":"method"}],"isNumber":[{"__symbolic":"method"}],"isString":[{"__symbolic":"method"}],"isOperator":[{"__symbolic":"method"}],"isIdentifier":[{"__symbolic":"method"}],"isKeyword":[{"__symbolic":"method"}],"isKeywordLet":[{"__symbolic":"method"}],"isKeywordAs":[{"__symbolic":"method"}],"isKeywordNull":[{"__symbolic":"method"}],"isKeywordUndefined":[{"__symbolic":"method"}],"isKeywordTrue":[{"__symbolic":"method"}],"isKeywordFalse":[{"__symbolic":"method"}],"isKeywordThis":[{"__symbolic":"method"}],"isError":[{"__symbolic":"method"}],"toNumber":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"EOF":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Token"},"arguments":[-1,{"__symbolic":"select","expression":{"__symbolic":"reference","name":"TokenType"},"member":"Character"},0,""]},"isIdentifier":{"__symbolic":"function"},"isQuote":{"__symbolic":"function","parameters":["code"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$SQ"}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$DQ"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"code"},"right":{"__symbolic":"reference","module":"../chars","name":"$BT"}}}}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"SplitInterpolation":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"number"}]}]}]}},"TemplateBindingParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"TemplateBinding"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]}]}]}},"Parser":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./lexer","name":"Lexer"}]}],"parseAction":[{"__symbolic":"method"}],"parseBinding":[{"__symbolic":"method"}],"parseSimpleBinding":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_parseBindingAst":[{"__symbolic":"method"}],"_parseQuote":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"splitInterpolation":[{"__symbolic":"method"}],"wrapLiteralPrimitive":[{"__symbolic":"method"}],"_stripComments":[{"__symbolic":"method"}],"_commentStart":[{"__symbolic":"method"}],"_checkNoInterpolation":[{"__symbolic":"method"}],"_findInterpolationErrorColumn":[{"__symbolic":"method"}]}},"_ParseAST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./lexer","name":"Token"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]},{"__symbolic":"reference","name":"number"}]}],"peek":[{"__symbolic":"method"}],"span":[{"__symbolic":"method"}],"advance":[{"__symbolic":"method"}],"optionalCharacter":[{"__symbolic":"method"}],"peekKeywordLet":[{"__symbolic":"method"}],"peekKeywordAs":[{"__symbolic":"method"}],"expectCharacter":[{"__symbolic":"method"}],"optionalOperator":[{"__symbolic":"method"}],"expectOperator":[{"__symbolic":"method"}],"expectIdentifierOrKeyword":[{"__symbolic":"method"}],"expectIdentifierOrKeywordOrString":[{"__symbolic":"method"}],"parseChain":[{"__symbolic":"method"}],"parsePipe":[{"__symbolic":"method"}],"parseExpression":[{"__symbolic":"method"}],"parseConditional":[{"__symbolic":"method"}],"parseLogicalOr":[{"__symbolic":"method"}],"parseLogicalAnd":[{"__symbolic":"method"}],"parseEquality":[{"__symbolic":"method"}],"parseRelational":[{"__symbolic":"method"}],"parseAdditive":[{"__symbolic":"method"}],"parseMultiplicative":[{"__symbolic":"method"}],"parsePrefix":[{"__symbolic":"method"}],"parseCallChain":[{"__symbolic":"method"}],"parsePrimary":[{"__symbolic":"method"}],"parseExpressionList":[{"__symbolic":"method"}],"parseLiteralMap":[{"__symbolic":"method"}],"parseAccessMemberOrMethodCall":[{"__symbolic":"method"}],"parseCallArguments":[{"__symbolic":"method"}],"expectTemplateBindingKey":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"locationText":[{"__symbolic":"method"}],"skip":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"SplitInterpolation":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"number"}]}]}]}},"TemplateBindingParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"TemplateBinding"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]}]}]}},"Parser":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./lexer","name":"Lexer"}]}],"parseAction":[{"__symbolic":"method"}],"parseBinding":[{"__symbolic":"method"}],"parseSimpleBinding":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_parseBindingAst":[{"__symbolic":"method"}],"_parseQuote":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"splitInterpolation":[{"__symbolic":"method"}],"wrapLiteralPrimitive":[{"__symbolic":"method"}],"_stripComments":[{"__symbolic":"method"}],"_commentStart":[{"__symbolic":"method"}],"_checkNoInterpolation":[{"__symbolic":"method"}],"_findInterpolationErrorColumn":[{"__symbolic":"method"}]}},"_ParseAST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./lexer","name":"Token"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]},{"__symbolic":"reference","name":"number"}]}],"peek":[{"__symbolic":"method"}],"span":[{"__symbolic":"method"}],"advance":[{"__symbolic":"method"}],"optionalCharacter":[{"__symbolic":"method"}],"peekKeywordLet":[{"__symbolic":"method"}],"peekKeywordAs":[{"__symbolic":"method"}],"expectCharacter":[{"__symbolic":"method"}],"optionalOperator":[{"__symbolic":"method"}],"expectOperator":[{"__symbolic":"method"}],"expectIdentifierOrKeyword":[{"__symbolic":"method"}],"expectIdentifierOrKeywordOrString":[{"__symbolic":"method"}],"parseChain":[{"__symbolic":"method"}],"parsePipe":[{"__symbolic":"method"}],"parseExpression":[{"__symbolic":"method"}],"parseConditional":[{"__symbolic":"method"}],"parseLogicalOr":[{"__symbolic":"method"}],"parseLogicalAnd":[{"__symbolic":"method"}],"parseEquality":[{"__symbolic":"method"}],"parseRelational":[{"__symbolic":"method"}],"parseAdditive":[{"__symbolic":"method"}],"parseMultiplicative":[{"__symbolic":"method"}],"parsePrefix":[{"__symbolic":"method"}],"parseCallChain":[{"__symbolic":"method"}],"parsePrimary":[{"__symbolic":"method"}],"parseExpressionList":[{"__symbolic":"method"}],"parseLiteralMap":[{"__symbolic":"method"}],"parseAccessMemberOrMethodCall":[{"__symbolic":"method"}],"parseCallArguments":[{"__symbolic":"method"}],"expectTemplateBindingKey":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"locationText":[{"__symbolic":"method"}],"skip":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"SplitInterpolation":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"number"}]}]}]}},"TemplateBindingParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"TemplateBinding"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]}]}]}},"Parser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./lexer","name":"Lexer"}]}],"parseAction":[{"__symbolic":"method"}],"parseBinding":[{"__symbolic":"method"}],"parseSimpleBinding":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_parseBindingAst":[{"__symbolic":"method"}],"_parseQuote":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"splitInterpolation":[{"__symbolic":"method"}],"wrapLiteralPrimitive":[{"__symbolic":"method"}],"_stripComments":[{"__symbolic":"method"}],"_commentStart":[{"__symbolic":"method"}],"_checkNoInterpolation":[{"__symbolic":"method"}],"_findInterpolationErrorColumn":[{"__symbolic":"method"}]}},"_ParseAST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./lexer","name":"Token"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]},{"__symbolic":"reference","name":"number"}]}],"peek":[{"__symbolic":"method"}],"span":[{"__symbolic":"method"}],"advance":[{"__symbolic":"method"}],"optionalCharacter":[{"__symbolic":"method"}],"peekKeywordLet":[{"__symbolic":"method"}],"peekKeywordAs":[{"__symbolic":"method"}],"expectCharacter":[{"__symbolic":"method"}],"optionalOperator":[{"__symbolic":"method"}],"expectOperator":[{"__symbolic":"method"}],"expectIdentifierOrKeyword":[{"__symbolic":"method"}],"expectIdentifierOrKeywordOrString":[{"__symbolic":"method"}],"parseChain":[{"__symbolic":"method"}],"parsePipe":[{"__symbolic":"method"}],"parseExpression":[{"__symbolic":"method"}],"parseConditional":[{"__symbolic":"method"}],"parseLogicalOr":[{"__symbolic":"method"}],"parseLogicalAnd":[{"__symbolic":"method"}],"parseEquality":[{"__symbolic":"method"}],"parseRelational":[{"__symbolic":"method"}],"parseAdditive":[{"__symbolic":"method"}],"parseMultiplicative":[{"__symbolic":"method"}],"parsePrefix":[{"__symbolic":"method"}],"parseCallChain":[{"__symbolic":"method"}],"parsePrimary":[{"__symbolic":"method"}],"parseExpressionList":[{"__symbolic":"method"}],"parseLiteralMap":[{"__symbolic":"method"}],"parseAccessMemberOrMethodCall":[{"__symbolic":"method"}],"parseCallArguments":[{"__symbolic":"method"}],"expectTemplateBindingKey":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"locationText":[{"__symbolic":"method"}],"skip":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"SplitInterpolation":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"number"}]}]}]}},"TemplateBindingParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"TemplateBinding"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]}]}]}},"Parser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./lexer","name":"Lexer"}]}],"parseAction":[{"__symbolic":"method"}],"parseBinding":[{"__symbolic":"method"}],"parseSimpleBinding":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_parseBindingAst":[{"__symbolic":"method"}],"_parseQuote":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"splitInterpolation":[{"__symbolic":"method"}],"wrapLiteralPrimitive":[{"__symbolic":"method"}],"_stripComments":[{"__symbolic":"method"}],"_commentStart":[{"__symbolic":"method"}],"_checkNoInterpolation":[{"__symbolic":"method"}],"_findInterpolationErrorColumn":[{"__symbolic":"method"}]}},"_ParseAST":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./lexer","name":"Token"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./ast","name":"ParserError"}]},{"__symbolic":"reference","name":"number"}]}],"peek":[{"__symbolic":"method"}],"span":[{"__symbolic":"method"}],"advance":[{"__symbolic":"method"}],"optionalCharacter":[{"__symbolic":"method"}],"peekKeywordLet":[{"__symbolic":"method"}],"peekKeywordAs":[{"__symbolic":"method"}],"expectCharacter":[{"__symbolic":"method"}],"optionalOperator":[{"__symbolic":"method"}],"expectOperator":[{"__symbolic":"method"}],"expectIdentifierOrKeyword":[{"__symbolic":"method"}],"expectIdentifierOrKeywordOrString":[{"__symbolic":"method"}],"parseChain":[{"__symbolic":"method"}],"parsePipe":[{"__symbolic":"method"}],"parseExpression":[{"__symbolic":"method"}],"parseConditional":[{"__symbolic":"method"}],"parseLogicalOr":[{"__symbolic":"method"}],"parseLogicalAnd":[{"__symbolic":"method"}],"parseEquality":[{"__symbolic":"method"}],"parseRelational":[{"__symbolic":"method"}],"parseAdditive":[{"__symbolic":"method"}],"parseMultiplicative":[{"__symbolic":"method"}],"parsePrefix":[{"__symbolic":"method"}],"parseCallChain":[{"__symbolic":"method"}],"parsePrimary":[{"__symbolic":"method"}],"parseExpressionList":[{"__symbolic":"method"}],"parseLiteralMap":[{"__symbolic":"method"}],"parseAccessMemberOrMethodCall":[{"__symbolic":"method"}],"parseCallArguments":[{"__symbolic":"method"}],"expectTemplateBindingKey":[{"__symbolic":"method"}],"parseTemplateBindings":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"locationText":[{"__symbolic":"method"}],"skip":[{"__symbolic":"method"}]}}}}] |
@@ -12,2 +12,7 @@ import { StaticReflector } from '../aot/static_reflector'; | ||
/** | ||
* Converts a path that refers to a resource into an absolute filePath | ||
* that can be lateron used for loading the resource via `loadResource. | ||
*/ | ||
resourceNameToFileName(path: string, containingFile: string): string | null; | ||
/** | ||
* Loads a resource (e.g. html / css) | ||
@@ -14,0 +19,0 @@ */ |
@@ -8,6 +8,7 @@ /** | ||
*/ | ||
import { MissingTranslationStrategy, ɵConsole as Console } from '@angular/core'; | ||
import { MissingTranslationStrategy } from '../core'; | ||
import { HtmlParser } from '../ml_parser/html_parser'; | ||
import { InterpolationConfig } from '../ml_parser/interpolation_config'; | ||
import { ParseTreeResult } from '../ml_parser/parser'; | ||
import { Console } from '../util'; | ||
export declare class I18NHtmlParser implements HtmlParser { | ||
@@ -14,0 +15,0 @@ private _htmlParser; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"I18NHtmlParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"parse":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"I18NHtmlParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"parse":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"I18NHtmlParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"../util","name":"Console"}]}],"parse":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"I18NHtmlParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../ml_parser/html_parser","name":"HtmlParser"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"../util","name":"Console"}]}],"parse":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,5 @@ /** | ||
*/ | ||
import { MissingTranslationStrategy, ɵConsole as Console } from '@angular/core'; | ||
import { MissingTranslationStrategy } from '../core'; | ||
import * as html from '../ml_parser/ast'; | ||
import { Console } from '../util'; | ||
import * as i18n from './i18n_ast'; | ||
@@ -12,0 +13,0 @@ import { PlaceholderMapper, Serializer } from './serializers/serializer'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TranslationBundle":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":33},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":23,"character":21},{"__symbolic":"error","message":"Expression form not supported","line":24,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TranslationBundle":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":33},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":23,"character":21},{"__symbolic":"error","message":"Expression form not supported","line":24,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"TranslationBundle":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":25,"character":33},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":26,"character":21},{"__symbolic":"error","message":"Expression form not supported","line":27,"character":29},{"__symbolic":"reference","module":"../core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"../util","name":"Console"}]}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TranslationBundle":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":25,"character":33},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":26,"character":21},{"__symbolic":"error","message":"Expression form not supported","line":27,"character":29},{"__symbolic":"reference","module":"../core","name":"MissingTranslationStrategy"},{"__symbolic":"reference","module":"../util","name":"Console"}]}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}]}}}}] |
@@ -0,1 +1,8 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { CompileTokenMetadata } from './compile_metadata'; | ||
@@ -2,0 +9,0 @@ import { CompileReflector } from './compile_reflector'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Identifiers":{"__symbolic":"class","statics":{"ANALYZE_FOR_ENTRY_COMPONENTS":{"name":"ANALYZE_FOR_ENTRY_COMPONENTS","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"}},"ElementRef":{"name":"ElementRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}},"NgModuleRef":{"name":"NgModuleRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleRef"}},"ViewContainerRef":{"name":"ViewContainerRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}},"ChangeDetectorRef":{"name":"ChangeDetectorRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}},"QueryList":{"name":"QueryList","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"QueryList"}},"TemplateRef":{"name":"TemplateRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}},"CodegenComponentFactoryResolver":{"name":"ɵCodegenComponentFactoryResolver","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵCodegenComponentFactoryResolver"}},"ComponentFactoryResolver":{"name":"ComponentFactoryResolver","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}},"ComponentFactory":{"name":"ComponentFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactory"}},"ComponentRef":{"name":"ComponentRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentRef"}},"NgModuleFactory":{"name":"NgModuleFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactory"}},"createModuleFactory":{"name":"ɵcmf","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵcmf"}},"moduleDef":{"name":"ɵmod","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵmod"}},"moduleProviderDef":{"name":"ɵmpd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵmpd"}},"RegisterModuleFactoryFn":{"name":"ɵregisterModuleFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵregisterModuleFactory"}},"Injector":{"name":"Injector","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"Injector"}},"ViewEncapsulation":{"name":"ViewEncapsulation","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"}},"ChangeDetectionStrategy":{"name":"ChangeDetectionStrategy","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"}},"SecurityContext":{"name":"SecurityContext","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"SecurityContext"}},"LOCALE_ID":{"name":"LOCALE_ID","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}},"TRANSLATIONS_FORMAT":{"name":"TRANSLATIONS_FORMAT","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"TRANSLATIONS_FORMAT"}},"inlineInterpolate":{"name":"ɵinlineInterpolate","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵinlineInterpolate"}},"interpolate":{"name":"ɵinterpolate","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵinterpolate"}},"EMPTY_ARRAY":{"name":"ɵEMPTY_ARRAY","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵEMPTY_ARRAY"}},"EMPTY_MAP":{"name":"ɵEMPTY_MAP","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵEMPTY_MAP"}},"Renderer":{"name":"Renderer","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}},"viewDef":{"name":"ɵvid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵvid"}},"elementDef":{"name":"ɵeld","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵeld"}},"anchorDef":{"name":"ɵand","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵand"}},"textDef":{"name":"ɵted","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵted"}},"directiveDef":{"name":"ɵdid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵdid"}},"providerDef":{"name":"ɵprd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵprd"}},"queryDef":{"name":"ɵqud","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵqud"}},"pureArrayDef":{"name":"ɵpad","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpad"}},"pureObjectDef":{"name":"ɵpod","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpod"}},"purePipeDef":{"name":"ɵppd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵppd"}},"pipeDef":{"name":"ɵpid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpid"}},"nodeValue":{"name":"ɵnov","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵnov"}},"ngContentDef":{"name":"ɵncd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵncd"}},"unwrapValue":{"name":"ɵunv","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵunv"}},"createRendererType2":{"name":"ɵcrt","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵcrt"}},"RendererType2":{"name":"RendererType2","moduleName":"@angular/core","runtime":null},"ViewDefinition":{"name":"ɵViewDefinition","moduleName":"@angular/core","runtime":null},"createComponentFactory":{"name":"ɵccf","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵccf"}}}},"createTokenForReference":{"__symbolic":"function","parameters":["reference"],"value":{"identifier":{"reference":{"__symbolic":"reference","name":"reference"}}}},"createTokenForExternalReference":{"__symbolic":"function","parameters":["reflector","reference"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createTokenForReference"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"reflector"},"member":"resolveExternalReference"},"arguments":[{"__symbolic":"reference","name":"reference"}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"Identifiers":{"__symbolic":"class","statics":{"ANALYZE_FOR_ENTRY_COMPONENTS":{"name":"ANALYZE_FOR_ENTRY_COMPONENTS","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS"}},"ElementRef":{"name":"ElementRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}},"NgModuleRef":{"name":"NgModuleRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleRef"}},"ViewContainerRef":{"name":"ViewContainerRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}},"ChangeDetectorRef":{"name":"ChangeDetectorRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}},"QueryList":{"name":"QueryList","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"QueryList"}},"TemplateRef":{"name":"TemplateRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}},"CodegenComponentFactoryResolver":{"name":"ɵCodegenComponentFactoryResolver","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵCodegenComponentFactoryResolver"}},"ComponentFactoryResolver":{"name":"ComponentFactoryResolver","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}},"ComponentFactory":{"name":"ComponentFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactory"}},"ComponentRef":{"name":"ComponentRef","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ComponentRef"}},"NgModuleFactory":{"name":"NgModuleFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"NgModuleFactory"}},"createModuleFactory":{"name":"ɵcmf","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵcmf"}},"moduleDef":{"name":"ɵmod","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵmod"}},"moduleProviderDef":{"name":"ɵmpd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵmpd"}},"RegisterModuleFactoryFn":{"name":"ɵregisterModuleFactory","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵregisterModuleFactory"}},"Injector":{"name":"Injector","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"Injector"}},"ViewEncapsulation":{"name":"ViewEncapsulation","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"}},"ChangeDetectionStrategy":{"name":"ChangeDetectionStrategy","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"}},"SecurityContext":{"name":"SecurityContext","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"SecurityContext"}},"LOCALE_ID":{"name":"LOCALE_ID","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}},"TRANSLATIONS_FORMAT":{"name":"TRANSLATIONS_FORMAT","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"TRANSLATIONS_FORMAT"}},"inlineInterpolate":{"name":"ɵinlineInterpolate","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵinlineInterpolate"}},"interpolate":{"name":"ɵinterpolate","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵinterpolate"}},"EMPTY_ARRAY":{"name":"ɵEMPTY_ARRAY","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵEMPTY_ARRAY"}},"EMPTY_MAP":{"name":"ɵEMPTY_MAP","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵEMPTY_MAP"}},"Renderer":{"name":"Renderer","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}},"viewDef":{"name":"ɵvid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵvid"}},"elementDef":{"name":"ɵeld","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵeld"}},"anchorDef":{"name":"ɵand","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵand"}},"textDef":{"name":"ɵted","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵted"}},"directiveDef":{"name":"ɵdid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵdid"}},"providerDef":{"name":"ɵprd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵprd"}},"queryDef":{"name":"ɵqud","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵqud"}},"pureArrayDef":{"name":"ɵpad","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpad"}},"pureObjectDef":{"name":"ɵpod","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpod"}},"purePipeDef":{"name":"ɵppd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵppd"}},"pipeDef":{"name":"ɵpid","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵpid"}},"nodeValue":{"name":"ɵnov","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵnov"}},"ngContentDef":{"name":"ɵncd","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵncd"}},"unwrapValue":{"name":"ɵunv","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵunv"}},"createRendererType2":{"name":"ɵcrt","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵcrt"}},"RendererType2":{"name":"RendererType2","moduleName":"@angular/core","runtime":null},"ViewDefinition":{"name":"ɵViewDefinition","moduleName":"@angular/core","runtime":null},"createComponentFactory":{"name":"ɵccf","moduleName":"@angular/core","runtime":{"__symbolic":"reference","module":"@angular/core","name":"ɵccf"}}}},"createTokenForReference":{"__symbolic":"function","parameters":["reference"],"value":{"identifier":{"reference":{"__symbolic":"reference","name":"reference"}}}},"createTokenForExternalReference":{"__symbolic":"function","parameters":["reflector","reference"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createTokenForReference"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"reflector"},"member":"resolveExternalReference"},"arguments":[{"__symbolic":"reference","name":"reference"}]}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"Identifiers":{"__symbolic":"class","statics":{"ANALYZE_FOR_ENTRY_COMPONENTS":{"name":"ANALYZE_FOR_ENTRY_COMPONENTS","moduleName":"@angular/core"},"ElementRef":{"name":"ElementRef","moduleName":"@angular/core"},"NgModuleRef":{"name":"NgModuleRef","moduleName":"@angular/core"},"ViewContainerRef":{"name":"ViewContainerRef","moduleName":"@angular/core"},"ChangeDetectorRef":{"name":"ChangeDetectorRef","moduleName":"@angular/core"},"QueryList":{"name":"QueryList","moduleName":"@angular/core"},"TemplateRef":{"name":"TemplateRef","moduleName":"@angular/core"},"CodegenComponentFactoryResolver":{"name":"ɵCodegenComponentFactoryResolver","moduleName":"@angular/core"},"ComponentFactoryResolver":{"name":"ComponentFactoryResolver","moduleName":"@angular/core"},"ComponentFactory":{"name":"ComponentFactory","moduleName":"@angular/core"},"ComponentRef":{"name":"ComponentRef","moduleName":"@angular/core"},"NgModuleFactory":{"name":"NgModuleFactory","moduleName":"@angular/core"},"createModuleFactory":{"name":"ɵcmf","moduleName":"@angular/core"},"moduleDef":{"name":"ɵmod","moduleName":"@angular/core"},"moduleProviderDef":{"name":"ɵmpd","moduleName":"@angular/core"},"RegisterModuleFactoryFn":{"name":"ɵregisterModuleFactory","moduleName":"@angular/core"},"Injector":{"name":"Injector","moduleName":"@angular/core"},"ViewEncapsulation":{"name":"ViewEncapsulation","moduleName":"@angular/core"},"ChangeDetectionStrategy":{"name":"ChangeDetectionStrategy","moduleName":"@angular/core"},"SecurityContext":{"name":"SecurityContext","moduleName":"@angular/core"},"LOCALE_ID":{"name":"LOCALE_ID","moduleName":"@angular/core"},"TRANSLATIONS_FORMAT":{"name":"TRANSLATIONS_FORMAT","moduleName":"@angular/core"},"inlineInterpolate":{"name":"ɵinlineInterpolate","moduleName":"@angular/core"},"interpolate":{"name":"ɵinterpolate","moduleName":"@angular/core"},"EMPTY_ARRAY":{"name":"ɵEMPTY_ARRAY","moduleName":"@angular/core"},"EMPTY_MAP":{"name":"ɵEMPTY_MAP","moduleName":"@angular/core"},"Renderer":{"name":"Renderer","moduleName":"@angular/core"},"viewDef":{"name":"ɵvid","moduleName":"@angular/core"},"elementDef":{"name":"ɵeld","moduleName":"@angular/core"},"anchorDef":{"name":"ɵand","moduleName":"@angular/core"},"textDef":{"name":"ɵted","moduleName":"@angular/core"},"directiveDef":{"name":"ɵdid","moduleName":"@angular/core"},"providerDef":{"name":"ɵprd","moduleName":"@angular/core"},"queryDef":{"name":"ɵqud","moduleName":"@angular/core"},"pureArrayDef":{"name":"ɵpad","moduleName":"@angular/core"},"pureObjectDef":{"name":"ɵpod","moduleName":"@angular/core"},"purePipeDef":{"name":"ɵppd","moduleName":"@angular/core"},"pipeDef":{"name":"ɵpid","moduleName":"@angular/core"},"nodeValue":{"name":"ɵnov","moduleName":"@angular/core"},"ngContentDef":{"name":"ɵncd","moduleName":"@angular/core"},"unwrapValue":{"name":"ɵunv","moduleName":"@angular/core"},"createRendererType2":{"name":"ɵcrt","moduleName":"@angular/core"},"RendererType2":{"name":"RendererType2","moduleName":"@angular/core"},"ViewDefinition":{"name":"ɵViewDefinition","moduleName":"@angular/core"},"createComponentFactory":{"name":"ɵccf","moduleName":"@angular/core"}}},"createTokenForReference":{"__symbolic":"function","parameters":["reference"],"value":{"identifier":{"reference":{"__symbolic":"reference","name":"reference"}}}},"createTokenForExternalReference":{"__symbolic":"function","parameters":["reflector","reference"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createTokenForReference"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"reflector"},"member":"resolveExternalReference"},"arguments":[{"__symbolic":"reference","name":"reference"}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"Identifiers":{"__symbolic":"class","statics":{"ANALYZE_FOR_ENTRY_COMPONENTS":{"name":"ANALYZE_FOR_ENTRY_COMPONENTS","moduleName":"@angular/core"},"ElementRef":{"name":"ElementRef","moduleName":"@angular/core"},"NgModuleRef":{"name":"NgModuleRef","moduleName":"@angular/core"},"ViewContainerRef":{"name":"ViewContainerRef","moduleName":"@angular/core"},"ChangeDetectorRef":{"name":"ChangeDetectorRef","moduleName":"@angular/core"},"QueryList":{"name":"QueryList","moduleName":"@angular/core"},"TemplateRef":{"name":"TemplateRef","moduleName":"@angular/core"},"CodegenComponentFactoryResolver":{"name":"ɵCodegenComponentFactoryResolver","moduleName":"@angular/core"},"ComponentFactoryResolver":{"name":"ComponentFactoryResolver","moduleName":"@angular/core"},"ComponentFactory":{"name":"ComponentFactory","moduleName":"@angular/core"},"ComponentRef":{"name":"ComponentRef","moduleName":"@angular/core"},"NgModuleFactory":{"name":"NgModuleFactory","moduleName":"@angular/core"},"createModuleFactory":{"name":"ɵcmf","moduleName":"@angular/core"},"moduleDef":{"name":"ɵmod","moduleName":"@angular/core"},"moduleProviderDef":{"name":"ɵmpd","moduleName":"@angular/core"},"RegisterModuleFactoryFn":{"name":"ɵregisterModuleFactory","moduleName":"@angular/core"},"Injector":{"name":"Injector","moduleName":"@angular/core"},"ViewEncapsulation":{"name":"ViewEncapsulation","moduleName":"@angular/core"},"ChangeDetectionStrategy":{"name":"ChangeDetectionStrategy","moduleName":"@angular/core"},"SecurityContext":{"name":"SecurityContext","moduleName":"@angular/core"},"LOCALE_ID":{"name":"LOCALE_ID","moduleName":"@angular/core"},"TRANSLATIONS_FORMAT":{"name":"TRANSLATIONS_FORMAT","moduleName":"@angular/core"},"inlineInterpolate":{"name":"ɵinlineInterpolate","moduleName":"@angular/core"},"interpolate":{"name":"ɵinterpolate","moduleName":"@angular/core"},"EMPTY_ARRAY":{"name":"ɵEMPTY_ARRAY","moduleName":"@angular/core"},"EMPTY_MAP":{"name":"ɵEMPTY_MAP","moduleName":"@angular/core"},"Renderer":{"name":"Renderer","moduleName":"@angular/core"},"viewDef":{"name":"ɵvid","moduleName":"@angular/core"},"elementDef":{"name":"ɵeld","moduleName":"@angular/core"},"anchorDef":{"name":"ɵand","moduleName":"@angular/core"},"textDef":{"name":"ɵted","moduleName":"@angular/core"},"directiveDef":{"name":"ɵdid","moduleName":"@angular/core"},"providerDef":{"name":"ɵprd","moduleName":"@angular/core"},"queryDef":{"name":"ɵqud","moduleName":"@angular/core"},"pureArrayDef":{"name":"ɵpad","moduleName":"@angular/core"},"pureObjectDef":{"name":"ɵpod","moduleName":"@angular/core"},"purePipeDef":{"name":"ɵppd","moduleName":"@angular/core"},"pipeDef":{"name":"ɵpid","moduleName":"@angular/core"},"nodeValue":{"name":"ɵnov","moduleName":"@angular/core"},"ngContentDef":{"name":"ɵncd","moduleName":"@angular/core"},"unwrapValue":{"name":"ɵunv","moduleName":"@angular/core"},"createRendererType2":{"name":"ɵcrt","moduleName":"@angular/core"},"RendererType2":{"name":"RendererType2","moduleName":"@angular/core"},"ViewDefinition":{"name":"ɵViewDefinition","moduleName":"@angular/core"},"createComponentFactory":{"name":"ɵccf","moduleName":"@angular/core"}}},"createTokenForReference":{"__symbolic":"function","parameters":["reference"],"value":{"identifier":{"reference":{"__symbolic":"reference","name":"reference"}}}},"createTokenForExternalReference":{"__symbolic":"function","parameters":["reflector","reference"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createTokenForReference"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"reflector"},"member":"resolveExternalReference"},"arguments":[{"__symbolic":"reference","name":"reference"}]}]}}}}] |
@@ -8,4 +8,6 @@ /** | ||
*/ | ||
import { Compiler, ComponentFactory, Injector, ModuleWithComponentFactories, NgModuleFactory, Type, ɵConsole as Console } from '@angular/core'; | ||
import { CompileProviderMetadata } from '../compile_metadata'; | ||
import { CompileReflector } from '../compile_reflector'; | ||
import { CompilerConfig } from '../config'; | ||
import { Type } from '../core'; | ||
import { CompileMetadataResolver } from '../metadata_resolver'; | ||
@@ -16,3 +18,8 @@ import { NgModuleCompiler } from '../ng_module_compiler'; | ||
import { TemplateParser } from '../template_parser/template_parser'; | ||
import { Console } from '../util'; | ||
import { ViewCompiler } from '../view_compiler/view_compiler'; | ||
export interface ModuleWithComponentFactories { | ||
ngModuleFactory: object; | ||
componentFactories: object[]; | ||
} | ||
/** | ||
@@ -27,4 +34,3 @@ * An internal module of the Angular compiler that begins with component types, | ||
*/ | ||
export declare class JitCompiler implements Compiler { | ||
private _injector; | ||
export declare class JitCompiler { | ||
private _metadataResolver; | ||
@@ -36,4 +42,6 @@ private _templateParser; | ||
private _summaryResolver; | ||
private _reflector; | ||
private _compilerConfig; | ||
private _console; | ||
private getExtraNgModuleProviders; | ||
private _compiledTemplateCache; | ||
@@ -44,18 +52,17 @@ private _compiledHostTemplateCache; | ||
private _sharedStylesheetCount; | ||
constructor(_injector: Injector, _metadataResolver: CompileMetadataResolver, _templateParser: TemplateParser, _styleCompiler: StyleCompiler, _viewCompiler: ViewCompiler, _ngModuleCompiler: NgModuleCompiler, _summaryResolver: SummaryResolver<Type<any>>, _compilerConfig: CompilerConfig, _console: Console); | ||
readonly injector: Injector; | ||
compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>; | ||
compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>; | ||
compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>; | ||
compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>; | ||
getNgContentSelectors(component: Type<any>): string[]; | ||
getComponentFactory<T>(component: Type<T>): ComponentFactory<T>; | ||
constructor(_metadataResolver: CompileMetadataResolver, _templateParser: TemplateParser, _styleCompiler: StyleCompiler, _viewCompiler: ViewCompiler, _ngModuleCompiler: NgModuleCompiler, _summaryResolver: SummaryResolver<Type>, _reflector: CompileReflector, _compilerConfig: CompilerConfig, _console: Console, getExtraNgModuleProviders: (ngModule: any) => CompileProviderMetadata[]); | ||
compileModuleSync(moduleType: Type): object; | ||
compileModuleAsync(moduleType: Type): Promise<object>; | ||
compileModuleAndAllComponentsSync(moduleType: Type): ModuleWithComponentFactories; | ||
compileModuleAndAllComponentsAsync(moduleType: Type): Promise<ModuleWithComponentFactories>; | ||
getNgContentSelectors(component: Type): string[]; | ||
getComponentFactory(component: Type): object; | ||
loadAotSummaries(summaries: () => any[]): void; | ||
hasAotSummary(ref: Type<any>): boolean; | ||
hasAotSummary(ref: Type): boolean; | ||
private _filterJitIdentifiers(ids); | ||
private _compileModuleAndComponents<T>(moduleType, isSync); | ||
private _compileModuleAndAllComponents<T>(moduleType, isSync); | ||
private _compileModuleAndComponents(moduleType, isSync); | ||
private _compileModuleAndAllComponents(moduleType, isSync); | ||
private _loadModules(mainModule, isSync); | ||
private _compileModule<T>(moduleType); | ||
clearCacheFor(type: Type<any>): void; | ||
private _compileModule(moduleType); | ||
clearCacheFor(type: Type): void; | ||
clearCache(): void; | ||
@@ -67,2 +74,3 @@ private _createCompiledHostTemplate(compType, ngModule); | ||
private _resolveAndEvalStylesCompileResult(result, externalStylesheetsByModuleUrl); | ||
private _interpretOrJit(sourceUrl, statements); | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"JitCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"../metadata_resolver","name":"CompileMetadataResolver"},{"__symbolic":"reference","module":"../template_parser/template_parser","name":"TemplateParser"},{"__symbolic":"reference","module":"../style_compiler","name":"StyleCompiler"},{"__symbolic":"reference","module":"../view_compiler/view_compiler","name":"ViewCompiler"},{"__symbolic":"reference","module":"../ng_module_compiler","name":"NgModuleCompiler"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Type","arguments":[{"__symbolic":"reference","name":"any"}]}]},{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"_filterJitIdentifiers":[{"__symbolic":"method"}],"_compileModuleAndComponents":[{"__symbolic":"method"}],"_compileModuleAndAllComponents":[{"__symbolic":"method"}],"_loadModules":[{"__symbolic":"method"}],"_compileModule":[{"__symbolic":"method"}],"_compileComponents":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createCompiledHostTemplate":[{"__symbolic":"method"}],"_createCompiledTemplate":[{"__symbolic":"method"}],"_compileTemplate":[{"__symbolic":"method"}],"_resolveStylesCompileResult":[{"__symbolic":"method"}],"_resolveAndEvalStylesCompileResult":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JitCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"../metadata_resolver","name":"CompileMetadataResolver"},{"__symbolic":"reference","module":"../template_parser/template_parser","name":"TemplateParser"},{"__symbolic":"reference","module":"../style_compiler","name":"StyleCompiler"},{"__symbolic":"reference","module":"../view_compiler/view_compiler","name":"ViewCompiler"},{"__symbolic":"reference","module":"../ng_module_compiler","name":"NgModuleCompiler"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Type","arguments":[{"__symbolic":"reference","name":"any"}]}]},{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"_filterJitIdentifiers":[{"__symbolic":"method"}],"_compileModuleAndComponents":[{"__symbolic":"method"}],"_compileModuleAndAllComponents":[{"__symbolic":"method"}],"_loadModules":[{"__symbolic":"method"}],"_compileModule":[{"__symbolic":"method"}],"_compileComponents":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createCompiledHostTemplate":[{"__symbolic":"method"}],"_createCompiledTemplate":[{"__symbolic":"method"}],"_compileTemplate":[{"__symbolic":"method"}],"_resolveStylesCompileResult":[{"__symbolic":"method"}],"_resolveAndEvalStylesCompileResult":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ModuleWithComponentFactories":{"__symbolic":"interface"},"JitCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../metadata_resolver","name":"CompileMetadataResolver"},{"__symbolic":"reference","module":"../template_parser/template_parser","name":"TemplateParser"},{"__symbolic":"reference","module":"../style_compiler","name":"StyleCompiler"},{"__symbolic":"reference","module":"../view_compiler/view_compiler","name":"ViewCompiler"},{"__symbolic":"reference","module":"../ng_module_compiler","name":"NgModuleCompiler"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"../core","name":"Type"}]},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../util","name":"Console"},{"__symbolic":"error","message":"Expression form not supported","line":50,"character":41}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"_filterJitIdentifiers":[{"__symbolic":"method"}],"_compileModuleAndComponents":[{"__symbolic":"method"}],"_compileModuleAndAllComponents":[{"__symbolic":"method"}],"_loadModules":[{"__symbolic":"method"}],"_compileModule":[{"__symbolic":"method"}],"_compileComponents":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createCompiledHostTemplate":[{"__symbolic":"method"}],"_createCompiledTemplate":[{"__symbolic":"method"}],"_compileTemplate":[{"__symbolic":"method"}],"_resolveStylesCompileResult":[{"__symbolic":"method"}],"_resolveAndEvalStylesCompileResult":[{"__symbolic":"method"}],"_interpretOrJit":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ModuleWithComponentFactories":{"__symbolic":"interface"},"JitCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../metadata_resolver","name":"CompileMetadataResolver"},{"__symbolic":"reference","module":"../template_parser/template_parser","name":"TemplateParser"},{"__symbolic":"reference","module":"../style_compiler","name":"StyleCompiler"},{"__symbolic":"reference","module":"../view_compiler/view_compiler","name":"ViewCompiler"},{"__symbolic":"reference","module":"../ng_module_compiler","name":"NgModuleCompiler"},{"__symbolic":"reference","module":"../summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","module":"../core","name":"Type"}]},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../util","name":"Console"},{"__symbolic":"error","message":"Expression form not supported","line":50,"character":41}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"hasAotSummary":[{"__symbolic":"method"}],"_filterJitIdentifiers":[{"__symbolic":"method"}],"_compileModuleAndComponents":[{"__symbolic":"method"}],"_compileModuleAndAllComponents":[{"__symbolic":"method"}],"_loadModules":[{"__symbolic":"method"}],"_compileModule":[{"__symbolic":"method"}],"_compileComponents":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createCompiledHostTemplate":[{"__symbolic":"method"}],"_createCompiledTemplate":[{"__symbolic":"method"}],"_compileTemplate":[{"__symbolic":"method"}],"_resolveStylesCompileResult":[{"__symbolic":"method"}],"_resolveAndEvalStylesCompileResult":[{"__symbolic":"method"}],"_interpretOrJit":[{"__symbolic":"method"}]}}}}] |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
import { Directive, InjectionToken, Type, ɵConsole as Console } from '@angular/core'; | ||
import { StaticSymbol, StaticSymbolCache } from './aot/static_symbol'; | ||
@@ -14,2 +13,3 @@ import * as cpl from './compile_metadata'; | ||
import { CompilerConfig } from './config'; | ||
import { Directive, Type } from './core'; | ||
import { DirectiveNormalizer } from './directive_normalizer'; | ||
@@ -21,5 +21,5 @@ import { DirectiveResolver } from './directive_resolver'; | ||
import { SummaryResolver } from './summary_resolver'; | ||
import { SyncAsync } from './util'; | ||
import { Console, SyncAsync } from './util'; | ||
export declare type ErrorCollector = (error: any, type?: any) => void; | ||
export declare const ERROR_COLLECTOR_TOKEN: InjectionToken<{}>; | ||
export declare const ERROR_COMPONENT_TYPE = "ngComponentType"; | ||
export declare class CompileMetadataResolver { | ||
@@ -45,3 +45,3 @@ private _config; | ||
getReflector(): CompileReflector; | ||
clearCacheFor(type: Type<any>): void; | ||
clearCacheFor(type: Type): void; | ||
clearCache(): void; | ||
@@ -52,3 +52,3 @@ private _createProxyClass(baseType, name); | ||
getHostComponentViewClass(dirType: any): StaticSymbol | cpl.ProxyClass; | ||
getHostComponentType(dirType: any): StaticSymbol | Type<any>; | ||
getHostComponentType(dirType: any): StaticSymbol | Type; | ||
private getRendererType(dirType); | ||
@@ -55,0 +55,0 @@ private getComponentFactory(selector, dirType, inputs, outputs); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ERROR_COLLECTOR_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ErrorCollector"]},"CompileMetadataResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ERROR_COLLECTOR_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"./config","name":"CompilerConfig"},{"__symbolic":"reference","module":"./ng_module_resolver","name":"NgModuleResolver"},{"__symbolic":"reference","module":"./directive_resolver","name":"DirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver","name":"PipeResolver"},{"__symbolic":"reference","module":"./summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"./schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"./directive_normalizer","name":"DirectiveNormalizer"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"},{"__symbolic":"reference","module":"./aot/static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"},{"__symbolic":"error","message":"Could not resolve type","line":55,"character":75,"context":{"typeName":"ErrorCollector"}}]}],"getReflector":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createProxyClass":[{"__symbolic":"method"}],"getGeneratedClass":[{"__symbolic":"method"}],"getComponentViewClass":[{"__symbolic":"method"}],"getHostComponentViewClass":[{"__symbolic":"method"}],"getHostComponentType":[{"__symbolic":"method"}],"getRendererType":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"initComponentFactory":[{"__symbolic":"method"}],"_loadSummary":[{"__symbolic":"method"}],"loadDirectiveMetadata":[{"__symbolic":"method"}],"getNonNormalizedDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveSummary":[{"__symbolic":"method"}],"isDirective":[{"__symbolic":"method"}],"isPipe":[{"__symbolic":"method"}],"isNgModule":[{"__symbolic":"method"}],"getNgModuleSummary":[{"__symbolic":"method"}],"loadNgModuleDirectiveAndPipeMetadata":[{"__symbolic":"method"}],"getNgModuleMetadata":[{"__symbolic":"method"}],"_checkSelfImport":[{"__symbolic":"method"}],"_getTypeDescriptor":[{"__symbolic":"method"}],"_addTypeToModule":[{"__symbolic":"method"}],"_getTransitiveNgModuleMetadata":[{"__symbolic":"method"}],"_getIdentifierMetadata":[{"__symbolic":"method"}],"isInjectable":[{"__symbolic":"method"}],"getInjectableSummary":[{"__symbolic":"method"}],"_getInjectableMetadata":[{"__symbolic":"method"}],"_getTypeMetadata":[{"__symbolic":"method"}],"_getFactoryMetadata":[{"__symbolic":"method"}],"getPipeMetadata":[{"__symbolic":"method"}],"getPipeSummary":[{"__symbolic":"method"}],"getOrLoadPipeMetadata":[{"__symbolic":"method"}],"_loadPipeMetadata":[{"__symbolic":"method"}],"_getDependenciesMetadata":[{"__symbolic":"method"}],"_getTokenMetadata":[{"__symbolic":"method"}],"_getProvidersMetadata":[{"__symbolic":"method"}],"_validateProvider":[{"__symbolic":"method"}],"_getEntryComponentsFromProvider":[{"__symbolic":"method"}],"_getEntryComponentMetadata":[{"__symbolic":"method"}],"getProviderMetadata":[{"__symbolic":"method"}],"_getQueriesMetadata":[{"__symbolic":"method"}],"_queryVarBindings":[{"__symbolic":"method"}],"_getQueryMetadata":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ERROR_COLLECTOR_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ErrorCollector"]},"CompileMetadataResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}],null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ERROR_COLLECTOR_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"./config","name":"CompilerConfig"},{"__symbolic":"reference","module":"./ng_module_resolver","name":"NgModuleResolver"},{"__symbolic":"reference","module":"./directive_resolver","name":"DirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver","name":"PipeResolver"},{"__symbolic":"reference","module":"./summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"./schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"./directive_normalizer","name":"DirectiveNormalizer"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"},{"__symbolic":"reference","module":"./aot/static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"},{"__symbolic":"error","message":"Could not resolve type","line":55,"character":75,"context":{"typeName":"ErrorCollector"}}]}],"getReflector":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createProxyClass":[{"__symbolic":"method"}],"getGeneratedClass":[{"__symbolic":"method"}],"getComponentViewClass":[{"__symbolic":"method"}],"getHostComponentViewClass":[{"__symbolic":"method"}],"getHostComponentType":[{"__symbolic":"method"}],"getRendererType":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"initComponentFactory":[{"__symbolic":"method"}],"_loadSummary":[{"__symbolic":"method"}],"loadDirectiveMetadata":[{"__symbolic":"method"}],"getNonNormalizedDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveSummary":[{"__symbolic":"method"}],"isDirective":[{"__symbolic":"method"}],"isPipe":[{"__symbolic":"method"}],"isNgModule":[{"__symbolic":"method"}],"getNgModuleSummary":[{"__symbolic":"method"}],"loadNgModuleDirectiveAndPipeMetadata":[{"__symbolic":"method"}],"getNgModuleMetadata":[{"__symbolic":"method"}],"_checkSelfImport":[{"__symbolic":"method"}],"_getTypeDescriptor":[{"__symbolic":"method"}],"_addTypeToModule":[{"__symbolic":"method"}],"_getTransitiveNgModuleMetadata":[{"__symbolic":"method"}],"_getIdentifierMetadata":[{"__symbolic":"method"}],"isInjectable":[{"__symbolic":"method"}],"getInjectableSummary":[{"__symbolic":"method"}],"_getInjectableMetadata":[{"__symbolic":"method"}],"_getTypeMetadata":[{"__symbolic":"method"}],"_getFactoryMetadata":[{"__symbolic":"method"}],"getPipeMetadata":[{"__symbolic":"method"}],"getPipeSummary":[{"__symbolic":"method"}],"getOrLoadPipeMetadata":[{"__symbolic":"method"}],"_loadPipeMetadata":[{"__symbolic":"method"}],"_getDependenciesMetadata":[{"__symbolic":"method"}],"_getTokenMetadata":[{"__symbolic":"method"}],"_getProvidersMetadata":[{"__symbolic":"method"}],"_validateProvider":[{"__symbolic":"method"}],"_getEntryComponentsFromProvider":[{"__symbolic":"method"}],"_getEntryComponentMetadata":[{"__symbolic":"method"}],"getProviderMetadata":[{"__symbolic":"method"}],"_getQueriesMetadata":[{"__symbolic":"method"}],"_queryVarBindings":[{"__symbolic":"method"}],"_getQueryMetadata":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ErrorCollector":{"__symbolic":"interface"},"ERROR_COMPONENT_TYPE":"ngComponentType","CompileMetadataResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"CompilerConfig"},{"__symbolic":"reference","module":"./ng_module_resolver","name":"NgModuleResolver"},{"__symbolic":"reference","module":"./directive_resolver","name":"DirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver","name":"PipeResolver"},{"__symbolic":"reference","module":"./summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"./schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"./directive_normalizer","name":"DirectiveNormalizer"},{"__symbolic":"reference","module":"./util","name":"Console"},{"__symbolic":"reference","module":"./aot/static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"},{"__symbolic":"error","message":"Could not resolve type","line":52,"character":32,"context":{"typeName":"ErrorCollector"}}]}],"getReflector":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createProxyClass":[{"__symbolic":"method"}],"getGeneratedClass":[{"__symbolic":"method"}],"getComponentViewClass":[{"__symbolic":"method"}],"getHostComponentViewClass":[{"__symbolic":"method"}],"getHostComponentType":[{"__symbolic":"method"}],"getRendererType":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"initComponentFactory":[{"__symbolic":"method"}],"_loadSummary":[{"__symbolic":"method"}],"loadDirectiveMetadata":[{"__symbolic":"method"}],"getNonNormalizedDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveSummary":[{"__symbolic":"method"}],"isDirective":[{"__symbolic":"method"}],"isPipe":[{"__symbolic":"method"}],"isNgModule":[{"__symbolic":"method"}],"getNgModuleSummary":[{"__symbolic":"method"}],"loadNgModuleDirectiveAndPipeMetadata":[{"__symbolic":"method"}],"getNgModuleMetadata":[{"__symbolic":"method"}],"_checkSelfImport":[{"__symbolic":"method"}],"_getTypeDescriptor":[{"__symbolic":"method"}],"_addTypeToModule":[{"__symbolic":"method"}],"_getTransitiveNgModuleMetadata":[{"__symbolic":"method"}],"_getIdentifierMetadata":[{"__symbolic":"method"}],"isInjectable":[{"__symbolic":"method"}],"getInjectableSummary":[{"__symbolic":"method"}],"_getInjectableMetadata":[{"__symbolic":"method"}],"_getTypeMetadata":[{"__symbolic":"method"}],"_getFactoryMetadata":[{"__symbolic":"method"}],"getPipeMetadata":[{"__symbolic":"method"}],"getPipeSummary":[{"__symbolic":"method"}],"getOrLoadPipeMetadata":[{"__symbolic":"method"}],"_loadPipeMetadata":[{"__symbolic":"method"}],"_getDependenciesMetadata":[{"__symbolic":"method"}],"_getTokenMetadata":[{"__symbolic":"method"}],"_getProvidersMetadata":[{"__symbolic":"method"}],"_validateProvider":[{"__symbolic":"method"}],"_getEntryComponentsFromProvider":[{"__symbolic":"method"}],"_getEntryComponentMetadata":[{"__symbolic":"method"}],"getProviderMetadata":[{"__symbolic":"method"}],"_getQueriesMetadata":[{"__symbolic":"method"}],"_queryVarBindings":[{"__symbolic":"method"}],"_getQueryMetadata":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ErrorCollector":{"__symbolic":"interface"},"ERROR_COMPONENT_TYPE":"ngComponentType","CompileMetadataResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"CompilerConfig"},{"__symbolic":"reference","module":"./ng_module_resolver","name":"NgModuleResolver"},{"__symbolic":"reference","module":"./directive_resolver","name":"DirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver","name":"PipeResolver"},{"__symbolic":"reference","module":"./summary_resolver","name":"SummaryResolver","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"./schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"./directive_normalizer","name":"DirectiveNormalizer"},{"__symbolic":"reference","module":"./util","name":"Console"},{"__symbolic":"reference","module":"./aot/static_symbol","name":"StaticSymbolCache"},{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"},{"__symbolic":"error","message":"Could not resolve type","line":52,"character":32,"context":{"typeName":"ErrorCollector"}}]}],"getReflector":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"_createProxyClass":[{"__symbolic":"method"}],"getGeneratedClass":[{"__symbolic":"method"}],"getComponentViewClass":[{"__symbolic":"method"}],"getHostComponentViewClass":[{"__symbolic":"method"}],"getHostComponentType":[{"__symbolic":"method"}],"getRendererType":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"initComponentFactory":[{"__symbolic":"method"}],"_loadSummary":[{"__symbolic":"method"}],"loadDirectiveMetadata":[{"__symbolic":"method"}],"getNonNormalizedDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveMetadata":[{"__symbolic":"method"}],"getDirectiveSummary":[{"__symbolic":"method"}],"isDirective":[{"__symbolic":"method"}],"isPipe":[{"__symbolic":"method"}],"isNgModule":[{"__symbolic":"method"}],"getNgModuleSummary":[{"__symbolic":"method"}],"loadNgModuleDirectiveAndPipeMetadata":[{"__symbolic":"method"}],"getNgModuleMetadata":[{"__symbolic":"method"}],"_checkSelfImport":[{"__symbolic":"method"}],"_getTypeDescriptor":[{"__symbolic":"method"}],"_addTypeToModule":[{"__symbolic":"method"}],"_getTransitiveNgModuleMetadata":[{"__symbolic":"method"}],"_getIdentifierMetadata":[{"__symbolic":"method"}],"isInjectable":[{"__symbolic":"method"}],"getInjectableSummary":[{"__symbolic":"method"}],"_getInjectableMetadata":[{"__symbolic":"method"}],"_getTypeMetadata":[{"__symbolic":"method"}],"_getFactoryMetadata":[{"__symbolic":"method"}],"getPipeMetadata":[{"__symbolic":"method"}],"getPipeSummary":[{"__symbolic":"method"}],"getOrLoadPipeMetadata":[{"__symbolic":"method"}],"_loadPipeMetadata":[{"__symbolic":"method"}],"_getDependenciesMetadata":[{"__symbolic":"method"}],"_getTokenMetadata":[{"__symbolic":"method"}],"_getProvidersMetadata":[{"__symbolic":"method"}],"_validateProvider":[{"__symbolic":"method"}],"_getEntryComponentsFromProvider":[{"__symbolic":"method"}],"_getEntryComponentMetadata":[{"__symbolic":"method"}],"getProviderMetadata":[{"__symbolic":"method"}],"_getQueriesMetadata":[{"__symbolic":"method"}],"_queryVarBindings":[{"__symbolic":"method"}],"_getQueryMetadata":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Node":{"__symbolic":"interface"},"Text":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Expansion":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ExpansionCase"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ExpansionCase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Attribute":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Element":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Attribute"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Comment":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Visitor":{"__symbolic":"interface"},"visitAll":{"__symbolic":"function"},"RecursiveVisitor":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"visitElement":[{"__symbolic":"method"}],"visitAttribute":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitComment":[{"__symbolic":"method"}],"visitExpansion":[{"__symbolic":"method"}],"visitExpansionCase":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"findNode":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"Node":{"__symbolic":"interface"},"Text":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Expansion":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ExpansionCase"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ExpansionCase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Attribute":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Element":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Attribute"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Comment":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Visitor":{"__symbolic":"interface"},"visitAll":{"__symbolic":"function"},"RecursiveVisitor":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"visitElement":[{"__symbolic":"method"}],"visitAttribute":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitComment":[{"__symbolic":"method"}],"visitExpansion":[{"__symbolic":"method"}],"visitExpansionCase":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"findNode":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"Node":{"__symbolic":"interface"},"Text":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Expansion":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ExpansionCase"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ExpansionCase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Attribute":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Element":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Attribute"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Comment":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Visitor":{"__symbolic":"interface"},"visitAll":{"__symbolic":"function"},"RecursiveVisitor":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"visitElement":[{"__symbolic":"method"}],"visitAttribute":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitComment":[{"__symbolic":"method"}],"visitExpansion":[{"__symbolic":"method"}],"visitExpansionCase":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"HtmlAstPath":{"__symbolic":"interface"},"findNode":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"Node":{"__symbolic":"interface"},"Text":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Expansion":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ExpansionCase"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ExpansionCase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Attribute":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Element":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Attribute"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Comment":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"Visitor":{"__symbolic":"interface"},"visitAll":{"__symbolic":"function"},"RecursiveVisitor":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"visitElement":[{"__symbolic":"method"}],"visitAttribute":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitComment":[{"__symbolic":"method"}],"visitExpansion":[{"__symbolic":"method"}],"visitExpansionCase":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"HtmlAstPath":{"__symbolic":"interface"},"findNode":{"__symbolic":"function"}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"HtmlParser":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./parser","name":"Parser"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}},"exports":[{"from":"./parser","export":["ParseTreeResult","TreeError"]}]},{"__symbolic":"module","version":1,"metadata":{"HtmlParser":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./parser","name":"Parser"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}},"exports":[{"from":"./parser","export":["ParseTreeResult","TreeError"]}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{"HtmlParser":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./parser","name":"Parser"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}},"exports":[{"from":"./parser","export":["ParseTreeResult","TreeError"]}]},{"__symbolic":"module","version":1,"metadata":{"HtmlParser":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./parser","name":"Parser"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}},"exports":[{"from":"./parser","export":["ParseTreeResult","TreeError"]}]}] |
import { ParseTreeResult } from './parser'; | ||
export declare const PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces"; | ||
/** | ||
* Angular Dart introduced &ngsp; as a placeholder for non-removable space, see: | ||
* https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32 | ||
* In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character | ||
* and later on replaced by a space. We are re-implementing the same idea here. | ||
*/ | ||
export declare function replaceNgsp(value: string): string; | ||
export declare function removeWhitespaces(htmlAstWithErrors: ParseTreeResult): ParseTreeResult; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"PRESERVE_WS_ATTR_NAME":"ngPreserveWhitespaces","removeWhitespaces":{"__symbolic":"function","parameters":["htmlAstWithErrors"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":40,"character":0,"context":{"className":"WhitespaceVisitor"}}}}},{"__symbolic":"module","version":1,"metadata":{"PRESERVE_WS_ATTR_NAME":"ngPreserveWhitespaces","removeWhitespaces":{"__symbolic":"function","parameters":["htmlAstWithErrors"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":40,"character":0,"context":{"className":"WhitespaceVisitor"}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"PRESERVE_WS_ATTR_NAME":"ngPreserveWhitespaces","replaceNgsp":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"replace"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"reference","module":"./tags","name":"NGSP_UNICODE"},"g"]}," "]}},"removeWhitespaces":{"__symbolic":"function","parameters":["htmlAstWithErrors"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":45,"character":0,"context":{"className":"WhitespaceVisitor"}}}}},{"__symbolic":"module","version":1,"metadata":{"PRESERVE_WS_ATTR_NAME":"ngPreserveWhitespaces","replaceNgsp":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"replace"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"reference","module":"./tags","name":"NGSP_UNICODE"},"g"]}," "]}},"removeWhitespaces":{"__symbolic":"function","parameters":["htmlAstWithErrors"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":45,"character":0,"context":{"className":"WhitespaceVisitor"}}}}}] |
@@ -0,1 +1,8 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { CompileNgModuleMetadata, CompileProviderMetadata } from './compile_metadata'; | ||
@@ -2,0 +9,0 @@ import { CompileReflector } from './compile_reflector'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"NgModuleCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NgModuleCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"compile":[{"__symbolic":"method"}],"createStub":[{"__symbolic":"method"}],"_createNgModuleFactory":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"NgModuleCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NgModuleCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"compile":[{"__symbolic":"method"}],"createStub":[{"__symbolic":"method"}],"_createNgModuleFactory":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"NgModuleCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NgModuleCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"compile":[{"__symbolic":"method"}],"createStub":[{"__symbolic":"method"}],"_createNgModuleFactory":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"NgModuleCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NgModuleCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"compile":[{"__symbolic":"method"}],"createStub":[{"__symbolic":"method"}],"_createNgModuleFactory":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
import { NgModule, Type } from '@angular/core'; | ||
import { CompileReflector } from './compile_reflector'; | ||
import { NgModule, Type } from './core'; | ||
/** | ||
@@ -18,3 +18,3 @@ * Resolves types to {@link NgModule}. | ||
isNgModule(type: any): boolean; | ||
resolve(type: Type<any>, throwIfNotFound?: boolean): NgModule | null; | ||
resolve(type: Type, throwIfNotFound?: boolean): NgModule | null; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"NgModuleResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"NgModuleResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"NgModuleResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"NgModuleResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] |
@@ -181,3 +181,3 @@ /** | ||
runtime: any | null; | ||
constructor(moduleName: string | null, name: string | null, runtime: any | null); | ||
constructor(moduleName: string | null, name: string | null, runtime?: any | null); | ||
} | ||
@@ -184,0 +184,0 @@ export declare class ConditionalExpr extends Expression { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TypeModifier":{"Const":0},"Type":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":17,"character":32,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"BuiltinTypeName":{"Dynamic":0,"Bool":1,"String":2,"Int":3,"Number":4,"Function":5,"Inferred":6},"BuiltinType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":27,"context":{"typeName":"BuiltinTypeName"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":55,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ExpressionType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":47,"character":51,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ArrayType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":55,"character":43,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"MapType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":64,"character":57,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"DYNAMIC_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Dynamic"}]},"INFERRED_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Inferred"}]},"BOOL_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Bool"}]},"INT_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Int"}]},"NUMBER_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Number"}]},"STRING_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"String"}]},"FUNCTION_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Function"}]},"TypeVisitor":{"__symbolic":"interface"},"BinaryOperator":{"Equals":0,"NotEquals":1,"Identical":2,"NotIdentical":3,"Minus":4,"Plus":5,"Divide":6,"Multiply":7,"Modulo":8,"And":9,"Or":10,"Lower":11,"LowerEquals":12,"Bigger":13,"BiggerEquals":14},"Expression":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"prop":[{"__symbolic":"method"}],"key":[{"__symbolic":"method"}],"callMethod":[{"__symbolic":"method"}],"callFn":[{"__symbolic":"method"}],"instantiate":[{"__symbolic":"method"}],"conditional":[{"__symbolic":"method"}],"equals":[{"__symbolic":"method"}],"notEquals":[{"__symbolic":"method"}],"identical":[{"__symbolic":"method"}],"notIdentical":[{"__symbolic":"method"}],"minus":[{"__symbolic":"method"}],"plus":[{"__symbolic":"method"}],"divide":[{"__symbolic":"method"}],"multiply":[{"__symbolic":"method"}],"modulo":[{"__symbolic":"method"}],"and":[{"__symbolic":"method"}],"or":[{"__symbolic":"method"}],"lower":[{"__symbolic":"method"}],"lowerEquals":[{"__symbolic":"method"}],"bigger":[{"__symbolic":"method"}],"biggerEquals":[{"__symbolic":"method"}],"isBlank":[{"__symbolic":"method"}],"cast":[{"__symbolic":"method"}],"toStmt":[{"__symbolic":"method"}]}},"BuiltinVar":{"This":0,"Super":1,"CatchError":2,"CatchStack":3},"ReadVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":214,"character":27,"context":{"typeName":"BuiltinVar"}},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"WriteVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"WriteKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"WritePropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"BuiltinMethod":{"ConcatArray":0,"SubscribeObservable":1,"Bind":2},"InvokeMethodExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"error","message":"Could not resolve type","line":292,"character":50,"context":{"typeName":"BuiltinMethod"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InvokeFunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InstantiateExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ExternalReference"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Type"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalReference":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ConditionalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"NotExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"AssertNotNull":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CastExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"FnParam":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"}]}]}},"FunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"BinaryOperatorExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":425,"character":23,"context":{"typeName":"BinaryOperator"}},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ReadPropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"ReadKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"LiteralArrayExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralMapEntry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"boolean"}]}]}},"LiteralMapExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"LiteralMapEntry"}]},{"__symbolic":"reference","name":"MapType"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CommaExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExpressionVisitor":{"__symbolic":"interface"},"THIS_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"This"},null,null]},"SUPER_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"Super"},null,null]},"CATCH_ERROR_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchError"},null,null]},"CATCH_STACK_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchStack"},null,null]},"NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,null,null]},"TYPED_NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,{"__symbolic":"reference","name":"INFERRED_TYPE"},null]},"StmtModifier":{"Final":0,"Private":1,"Exported":2},"Statement":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":544,"character":26,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"DeclareVarStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":559,"character":17,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"DeclareFunctionStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":573,"character":35,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ExpressionStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ReturnStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"AbstractClassPart":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":605,"character":59,"context":{"typeName":"StmtModifier"}}]}]}],"hasModifier":[{"__symbolic":"method"}]}},"ClassField":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":615,"character":64,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassMethod":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":624,"character":35,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassGetter":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":633,"character":17,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassField"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassGetter"}]},{"__symbolic":"reference","name":"ClassMethod"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassMethod"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":643,"character":48,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"IfStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"CommentStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"TryCatchStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ThrowStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"StatementVisitor":{"__symbolic":"interface"},"AstTransformer":{"__symbolic":"class","members":{"transformExpr":[{"__symbolic":"method"}],"transformStmt":[{"__symbolic":"method"}],"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"findReadVarNames":{"__symbolic":"function"},"applySourceSpanToStatementIfNeeded":{"__symbolic":"function"},"applySourceSpanToExpressionIfNeeded":{"__symbolic":"function"},"variable":{"__symbolic":"function","parameters":["name","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"importExpr":{"__symbolic":"function","parameters":["id","typeParams","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ExternalExpr"},"arguments":[{"__symbolic":"reference","name":"id"},null,{"__symbolic":"reference","name":"typeParams"},{"__symbolic":"reference","name":"sourceSpan"}]},"defaults":[null,null,null]},"importType":{"__symbolic":"function","parameters":["id","typeParams","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"id"},"right":null},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"expressionType"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"importExpr"},"arguments":[{"__symbolic":"reference","name":"id"},{"__symbolic":"reference","name":"typeParams"},null]},{"__symbolic":"reference","name":"typeModifiers"}]},"elseExpression":null},"defaults":[null,null,null]},"expressionType":{"__symbolic":"function","parameters":["expr","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"expr"},"right":null},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":1143,"character":24},"elseExpression":null},"defaults":[null,null]},"literalArr":{"__symbolic":"function","parameters":["values","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralArrayExpr"},"arguments":[{"__symbolic":"reference","name":"values"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literalMap":{"__symbolic":"function","parameters":["values","type"],"value":{"__symbolic":"error","message":"Function call not supported","line":1156,"character":17},"defaults":[null,null]},"not":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"NotExpr"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"assertNotNull":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AssertNotNull"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"fn":{"__symbolic":"function","parameters":["params","body","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FunctionExpr"},"arguments":[{"__symbolic":"reference","name":"params"},{"__symbolic":"reference","name":"body"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literal":{"__symbolic":"function","parameters":["value","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TypeModifier":{"Const":0},"Type":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":17,"character":32,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"BuiltinTypeName":{"Dynamic":0,"Bool":1,"String":2,"Int":3,"Number":4,"Function":5,"Inferred":6},"BuiltinType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":27,"context":{"typeName":"BuiltinTypeName"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":55,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ExpressionType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":47,"character":51,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ArrayType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":55,"character":43,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"MapType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":64,"character":57,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"DYNAMIC_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Dynamic"}]},"INFERRED_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Inferred"}]},"BOOL_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Bool"}]},"INT_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Int"}]},"NUMBER_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Number"}]},"STRING_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"String"}]},"FUNCTION_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Function"}]},"TypeVisitor":{"__symbolic":"interface"},"BinaryOperator":{"Equals":0,"NotEquals":1,"Identical":2,"NotIdentical":3,"Minus":4,"Plus":5,"Divide":6,"Multiply":7,"Modulo":8,"And":9,"Or":10,"Lower":11,"LowerEquals":12,"Bigger":13,"BiggerEquals":14},"Expression":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"prop":[{"__symbolic":"method"}],"key":[{"__symbolic":"method"}],"callMethod":[{"__symbolic":"method"}],"callFn":[{"__symbolic":"method"}],"instantiate":[{"__symbolic":"method"}],"conditional":[{"__symbolic":"method"}],"equals":[{"__symbolic":"method"}],"notEquals":[{"__symbolic":"method"}],"identical":[{"__symbolic":"method"}],"notIdentical":[{"__symbolic":"method"}],"minus":[{"__symbolic":"method"}],"plus":[{"__symbolic":"method"}],"divide":[{"__symbolic":"method"}],"multiply":[{"__symbolic":"method"}],"modulo":[{"__symbolic":"method"}],"and":[{"__symbolic":"method"}],"or":[{"__symbolic":"method"}],"lower":[{"__symbolic":"method"}],"lowerEquals":[{"__symbolic":"method"}],"bigger":[{"__symbolic":"method"}],"biggerEquals":[{"__symbolic":"method"}],"isBlank":[{"__symbolic":"method"}],"cast":[{"__symbolic":"method"}],"toStmt":[{"__symbolic":"method"}]}},"BuiltinVar":{"This":0,"Super":1,"CatchError":2,"CatchStack":3},"ReadVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":214,"character":27,"context":{"typeName":"BuiltinVar"}},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"WriteVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"WriteKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"WritePropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"BuiltinMethod":{"ConcatArray":0,"SubscribeObservable":1,"Bind":2},"InvokeMethodExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"error","message":"Could not resolve type","line":292,"character":50,"context":{"typeName":"BuiltinMethod"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InvokeFunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InstantiateExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ExternalReference"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Type"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalReference":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ConditionalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"NotExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"AssertNotNull":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CastExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"FnParam":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"}]}]}},"FunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"BinaryOperatorExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":425,"character":23,"context":{"typeName":"BinaryOperator"}},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ReadPropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"ReadKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"LiteralArrayExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralMapEntry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"boolean"}]}]}},"LiteralMapExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"LiteralMapEntry"}]},{"__symbolic":"reference","name":"MapType"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CommaExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExpressionVisitor":{"__symbolic":"interface"},"THIS_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"This"},null,null]},"SUPER_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"Super"},null,null]},"CATCH_ERROR_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchError"},null,null]},"CATCH_STACK_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchStack"},null,null]},"NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,null,null]},"TYPED_NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,{"__symbolic":"reference","name":"INFERRED_TYPE"},null]},"StmtModifier":{"Final":0,"Private":1,"Exported":2},"Statement":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":544,"character":26,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"DeclareVarStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":559,"character":17,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"DeclareFunctionStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":573,"character":35,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ExpressionStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ReturnStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"AbstractClassPart":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":605,"character":59,"context":{"typeName":"StmtModifier"}}]}]}],"hasModifier":[{"__symbolic":"method"}]}},"ClassField":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":615,"character":64,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassMethod":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":624,"character":35,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassGetter":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":633,"character":17,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassField"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassGetter"}]},{"__symbolic":"reference","name":"ClassMethod"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassMethod"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":643,"character":48,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"IfStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"CommentStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"TryCatchStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ThrowStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"StatementVisitor":{"__symbolic":"interface"},"AstTransformer":{"__symbolic":"class","members":{"transformExpr":[{"__symbolic":"method"}],"transformStmt":[{"__symbolic":"method"}],"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"findReadVarNames":{"__symbolic":"function"},"applySourceSpanToStatementIfNeeded":{"__symbolic":"function"},"applySourceSpanToExpressionIfNeeded":{"__symbolic":"function"},"variable":{"__symbolic":"function","parameters":["name","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"importExpr":{"__symbolic":"function","parameters":["id","typeParams","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ExternalExpr"},"arguments":[{"__symbolic":"reference","name":"id"},null,{"__symbolic":"reference","name":"typeParams"},{"__symbolic":"reference","name":"sourceSpan"}]},"defaults":[null,null,null]},"importType":{"__symbolic":"function","parameters":["id","typeParams","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"id"},"right":null},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"expressionType"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"importExpr"},"arguments":[{"__symbolic":"reference","name":"id"},{"__symbolic":"reference","name":"typeParams"},null]},{"__symbolic":"reference","name":"typeModifiers"}]},"elseExpression":null},"defaults":[null,null,null]},"expressionType":{"__symbolic":"function","parameters":["expr","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"expr"},"right":null},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":1143,"character":24},"elseExpression":null},"defaults":[null,null]},"literalArr":{"__symbolic":"function","parameters":["values","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralArrayExpr"},"arguments":[{"__symbolic":"reference","name":"values"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literalMap":{"__symbolic":"function","parameters":["values","type"],"value":{"__symbolic":"error","message":"Function call not supported","line":1156,"character":17},"defaults":[null,null]},"not":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"NotExpr"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"assertNotNull":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AssertNotNull"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"fn":{"__symbolic":"function","parameters":["params","body","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FunctionExpr"},"arguments":[{"__symbolic":"reference","name":"params"},{"__symbolic":"reference","name":"body"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literal":{"__symbolic":"function","parameters":["value","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"TypeModifier":{"Const":0},"Type":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":17,"character":32,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"BuiltinTypeName":{"Dynamic":0,"Bool":1,"String":2,"Int":3,"Number":4,"Function":5,"Inferred":6},"BuiltinType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":27,"context":{"typeName":"BuiltinTypeName"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":55,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ExpressionType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":47,"character":51,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ArrayType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":55,"character":43,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"MapType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":64,"character":57,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"DYNAMIC_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Dynamic"}]},"INFERRED_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Inferred"}]},"BOOL_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Bool"}]},"INT_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Int"}]},"NUMBER_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Number"}]},"STRING_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"String"}]},"FUNCTION_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Function"}]},"TypeVisitor":{"__symbolic":"interface"},"BinaryOperator":{"Equals":0,"NotEquals":1,"Identical":2,"NotIdentical":3,"Minus":4,"Plus":5,"Divide":6,"Multiply":7,"Modulo":8,"And":9,"Or":10,"Lower":11,"LowerEquals":12,"Bigger":13,"BiggerEquals":14},"Expression":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"prop":[{"__symbolic":"method"}],"key":[{"__symbolic":"method"}],"callMethod":[{"__symbolic":"method"}],"callFn":[{"__symbolic":"method"}],"instantiate":[{"__symbolic":"method"}],"conditional":[{"__symbolic":"method"}],"equals":[{"__symbolic":"method"}],"notEquals":[{"__symbolic":"method"}],"identical":[{"__symbolic":"method"}],"notIdentical":[{"__symbolic":"method"}],"minus":[{"__symbolic":"method"}],"plus":[{"__symbolic":"method"}],"divide":[{"__symbolic":"method"}],"multiply":[{"__symbolic":"method"}],"modulo":[{"__symbolic":"method"}],"and":[{"__symbolic":"method"}],"or":[{"__symbolic":"method"}],"lower":[{"__symbolic":"method"}],"lowerEquals":[{"__symbolic":"method"}],"bigger":[{"__symbolic":"method"}],"biggerEquals":[{"__symbolic":"method"}],"isBlank":[{"__symbolic":"method"}],"cast":[{"__symbolic":"method"}],"toStmt":[{"__symbolic":"method"}]}},"BuiltinVar":{"This":0,"Super":1,"CatchError":2,"CatchStack":3},"ReadVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":214,"character":27,"context":{"typeName":"BuiltinVar"}},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"WriteVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"WriteKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"WritePropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"BuiltinMethod":{"ConcatArray":0,"SubscribeObservable":1,"Bind":2},"InvokeMethodExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"error","message":"Could not resolve type","line":292,"character":50,"context":{"typeName":"BuiltinMethod"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InvokeFunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InstantiateExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ExternalReference"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Type"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalReference":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ConditionalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"NotExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"AssertNotNull":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CastExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"FnParam":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"}]}]}},"FunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"BinaryOperatorExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":426,"character":23,"context":{"typeName":"BinaryOperator"}},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ReadPropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"ReadKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"LiteralArrayExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralMapEntry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"boolean"}]}]}},"LiteralMapExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"LiteralMapEntry"}]},{"__symbolic":"reference","name":"MapType"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CommaExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExpressionVisitor":{"__symbolic":"interface"},"THIS_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"This"},null,null]},"SUPER_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"Super"},null,null]},"CATCH_ERROR_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchError"},null,null]},"CATCH_STACK_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchStack"},null,null]},"NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,null,null]},"TYPED_NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,{"__symbolic":"reference","name":"INFERRED_TYPE"},null]},"StmtModifier":{"Final":0,"Private":1,"Exported":2},"Statement":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":545,"character":26,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"DeclareVarStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":560,"character":17,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"DeclareFunctionStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":574,"character":35,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ExpressionStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ReturnStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"AbstractClassPart":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":606,"character":59,"context":{"typeName":"StmtModifier"}}]}]}],"hasModifier":[{"__symbolic":"method"}]}},"ClassField":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":616,"character":64,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassMethod":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":625,"character":35,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassGetter":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":634,"character":17,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassField"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassGetter"}]},{"__symbolic":"reference","name":"ClassMethod"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassMethod"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":644,"character":48,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"IfStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"CommentStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"TryCatchStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ThrowStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"StatementVisitor":{"__symbolic":"interface"},"AstTransformer":{"__symbolic":"class","members":{"transformExpr":[{"__symbolic":"method"}],"transformStmt":[{"__symbolic":"method"}],"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"findReadVarNames":{"__symbolic":"function"},"applySourceSpanToStatementIfNeeded":{"__symbolic":"function"},"applySourceSpanToExpressionIfNeeded":{"__symbolic":"function"},"variable":{"__symbolic":"function","parameters":["name","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"importExpr":{"__symbolic":"function","parameters":["id","typeParams","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ExternalExpr"},"arguments":[{"__symbolic":"reference","name":"id"},null,{"__symbolic":"reference","name":"typeParams"},{"__symbolic":"reference","name":"sourceSpan"}]},"defaults":[null,null,null]},"importType":{"__symbolic":"function","parameters":["id","typeParams","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"id"},"right":null},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"expressionType"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"importExpr"},"arguments":[{"__symbolic":"reference","name":"id"},{"__symbolic":"reference","name":"typeParams"},null]},{"__symbolic":"reference","name":"typeModifiers"}]},"elseExpression":null},"defaults":[null,null,null]},"expressionType":{"__symbolic":"function","parameters":["expr","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"expr"},"right":null},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":1144,"character":24},"elseExpression":null},"defaults":[null,null]},"literalArr":{"__symbolic":"function","parameters":["values","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralArrayExpr"},"arguments":[{"__symbolic":"reference","name":"values"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literalMap":{"__symbolic":"function","parameters":["values","type"],"value":{"__symbolic":"error","message":"Function call not supported","line":1157,"character":17},"defaults":[null,null]},"not":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"NotExpr"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"assertNotNull":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AssertNotNull"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"fn":{"__symbolic":"function","parameters":["params","body","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FunctionExpr"},"arguments":[{"__symbolic":"reference","name":"params"},{"__symbolic":"reference","name":"body"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literal":{"__symbolic":"function","parameters":["value","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TypeModifier":{"Const":0},"Type":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":17,"character":32,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"BuiltinTypeName":{"Dynamic":0,"Bool":1,"String":2,"Int":3,"Number":4,"Function":5,"Inferred":6},"BuiltinType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":27,"context":{"typeName":"BuiltinTypeName"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":55,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ExpressionType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":47,"character":51,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"ArrayType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":55,"character":43,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"MapType":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Type"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":64,"character":57,"context":{"typeName":"TypeModifier"}}]}]}],"visitType":[{"__symbolic":"method"}]}},"DYNAMIC_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Dynamic"}]},"INFERRED_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Inferred"}]},"BOOL_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Bool"}]},"INT_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Int"}]},"NUMBER_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Number"}]},"STRING_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"String"}]},"FUNCTION_TYPE":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"BuiltinType"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinTypeName"},"member":"Function"}]},"TypeVisitor":{"__symbolic":"interface"},"BinaryOperator":{"Equals":0,"NotEquals":1,"Identical":2,"NotIdentical":3,"Minus":4,"Plus":5,"Divide":6,"Multiply":7,"Modulo":8,"And":9,"Or":10,"Lower":11,"LowerEquals":12,"Bigger":13,"BiggerEquals":14},"Expression":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"prop":[{"__symbolic":"method"}],"key":[{"__symbolic":"method"}],"callMethod":[{"__symbolic":"method"}],"callFn":[{"__symbolic":"method"}],"instantiate":[{"__symbolic":"method"}],"conditional":[{"__symbolic":"method"}],"equals":[{"__symbolic":"method"}],"notEquals":[{"__symbolic":"method"}],"identical":[{"__symbolic":"method"}],"notIdentical":[{"__symbolic":"method"}],"minus":[{"__symbolic":"method"}],"plus":[{"__symbolic":"method"}],"divide":[{"__symbolic":"method"}],"multiply":[{"__symbolic":"method"}],"modulo":[{"__symbolic":"method"}],"and":[{"__symbolic":"method"}],"or":[{"__symbolic":"method"}],"lower":[{"__symbolic":"method"}],"lowerEquals":[{"__symbolic":"method"}],"bigger":[{"__symbolic":"method"}],"biggerEquals":[{"__symbolic":"method"}],"isBlank":[{"__symbolic":"method"}],"cast":[{"__symbolic":"method"}],"toStmt":[{"__symbolic":"method"}]}},"BuiltinVar":{"This":0,"Super":1,"CatchError":2,"CatchStack":3},"ReadVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":214,"character":27,"context":{"typeName":"BuiltinVar"}},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"WriteVarExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"WriteKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"WritePropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"BuiltinMethod":{"ConcatArray":0,"SubscribeObservable":1,"Bind":2},"InvokeMethodExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"error","message":"Could not resolve type","line":292,"character":50,"context":{"typeName":"BuiltinMethod"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InvokeFunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"InstantiateExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ExternalReference"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Type"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExternalReference":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"ConditionalExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"NotExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"AssertNotNull":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CastExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"FnParam":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"}]}]}},"FunctionExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"toDeclStmt":[{"__symbolic":"method"}]}},"BinaryOperatorExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":426,"character":23,"context":{"typeName":"BinaryOperator"}},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ReadPropExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"ReadKeyExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}]}},"LiteralArrayExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"LiteralMapEntry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"boolean"}]}]}},"LiteralMapExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"LiteralMapEntry"}]},{"__symbolic":"reference","name":"MapType"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"CommaExpr":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Expression"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Expression"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitExpression":[{"__symbolic":"method"}]}},"ExpressionVisitor":{"__symbolic":"interface"},"THIS_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"This"},null,null]},"SUPER_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"Super"},null,null]},"CATCH_ERROR_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchError"},null,null]},"CATCH_STACK_VAR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"BuiltinVar"},"member":"CatchStack"},null,null]},"NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,null,null]},"TYPED_NULL_EXPR":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[null,{"__symbolic":"reference","name":"INFERRED_TYPE"},null]},"StmtModifier":{"Final":0,"Private":1,"Exported":2},"Statement":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":545,"character":26,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}],"hasModifier":[{"__symbolic":"method"}]}},"DeclareVarStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":560,"character":17,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"DeclareFunctionStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":574,"character":35,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ExpressionStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ReturnStatement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"AbstractClassPart":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":606,"character":59,"context":{"typeName":"StmtModifier"}}]}]}],"hasModifier":[{"__symbolic":"method"}]}},"ClassField":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":616,"character":64,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassMethod":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"FnParam"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":625,"character":35,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassGetter":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AbstractClassPart"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Type"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":634,"character":17,"context":{"typeName":"StmtModifier"}}]}]}]}},"ClassStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassField"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassGetter"}]},{"__symbolic":"reference","name":"ClassMethod"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ClassMethod"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":644,"character":48,"context":{"typeName":"StmtModifier"}}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"IfStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"CommentStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"TryCatchStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"Statement"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"ThrowStmt":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Statement"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Expression"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visitStatement":[{"__symbolic":"method"}]}},"StatementVisitor":{"__symbolic":"interface"},"AstTransformer":{"__symbolic":"class","members":{"transformExpr":[{"__symbolic":"method"}],"transformStmt":[{"__symbolic":"method"}],"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"RecursiveAstVisitor":{"__symbolic":"class","members":{"visitReadVarExpr":[{"__symbolic":"method"}],"visitWriteVarExpr":[{"__symbolic":"method"}],"visitWriteKeyExpr":[{"__symbolic":"method"}],"visitWritePropExpr":[{"__symbolic":"method"}],"visitInvokeMethodExpr":[{"__symbolic":"method"}],"visitInvokeFunctionExpr":[{"__symbolic":"method"}],"visitInstantiateExpr":[{"__symbolic":"method"}],"visitLiteralExpr":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitConditionalExpr":[{"__symbolic":"method"}],"visitNotExpr":[{"__symbolic":"method"}],"visitAssertNotNullExpr":[{"__symbolic":"method"}],"visitCastExpr":[{"__symbolic":"method"}],"visitFunctionExpr":[{"__symbolic":"method"}],"visitBinaryOperatorExpr":[{"__symbolic":"method"}],"visitReadPropExpr":[{"__symbolic":"method"}],"visitReadKeyExpr":[{"__symbolic":"method"}],"visitLiteralArrayExpr":[{"__symbolic":"method"}],"visitLiteralMapExpr":[{"__symbolic":"method"}],"visitCommaExpr":[{"__symbolic":"method"}],"visitAllExpressions":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitExpressionStmt":[{"__symbolic":"method"}],"visitReturnStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}],"visitIfStmt":[{"__symbolic":"method"}],"visitTryCatchStmt":[{"__symbolic":"method"}],"visitThrowStmt":[{"__symbolic":"method"}],"visitCommentStmt":[{"__symbolic":"method"}],"visitAllStatements":[{"__symbolic":"method"}]}},"findReadVarNames":{"__symbolic":"function"},"applySourceSpanToStatementIfNeeded":{"__symbolic":"function"},"applySourceSpanToExpressionIfNeeded":{"__symbolic":"function"},"variable":{"__symbolic":"function","parameters":["name","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ReadVarExpr"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"importExpr":{"__symbolic":"function","parameters":["id","typeParams","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ExternalExpr"},"arguments":[{"__symbolic":"reference","name":"id"},null,{"__symbolic":"reference","name":"typeParams"},{"__symbolic":"reference","name":"sourceSpan"}]},"defaults":[null,null,null]},"importType":{"__symbolic":"function","parameters":["id","typeParams","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"id"},"right":null},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"expressionType"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"importExpr"},"arguments":[{"__symbolic":"reference","name":"id"},{"__symbolic":"reference","name":"typeParams"},null]},{"__symbolic":"reference","name":"typeModifiers"}]},"elseExpression":null},"defaults":[null,null,null]},"expressionType":{"__symbolic":"function","parameters":["expr","typeModifiers"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!=","left":{"__symbolic":"reference","name":"expr"},"right":null},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":1144,"character":24},"elseExpression":null},"defaults":[null,null]},"literalArr":{"__symbolic":"function","parameters":["values","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralArrayExpr"},"arguments":[{"__symbolic":"reference","name":"values"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literalMap":{"__symbolic":"function","parameters":["values","type"],"value":{"__symbolic":"error","message":"Function call not supported","line":1157,"character":17},"defaults":[null,null]},"not":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"NotExpr"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"assertNotNull":{"__symbolic":"function","parameters":["expr","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AssertNotNull"},"arguments":[{"__symbolic":"reference","name":"expr"},{"__symbolic":"reference","name":"sourceSpan"}]}},"fn":{"__symbolic":"function","parameters":["params","body","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"FunctionExpr"},"arguments":[{"__symbolic":"reference","name":"params"},{"__symbolic":"reference","name":"body"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}},"literal":{"__symbolic":"function","parameters":["value","type","sourceSpan"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"LiteralExpr"},"arguments":[{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"sourceSpan"}]}}}}] |
@@ -8,5 +8,6 @@ /** | ||
*/ | ||
import { CompileReflector } from '../compile_reflector'; | ||
import * as o from './output_ast'; | ||
export declare function interpretStatements(statements: o.Statement[]): { | ||
export declare function interpretStatements(statements: o.Statement[], reflector: CompileReflector): { | ||
[key: string]: any; | ||
}; |
@@ -0,11 +1,14 @@ | ||
import { CompileReflector } from '../compile_reflector'; | ||
import { EmitterVisitorContext } from './abstract_emitter'; | ||
import { AbstractJsEmitterVisitor } from './abstract_js_emitter'; | ||
import * as o from './output_ast'; | ||
export declare function jitStatements(sourceUrl: string, statements: o.Statement[]): { | ||
export declare function jitStatements(sourceUrl: string, statements: o.Statement[], reflector: CompileReflector, createSourceMaps: boolean): { | ||
[key: string]: any; | ||
}; | ||
export declare class JitEmitterVisitor extends AbstractJsEmitterVisitor { | ||
private reflector; | ||
private _evalArgNames; | ||
private _evalArgValues; | ||
private _evalExportedVars; | ||
constructor(reflector: CompileReflector); | ||
createReturnStmt(ctx: EmitterVisitorContext): void; | ||
@@ -12,0 +15,0 @@ getArgs(): { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"jitStatements":{"__symbolic":"function"},"JitEmitterVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./abstract_js_emitter","name":"AbstractJsEmitterVisitor"},"members":{"createReturnStmt":[{"__symbolic":"method"}],"getArgs":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"jitStatements":{"__symbolic":"function"},"JitEmitterVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./abstract_js_emitter","name":"AbstractJsEmitterVisitor"},"members":{"createReturnStmt":[{"__symbolic":"method"}],"getArgs":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"jitStatements":{"__symbolic":"function"},"JitEmitterVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./abstract_js_emitter","name":"AbstractJsEmitterVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"}]}],"createReturnStmt":[{"__symbolic":"method"}],"getArgs":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"jitStatements":{"__symbolic":"function"},"JitEmitterVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./abstract_js_emitter","name":"AbstractJsEmitterVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"}]}],"createReturnStmt":[{"__symbolic":"method"}],"getArgs":[{"__symbolic":"method"}],"visitExternalExpr":[{"__symbolic":"method"}],"visitDeclareVarStmt":[{"__symbolic":"method"}],"visitDeclareFunctionStmt":[{"__symbolic":"method"}],"visitDeclareClassStmt":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"SourceMapGenerator":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"addSource":[{"__symbolic":"method"}],"addLine":[{"__symbolic":"method"}],"addMapping":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"toJsComment":[{"__symbolic":"method"}]}},"toBase64String":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"SourceMapGenerator":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"addSource":[{"__symbolic":"method"}],"addLine":[{"__symbolic":"method"}],"addMapping":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"toJsComment":[{"__symbolic":"method"}]}},"toBase64String":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"SourceMap":{"__symbolic":"interface"},"SourceMapGenerator":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"addSource":[{"__symbolic":"method"}],"addLine":[{"__symbolic":"method"}],"addMapping":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"toJsComment":[{"__symbolic":"method"}]}},"toBase64String":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"SourceMap":{"__symbolic":"interface"},"SourceMapGenerator":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"addSource":[{"__symbolic":"method"}],"addLine":[{"__symbolic":"method"}],"addMapping":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"toJsComment":[{"__symbolic":"method"}]}},"toBase64String":{"__symbolic":"function"}}}] |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
import { Pipe, Type } from '@angular/core'; | ||
import { CompileReflector } from './compile_reflector'; | ||
import { Pipe, Type } from './core'; | ||
/** | ||
@@ -21,7 +21,7 @@ * Resolve a `Type` for {@link Pipe}. | ||
constructor(_reflector: CompileReflector); | ||
isPipe(type: Type<any>): boolean; | ||
isPipe(type: Type): boolean; | ||
/** | ||
* Return {@link Pipe} for a given `Type`. | ||
*/ | ||
resolve(type: Type<any>, throwIfNotFound?: boolean): Pipe | null; | ||
resolve(type: Type, throwIfNotFound?: boolean): Pipe | null; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"PipeResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PipeResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"PipeResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PipeResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./compile_reflector","name":"CompileReflector"}]}],"isPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { SchemaMetadata, SecurityContext } from '@angular/core'; | ||
import { SchemaMetadata, SecurityContext } from '../core'; | ||
import { ElementSchemaRegistry } from './element_schema_registry'; | ||
@@ -11,0 +11,0 @@ export declare class DomElementSchemaRegistry extends ElementSchemaRegistry { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"DomElementSchemaRegistry":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./element_schema_registry","name":"ElementSchemaRegistry"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"DomElementSchemaRegistry":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./element_schema_registry","name":"ElementSchemaRegistry"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"DomElementSchemaRegistry":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./element_schema_registry","name":"ElementSchemaRegistry"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"DomElementSchemaRegistry":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./element_schema_registry","name":"ElementSchemaRegistry"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}}] |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { SecurityContext } from '@angular/core'; | ||
import { SecurityContext } from '../core'; | ||
/** Map from tagName|propertyName SecurityContext. Properties applying to all tags use '*'. */ | ||
@@ -11,0 +11,0 @@ export declare const SECURITY_SCHEMA: { |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
import { SchemaMetadata, SecurityContext } from '@angular/core'; | ||
import { SchemaMetadata, SecurityContext } from '../core'; | ||
export declare abstract class ElementSchemaRegistry { | ||
@@ -11,0 +11,0 @@ abstract hasProperty(tagName: string, propName: string, schemaMetas: SchemaMetadata[]): boolean; |
@@ -0,1 +1,8 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { CompileDirectiveMetadata, CompileStylesheetMetadata } from './compile_metadata'; | ||
@@ -2,0 +9,0 @@ import { UrlResolver } from './url_resolver'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"StylesCompileDependency":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":23,"character":70}]}]}},"CompiledStylesheet":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./util","name":"OutputContext"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"StylesCompileDependency"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"./compile_metadata","name":"CompileStylesheetMetadata"}]}]}},"StyleCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"}]}],"compileComponent":[{"__symbolic":"method"}],"compileStyles":[{"__symbolic":"method"}],"needsStyleShim":[{"__symbolic":"method"}],"_compileStyles":[{"__symbolic":"method"}],"_shimIfNeeded":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"StylesCompileDependency":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":23,"character":70}]}]}},"CompiledStylesheet":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./util","name":"OutputContext"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"StylesCompileDependency"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"./compile_metadata","name":"CompileStylesheetMetadata"}]}]}},"StyleCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"}]}],"compileComponent":[{"__symbolic":"method"}],"compileStyles":[{"__symbolic":"method"}],"needsStyleShim":[{"__symbolic":"method"}],"_compileStyles":[{"__symbolic":"method"}],"_shimIfNeeded":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"StylesCompileDependency":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":21,"character":70}]}]}},"CompiledStylesheet":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./util","name":"OutputContext"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"StylesCompileDependency"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"./compile_metadata","name":"CompileStylesheetMetadata"}]}]}},"StyleCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"}]}],"compileComponent":[{"__symbolic":"method"}],"compileStyles":[{"__symbolic":"method"}],"needsStyleShim":[{"__symbolic":"method"}],"_compileStyles":[{"__symbolic":"method"}],"_shimIfNeeded":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"StylesCompileDependency":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":21,"character":70}]}]}},"CompiledStylesheet":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./util","name":"OutputContext"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"StylesCompileDependency"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","module":"./compile_metadata","name":"CompileStylesheetMetadata"}]}]}},"StyleCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./url_resolver","name":"UrlResolver"}]}],"compileComponent":[{"__symbolic":"method"}],"compileStyles":[{"__symbolic":"method"}],"needsStyleShim":[{"__symbolic":"method"}],"_compileStyles":[{"__symbolic":"method"}],"_shimIfNeeded":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
import { Type } from '@angular/core'; | ||
import { CompileTypeSummary } from './compile_metadata'; | ||
import { Type } from './core'; | ||
export interface Summary<T> { | ||
@@ -18,3 +18,4 @@ symbol: T; | ||
abstract isLibraryFile(fileName: string): boolean; | ||
abstract getLibraryFileName(fileName: string): string | null; | ||
abstract toSummaryFileName(fileName: string, referringSrcFileName: string): string; | ||
abstract fromSummaryFileName(fileName: string, referringLibFileName: string): string; | ||
abstract resolveSummary(reference: T): Summary<T> | null; | ||
@@ -25,10 +26,11 @@ abstract getSymbolsOf(filePath: string): T[]; | ||
} | ||
export declare class JitSummaryResolver implements SummaryResolver<Type<any>> { | ||
export declare class JitSummaryResolver implements SummaryResolver<Type> { | ||
private _summaries; | ||
isLibraryFile(fileName: string): boolean; | ||
getLibraryFileName(fileName: string): string | null; | ||
resolveSummary(reference: Type<any>): Summary<Type<any>> | null; | ||
getSymbolsOf(filePath: string): Type<any>[]; | ||
getImportAs(reference: Type<any>): Type<any>; | ||
addSummary(summary: Summary<Type<any>>): void; | ||
isLibraryFile(): boolean; | ||
toSummaryFileName(fileName: string): string; | ||
fromSummaryFileName(fileName: string): string; | ||
resolveSummary(reference: Type): Summary<Type> | null; | ||
getSymbolsOf(): Type[]; | ||
getImportAs(reference: Type): Type; | ||
addSummary(summary: Summary<Type>): void; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Summary":{"__symbolic":"interface"},"SummaryResolver":{"__symbolic":"class","arity":1,"members":{"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}},"JitSummaryResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Summary":{"__symbolic":"interface"},"SummaryResolver":{"__symbolic":"class","arity":1,"members":{"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}},"JitSummaryResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"isLibraryFile":[{"__symbolic":"method"}],"getLibraryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"Summary":{"__symbolic":"interface"},"SummaryResolver":{"__symbolic":"class","arity":1,"members":{"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}},"JitSummaryResolver":{"__symbolic":"class","members":{"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Summary":{"__symbolic":"interface"},"SummaryResolver":{"__symbolic":"class","arity":1,"members":{"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}},"JitSummaryResolver":{"__symbolic":"class","members":{"isLibraryFile":[{"__symbolic":"method"}],"toSummaryFileName":[{"__symbolic":"method"}],"fromSummaryFileName":[{"__symbolic":"method"}],"resolveSummary":[{"__symbolic":"method"}],"getSymbolsOf":[{"__symbolic":"method"}],"getImportAs":[{"__symbolic":"method"}],"addSummary":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
import { SecurityContext } from '@angular/core'; | ||
import { CompileDirectiveSummary, CompilePipeSummary } from '../compile_metadata'; | ||
import { SecurityContext } from '../core'; | ||
import { ASTWithSource, BindingPipe, RecursiveAstVisitor } from '../expression_parser/ast'; | ||
@@ -12,0 +12,0 @@ import { Parser } from '../expression_parser/parser'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"BoundPropertyType":{"DEFAULT":0,"LITERAL_ATTR":1,"ANIMATION":2},"BoundProperty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"ASTWithSource"},{"__symbolic":"error","message":"Could not resolve type","line":40,"character":74,"context":{"typeName":"BoundPropertyType"}},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}]}},"BindingParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../ml_parser/interpolation_config","name":"InterpolationConfig"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}],"getUsedPipes":[{"__symbolic":"method"}],"createDirectiveHostPropertyAsts":[{"__symbolic":"method"}],"createDirectiveHostEventAsts":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"parseInlineTemplateBinding":[{"__symbolic":"method"}],"_parseTemplateBindings":[{"__symbolic":"method"}],"parseLiteralAttr":[{"__symbolic":"method"}],"parsePropertyBinding":[{"__symbolic":"method"}],"parsePropertyInterpolation":[{"__symbolic":"method"}],"_parsePropertyAst":[{"__symbolic":"method"}],"_parseAnimation":[{"__symbolic":"method"}],"_parseBinding":[{"__symbolic":"method"}],"createElementPropertyAst":[{"__symbolic":"method"}],"parseEvent":[{"__symbolic":"method"}],"_parseAnimationEvent":[{"__symbolic":"method"}],"_parseEvent":[{"__symbolic":"method"}],"_parseAction":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_reportExpressionParserErrors":[{"__symbolic":"method"}],"_checkPipes":[{"__symbolic":"method"}],"_validatePropertyOrAttributeName":[{"__symbolic":"method"}]}},"PipeCollector":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../expression_parser/ast","name":"RecursiveAstVisitor"},"members":{"visitPipe":[{"__symbolic":"method"}]}},"calcPossibleSecurityContexts":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"BoundPropertyType":{"DEFAULT":0,"LITERAL_ATTR":1,"ANIMATION":2},"BoundProperty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"ASTWithSource"},{"__symbolic":"error","message":"Could not resolve type","line":40,"character":74,"context":{"typeName":"BoundPropertyType"}},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}]}},"BindingParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../ml_parser/interpolation_config","name":"InterpolationConfig"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}],"getUsedPipes":[{"__symbolic":"method"}],"createDirectiveHostPropertyAsts":[{"__symbolic":"method"}],"createDirectiveHostEventAsts":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"parseInlineTemplateBinding":[{"__symbolic":"method"}],"_parseTemplateBindings":[{"__symbolic":"method"}],"parseLiteralAttr":[{"__symbolic":"method"}],"parsePropertyBinding":[{"__symbolic":"method"}],"parsePropertyInterpolation":[{"__symbolic":"method"}],"_parsePropertyAst":[{"__symbolic":"method"}],"_parseAnimation":[{"__symbolic":"method"}],"_parseBinding":[{"__symbolic":"method"}],"createElementPropertyAst":[{"__symbolic":"method"}],"parseEvent":[{"__symbolic":"method"}],"_parseAnimationEvent":[{"__symbolic":"method"}],"_parseEvent":[{"__symbolic":"method"}],"_parseAction":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_reportExpressionParserErrors":[{"__symbolic":"method"}],"_checkPipes":[{"__symbolic":"method"}],"_validatePropertyOrAttributeName":[{"__symbolic":"method"}]}},"PipeCollector":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../expression_parser/ast","name":"RecursiveAstVisitor"},"members":{"visitPipe":[{"__symbolic":"method"}]}},"calcPossibleSecurityContexts":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"BoundPropertyType":{"DEFAULT":0,"LITERAL_ATTR":1,"ANIMATION":2},"BoundProperty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"ASTWithSource"},{"__symbolic":"error","message":"Could not resolve type","line":39,"character":74,"context":{"typeName":"BoundPropertyType"}},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}]}},"BindingParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../ml_parser/interpolation_config","name":"InterpolationConfig"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}],"getUsedPipes":[{"__symbolic":"method"}],"createDirectiveHostPropertyAsts":[{"__symbolic":"method"}],"createDirectiveHostEventAsts":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"parseInlineTemplateBinding":[{"__symbolic":"method"}],"_parseTemplateBindings":[{"__symbolic":"method"}],"parseLiteralAttr":[{"__symbolic":"method"}],"parsePropertyBinding":[{"__symbolic":"method"}],"parsePropertyInterpolation":[{"__symbolic":"method"}],"_parsePropertyAst":[{"__symbolic":"method"}],"_parseAnimation":[{"__symbolic":"method"}],"_parseBinding":[{"__symbolic":"method"}],"createElementPropertyAst":[{"__symbolic":"method"}],"parseEvent":[{"__symbolic":"method"}],"_parseAnimationEvent":[{"__symbolic":"method"}],"_parseEvent":[{"__symbolic":"method"}],"_parseAction":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_reportExpressionParserErrors":[{"__symbolic":"method"}],"_checkPipes":[{"__symbolic":"method"}],"_validatePropertyOrAttributeName":[{"__symbolic":"method"}]}},"PipeCollector":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../expression_parser/ast","name":"RecursiveAstVisitor"},"members":{"visitPipe":[{"__symbolic":"method"}]}},"calcPossibleSecurityContexts":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"BoundPropertyType":{"DEFAULT":0,"LITERAL_ATTR":1,"ANIMATION":2},"BoundProperty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"ASTWithSource"},{"__symbolic":"error","message":"Could not resolve type","line":39,"character":74,"context":{"typeName":"BoundPropertyType"}},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}]}},"BindingParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../ml_parser/interpolation_config","name":"InterpolationConfig"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}],"getUsedPipes":[{"__symbolic":"method"}],"createDirectiveHostPropertyAsts":[{"__symbolic":"method"}],"createDirectiveHostEventAsts":[{"__symbolic":"method"}],"parseInterpolation":[{"__symbolic":"method"}],"parseInlineTemplateBinding":[{"__symbolic":"method"}],"_parseTemplateBindings":[{"__symbolic":"method"}],"parseLiteralAttr":[{"__symbolic":"method"}],"parsePropertyBinding":[{"__symbolic":"method"}],"parsePropertyInterpolation":[{"__symbolic":"method"}],"_parsePropertyAst":[{"__symbolic":"method"}],"_parseAnimation":[{"__symbolic":"method"}],"_parseBinding":[{"__symbolic":"method"}],"createElementPropertyAst":[{"__symbolic":"method"}],"parseEvent":[{"__symbolic":"method"}],"_parseAnimationEvent":[{"__symbolic":"method"}],"_parseEvent":[{"__symbolic":"method"}],"_parseAction":[{"__symbolic":"method"}],"_reportError":[{"__symbolic":"method"}],"_reportExpressionParserErrors":[{"__symbolic":"method"}],"_checkPipes":[{"__symbolic":"method"}],"_validatePropertyOrAttributeName":[{"__symbolic":"method"}]}},"PipeCollector":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../expression_parser/ast","name":"RecursiveAstVisitor"},"members":{"visitPipe":[{"__symbolic":"method"}]}},"calcPossibleSecurityContexts":{"__symbolic":"function"}}}] |
@@ -8,5 +8,5 @@ /** | ||
*/ | ||
import { SecurityContext } from '@angular/core'; | ||
import { AstPath } from '../ast_path'; | ||
import { CompileDirectiveSummary, CompileProviderMetadata, CompileTokenMetadata } from '../compile_metadata'; | ||
import { SecurityContext } from '../core'; | ||
import { AST } from '../expression_parser/ast'; | ||
@@ -13,0 +13,0 @@ import { LifecycleHooks } from '../lifecycle_reflector'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TemplateAst":{"__symbolic":"interface"},"TextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundTextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"AttrAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundElementPropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":67,"character":40,"context":{"typeName":"PropertyBindingType"}},{"__symbolic":"reference","module":"@angular/core","name":"SecurityContext"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundEventAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ReferenceAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"VariableAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ElementAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"EmbeddedTemplateAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"VariableAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundDirectivePropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"DirectiveAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileDirectiveSummary"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundDirectivePropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileProviderMetadata"}]},{"__symbolic":"error","message":"Could not resolve type","line":187,"character":72,"context":{"typeName":"ProviderAstType"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../lifecycle_reflector","name":"LifecycleHooks"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAstType":{"PublicService":0,"PrivateService":1,"Component":2,"Directive":3,"Builtin":4},"NgContentAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyBindingType":{"Property":0,"Attribute":1,"Class":2,"Style":3,"Animation":4},"QueryMatch":{"__symbolic":"interface"},"TemplateAstVisitor":{"__symbolic":"interface"},"NullTemplateVisitor":{"__symbolic":"class","members":{"visitNgContent":[{"__symbolic":"method"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitReference":[{"__symbolic":"method"}],"visitVariable":[{"__symbolic":"method"}],"visitEvent":[{"__symbolic":"method"}],"visitElementProperty":[{"__symbolic":"method"}],"visitAttr":[{"__symbolic":"method"}],"visitBoundText":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitDirectiveProperty":[{"__symbolic":"method"}]}},"RecursiveTemplateAstVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullTemplateVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"templateVisitAll":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"TemplateAst":{"__symbolic":"interface"},"TextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundTextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"AttrAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundElementPropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":67,"character":40,"context":{"typeName":"PropertyBindingType"}},{"__symbolic":"reference","module":"@angular/core","name":"SecurityContext"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundEventAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ReferenceAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"VariableAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ElementAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"EmbeddedTemplateAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"VariableAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundDirectivePropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"DirectiveAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileDirectiveSummary"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundDirectivePropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileProviderMetadata"}]},{"__symbolic":"error","message":"Could not resolve type","line":187,"character":72,"context":{"typeName":"ProviderAstType"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../lifecycle_reflector","name":"LifecycleHooks"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAstType":{"PublicService":0,"PrivateService":1,"Component":2,"Directive":3,"Builtin":4},"NgContentAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyBindingType":{"Property":0,"Attribute":1,"Class":2,"Style":3,"Animation":4},"QueryMatch":{"__symbolic":"interface"},"TemplateAstVisitor":{"__symbolic":"interface"},"NullTemplateVisitor":{"__symbolic":"class","members":{"visitNgContent":[{"__symbolic":"method"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitReference":[{"__symbolic":"method"}],"visitVariable":[{"__symbolic":"method"}],"visitEvent":[{"__symbolic":"method"}],"visitElementProperty":[{"__symbolic":"method"}],"visitAttr":[{"__symbolic":"method"}],"visitBoundText":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitDirectiveProperty":[{"__symbolic":"method"}]}},"RecursiveTemplateAstVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullTemplateVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"templateVisitAll":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"TemplateAst":{"__symbolic":"interface"},"TextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundTextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"AttrAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundElementPropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":66,"character":40,"context":{"typeName":"PropertyBindingType"}},{"__symbolic":"reference","module":"../core","name":"SecurityContext"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundEventAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ReferenceAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"VariableAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ElementAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"EmbeddedTemplateAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"VariableAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundDirectivePropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"DirectiveAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileDirectiveSummary"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundDirectivePropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileProviderMetadata"}]},{"__symbolic":"error","message":"Could not resolve type","line":186,"character":72,"context":{"typeName":"ProviderAstType"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../lifecycle_reflector","name":"LifecycleHooks"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAstType":{"PublicService":0,"PrivateService":1,"Component":2,"Directive":3,"Builtin":4},"NgContentAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyBindingType":{"Property":0,"Attribute":1,"Class":2,"Style":3,"Animation":4},"QueryMatch":{"__symbolic":"interface"},"TemplateAstVisitor":{"__symbolic":"interface"},"NullTemplateVisitor":{"__symbolic":"class","members":{"visitNgContent":[{"__symbolic":"method"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitReference":[{"__symbolic":"method"}],"visitVariable":[{"__symbolic":"method"}],"visitEvent":[{"__symbolic":"method"}],"visitElementProperty":[{"__symbolic":"method"}],"visitAttr":[{"__symbolic":"method"}],"visitBoundText":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitDirectiveProperty":[{"__symbolic":"method"}]}},"RecursiveTemplateAstVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullTemplateVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"templateVisitAll":{"__symbolic":"function"},"TemplateAstPath":{"__symbolic":"interface"}}},{"__symbolic":"module","version":1,"metadata":{"TemplateAst":{"__symbolic":"interface"},"TextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundTextAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"AttrAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundElementPropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":66,"character":40,"context":{"typeName":"PropertyBindingType"}},{"__symbolic":"reference","module":"../core","name":"SecurityContext"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundEventAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ReferenceAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"VariableAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ElementAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"EmbeddedTemplateAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"AttrAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ReferenceAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"VariableAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"DirectiveAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ProviderAst"}]},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"BoundDirectivePropertyAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../expression_parser/ast","name":"AST"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"DirectiveAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileDirectiveSummary"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundDirectivePropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundElementPropertyAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"BoundEventAst"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileTokenMetadata"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompileProviderMetadata"}]},{"__symbolic":"error","message":"Could not resolve type","line":186,"character":72,"context":{"typeName":"ProviderAstType"}},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../lifecycle_reflector","name":"LifecycleHooks"}]},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"ProviderAstType":{"PublicService":0,"PrivateService":1,"Component":2,"Directive":3,"Builtin":4},"NgContentAst":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"}]}],"visit":[{"__symbolic":"method"}]}},"PropertyBindingType":{"Property":0,"Attribute":1,"Class":2,"Style":3,"Animation":4},"QueryMatch":{"__symbolic":"interface"},"TemplateAstVisitor":{"__symbolic":"interface"},"NullTemplateVisitor":{"__symbolic":"class","members":{"visitNgContent":[{"__symbolic":"method"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitReference":[{"__symbolic":"method"}],"visitVariable":[{"__symbolic":"method"}],"visitEvent":[{"__symbolic":"method"}],"visitElementProperty":[{"__symbolic":"method"}],"visitAttr":[{"__symbolic":"method"}],"visitBoundText":[{"__symbolic":"method"}],"visitText":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitDirectiveProperty":[{"__symbolic":"method"}]}},"RecursiveTemplateAstVisitor":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullTemplateVisitor"},"members":{"__ctor__":[{"__symbolic":"constructor"}],"visitEmbeddedTemplate":[{"__symbolic":"method"}],"visitElement":[{"__symbolic":"method"}],"visitDirective":[{"__symbolic":"method"}],"visitChildren":[{"__symbolic":"method"}]}},"templateVisitAll":{"__symbolic":"function"},"TemplateAstPath":{"__symbolic":"interface"}}}] |
@@ -8,6 +8,6 @@ /** | ||
*/ | ||
import { InjectionToken, SchemaMetadata, ɵConsole as Console } from '@angular/core'; | ||
import { CompileDirectiveMetadata, CompileDirectiveSummary, CompilePipeSummary, CompileTypeMetadata } from '../compile_metadata'; | ||
import { CompileReflector } from '../compile_reflector'; | ||
import { CompilerConfig } from '../config'; | ||
import { SchemaMetadata } from '../core'; | ||
import { Parser } from '../expression_parser/parser'; | ||
@@ -20,11 +20,4 @@ import { I18NHtmlParser } from '../i18n/i18n_html_parser'; | ||
import { CssSelector } from '../selector'; | ||
import { Console } from '../util'; | ||
import { TemplateAst, TemplateAstVisitor } from './template_ast'; | ||
/** | ||
* Provides an array of {@link TemplateAstVisitor}s which will be used to transform | ||
* parsed templates before compilation is invoked, allowing custom expression syntax | ||
* and other advanced transformations. | ||
* | ||
* This is currently an internal-only feature and not meant for general use. | ||
*/ | ||
export declare const TEMPLATE_TRANSFORMS: InjectionToken<{}>; | ||
export declare class TemplateParseError extends ParseError { | ||
@@ -31,0 +24,0 @@ constructor(message: string, span: ParseSourceSpan, level: ParseErrorLevel); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TEMPLATE_TRANSFORMS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["TemplateTransforms"]},"TemplateParseError":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../parse_util","name":"ParseError"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseErrorLevel"}]}]}},"TemplateParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}]}},"TemplateParser":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"TEMPLATE_TRANSFORMS"}]}]],"parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"../i18n/i18n_html_parser","name":"I18NHtmlParser"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAstVisitor"}]}]}],"parse":[{"__symbolic":"method"}],"tryParse":[{"__symbolic":"method"}],"tryParseHtml":[{"__symbolic":"method"}],"expandHtml":[{"__symbolic":"method"}],"getInterpolationConfig":[{"__symbolic":"method"}],"_assertNoReferenceDuplicationOnTemplate":[{"__symbolic":"method"}]}},"splitClasses":{"__symbolic":"function","parameters":["classAttrValue"],"value":{"__symbolic":"error","message":"Expression form not supported","line":812,"character":37}},"createElementCssSelector":{"__symbolic":"function"},"removeSummaryDuplicates":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"TEMPLATE_TRANSFORMS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["TemplateTransforms"]},"TemplateParseError":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../parse_util","name":"ParseError"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseErrorLevel"}]}]}},"TemplateParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}]}},"TemplateParser":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"TEMPLATE_TRANSFORMS"}]}]],"parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"../i18n/i18n_html_parser","name":"I18NHtmlParser"},{"__symbolic":"reference","module":"@angular/core","name":"ɵConsole"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAstVisitor"}]}]}],"parse":[{"__symbolic":"method"}],"tryParse":[{"__symbolic":"method"}],"tryParseHtml":[{"__symbolic":"method"}],"expandHtml":[{"__symbolic":"method"}],"getInterpolationConfig":[{"__symbolic":"method"}],"_assertNoReferenceDuplicationOnTemplate":[{"__symbolic":"method"}]}},"splitClasses":{"__symbolic":"function","parameters":["classAttrValue"],"value":{"__symbolic":"error","message":"Expression form not supported","line":812,"character":37}},"createElementCssSelector":{"__symbolic":"function"},"removeSummaryDuplicates":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"TemplateParseError":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../parse_util","name":"ParseError"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseErrorLevel"}]}]}},"TemplateParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}]}},"TemplateParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"../i18n/i18n_html_parser","name":"I18NHtmlParser"},{"__symbolic":"reference","module":"../util","name":"Console"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAstVisitor"}]}]}],"parse":[{"__symbolic":"method"}],"tryParse":[{"__symbolic":"method"}],"tryParseHtml":[{"__symbolic":"method"}],"expandHtml":[{"__symbolic":"method"}],"getInterpolationConfig":[{"__symbolic":"method"}],"_assertNoReferenceDuplicationOnTemplate":[{"__symbolic":"method"}]}},"splitClasses":{"__symbolic":"function","parameters":["classAttrValue"],"value":{"__symbolic":"error","message":"Expression form not supported","line":818,"character":37}},"createElementCssSelector":{"__symbolic":"function"},"removeSummaryDuplicates":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"TemplateParseError":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../parse_util","name":"ParseError"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../parse_util","name":"ParseSourceSpan"},{"__symbolic":"reference","module":"../parse_util","name":"ParseErrorLevel"}]}]}},"TemplateParseResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAst"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../compile_metadata","name":"CompilePipeSummary"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"../parse_util","name":"ParseError"}]}]}]}},"TemplateParser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../expression_parser/parser","name":"Parser"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"},{"__symbolic":"reference","module":"../i18n/i18n_html_parser","name":"I18NHtmlParser"},{"__symbolic":"reference","module":"../util","name":"Console"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./template_ast","name":"TemplateAstVisitor"}]}]}],"parse":[{"__symbolic":"method"}],"tryParse":[{"__symbolic":"method"}],"tryParseHtml":[{"__symbolic":"method"}],"expandHtml":[{"__symbolic":"method"}],"getInterpolationConfig":[{"__symbolic":"method"}],"_assertNoReferenceDuplicationOnTemplate":[{"__symbolic":"method"}]}},"splitClasses":{"__symbolic":"function","parameters":["classAttrValue"],"value":{"__symbolic":"error","message":"Expression form not supported","line":818,"character":37}},"createElementCssSelector":{"__symbolic":"function"},"removeSummaryDuplicates":{"__symbolic":"function"}}}] |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
import { InjectionToken } from '@angular/core'; | ||
/** | ||
@@ -16,9 +15,2 @@ * Create a {@link UrlResolver} with no package prefix. | ||
/** | ||
* A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'. | ||
*/ | ||
export declare const DEFAULT_PACKAGE_URL_PROVIDER: { | ||
provide: InjectionToken<string>; | ||
useValue: string; | ||
}; | ||
/** | ||
* Used by the {@link Compiler} when resolving HTML and CSS template URLs. | ||
@@ -39,15 +31,9 @@ * | ||
*/ | ||
export declare class UrlResolver { | ||
private _packagePrefix; | ||
constructor(_packagePrefix?: string | null); | ||
/** | ||
* Resolves the `url` given the `baseUrl`: | ||
* - when the `url` is null, the `baseUrl` is returned, | ||
* - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of | ||
* `baseUrl` and `url`, | ||
* - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is | ||
* returned as is (ignoring the `baseUrl`) | ||
*/ | ||
export interface UrlResolver { | ||
resolve(baseUrl: string, url: string): string; | ||
} | ||
export interface UrlResolverCtor { | ||
new (packagePrefix?: string | null): UrlResolver; | ||
} | ||
export declare const UrlResolver: UrlResolverCtor; | ||
/** | ||
@@ -54,0 +40,0 @@ * Extract the scheme of a URL. |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"createUrlResolverWithoutPackagePrefix":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"UrlResolver"}}},"createOfflineCompileUrlResolver":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"UrlResolver"},"arguments":["."]}},"DEFAULT_PACKAGE_URL_PROVIDER":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"PACKAGE_ROOT_URL"},"useValue":"/"},"UrlResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PACKAGE_ROOT_URL"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"resolve":[{"__symbolic":"method"}]}},"getUrlScheme":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"createUrlResolverWithoutPackagePrefix":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"UrlResolver"}}},"createOfflineCompileUrlResolver":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"UrlResolver"},"arguments":["."]}},"DEFAULT_PACKAGE_URL_PROVIDER":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"PACKAGE_ROOT_URL"},"useValue":"/"},"UrlResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PACKAGE_ROOT_URL"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"resolve":[{"__symbolic":"method"}]}},"getUrlScheme":{"__symbolic":"function"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"createUrlResolverWithoutPackagePrefix":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"any"}}},"createOfflineCompileUrlResolver":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"any"},"arguments":["."]}},"UrlResolver":{"__symbolic":"class"},"UrlResolverCtor":{"__symbolic":"interface"},"getUrlScheme":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"createUrlResolverWithoutPackagePrefix":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"any"}}},"createOfflineCompileUrlResolver":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"any"},"arguments":["."]}},"UrlResolver":{"__symbolic":"class"},"UrlResolverCtor":{"__symbolic":"interface"},"getUrlScheme":{"__symbolic":"function"}}}] |
@@ -0,4 +1,10 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import * as o from './output/output_ast'; | ||
import { ParseError } from './parse_util'; | ||
export declare const MODULE_SUFFIX = ""; | ||
export declare function camelCaseToDashCase(input: string): string; | ||
@@ -43,1 +49,21 @@ export declare function dashCaseToCamelCase(input: string): string; | ||
} | ||
export declare function stringify(token: any): string; | ||
/** | ||
* Lazily retrieves the reference value from a forwardRef. | ||
*/ | ||
export declare function resolveForwardRef(type: any): any; | ||
/** | ||
* Determine if the argument is shaped like a Promise | ||
*/ | ||
export declare function isPromise(obj: any): obj is Promise<any>; | ||
export declare class Version { | ||
full: string; | ||
constructor(full: string); | ||
readonly major: string; | ||
readonly minor: string; | ||
readonly patch: string; | ||
} | ||
export interface Console { | ||
log(message: string): void; | ||
warn(message: string): void; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MODULE_SUFFIX":"","camelCaseToDashCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":15,"character":6,"context":{"name":"CAMEL_CASE_REGEXP"}}},"dashCaseToCamelCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":16,"character":6,"context":{"name":"DASH_CASE_REGEXP"}}},"splitAtColon":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":34,"character":9,"context":{"name":"_splitAt"}}},"splitAtPeriod":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":34,"character":9,"context":{"name":"_splitAt"}}},"visitValue":{"__symbolic":"function"},"isDefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":null},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}}}},"noUndefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":62,"character":29},"elseExpression":{"__symbolic":"reference","name":"val"}}},"ValueVisitor":{"__symbolic":"interface"},"ValueTransformer":{"__symbolic":"class","members":{"visitArray":[{"__symbolic":"method"}],"visitStringMap":[{"__symbolic":"method"}],"visitPrimitive":[{"__symbolic":"method"}],"visitOther":[{"__symbolic":"method"}]}},"SyncAsync":{"__symbolic":"error","message":"Function call not supported","line":88,"character":14},"syntaxError":{"__symbolic":"function"},"isSyntaxError":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngSyntaxError"}},"getParseErrors":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngParseErrors"},"right":[]}},"escapeRegExp":{"__symbolic":"function","parameters":["s"],"value":{"__symbolic":"error","message":"Expression form not supported","line":120,"character":19}},"utf8Encode":{"__symbolic":"function"},"OutputContext":{"__symbolic":"interface"}}},{"__symbolic":"module","version":1,"metadata":{"MODULE_SUFFIX":"","camelCaseToDashCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":15,"character":6,"context":{"name":"CAMEL_CASE_REGEXP"}}},"dashCaseToCamelCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":16,"character":6,"context":{"name":"DASH_CASE_REGEXP"}}},"splitAtColon":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":34,"character":9,"context":{"name":"_splitAt"}}},"splitAtPeriod":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":34,"character":9,"context":{"name":"_splitAt"}}},"visitValue":{"__symbolic":"function"},"isDefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":null},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}}}},"noUndefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":62,"character":29},"elseExpression":{"__symbolic":"reference","name":"val"}}},"ValueVisitor":{"__symbolic":"interface"},"ValueTransformer":{"__symbolic":"class","members":{"visitArray":[{"__symbolic":"method"}],"visitStringMap":[{"__symbolic":"method"}],"visitPrimitive":[{"__symbolic":"method"}],"visitOther":[{"__symbolic":"method"}]}},"SyncAsync":{"__symbolic":"error","message":"Function call not supported","line":88,"character":14},"syntaxError":{"__symbolic":"function"},"isSyntaxError":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngSyntaxError"}},"getParseErrors":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngParseErrors"},"right":[]}},"escapeRegExp":{"__symbolic":"function","parameters":["s"],"value":{"__symbolic":"error","message":"Expression form not supported","line":120,"character":19}},"utf8Encode":{"__symbolic":"function"},"OutputContext":{"__symbolic":"interface"}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"camelCaseToDashCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":11,"character":6,"context":{"name":"CAMEL_CASE_REGEXP"}}},"dashCaseToCamelCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":12,"character":6,"context":{"name":"DASH_CASE_REGEXP"}}},"splitAtColon":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":30,"character":9,"context":{"name":"_splitAt"}}},"splitAtPeriod":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":30,"character":9,"context":{"name":"_splitAt"}}},"visitValue":{"__symbolic":"function"},"isDefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":null},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}}}},"noUndefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":58,"character":29},"elseExpression":{"__symbolic":"reference","name":"val"}}},"ValueVisitor":{"__symbolic":"interface"},"ValueTransformer":{"__symbolic":"class","members":{"visitArray":[{"__symbolic":"method"}],"visitStringMap":[{"__symbolic":"method"}],"visitPrimitive":[{"__symbolic":"method"}],"visitOther":[{"__symbolic":"method"}]}},"SyncAsync":{"__symbolic":"error","message":"Function call not supported","line":84,"character":14},"syntaxError":{"__symbolic":"function"},"isSyntaxError":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngSyntaxError"}},"getParseErrors":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngParseErrors"},"right":[]}},"escapeRegExp":{"__symbolic":"function","parameters":["s"],"value":{"__symbolic":"error","message":"Expression form not supported","line":116,"character":19}},"utf8Encode":{"__symbolic":"function"},"OutputContext":{"__symbolic":"interface"},"stringify":{"__symbolic":"function"},"resolveForwardRef":{"__symbolic":"function"},"isPromise":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"obj"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":210,"character":18},"right":"function"}}},"Version":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"Console":{"__symbolic":"interface"}}},{"__symbolic":"module","version":1,"metadata":{"camelCaseToDashCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":11,"character":6,"context":{"name":"CAMEL_CASE_REGEXP"}}},"dashCaseToCamelCase":{"__symbolic":"function","parameters":["input"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":12,"character":6,"context":{"name":"DASH_CASE_REGEXP"}}},"splitAtColon":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":30,"character":9,"context":{"name":"_splitAt"}}},"splitAtPeriod":{"__symbolic":"function","parameters":["input","defaultValues"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":30,"character":9,"context":{"name":"_splitAt"}}},"visitValue":{"__symbolic":"function"},"isDefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":null},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}}}},"noUndefined":{"__symbolic":"function","parameters":["val"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"val"},"right":{"__symbolic":"reference","name":"undefined"}},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":58,"character":29},"elseExpression":{"__symbolic":"reference","name":"val"}}},"ValueVisitor":{"__symbolic":"interface"},"ValueTransformer":{"__symbolic":"class","members":{"visitArray":[{"__symbolic":"method"}],"visitStringMap":[{"__symbolic":"method"}],"visitPrimitive":[{"__symbolic":"method"}],"visitOther":[{"__symbolic":"method"}]}},"SyncAsync":{"__symbolic":"error","message":"Function call not supported","line":84,"character":14},"syntaxError":{"__symbolic":"function"},"isSyntaxError":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngSyntaxError"}},"getParseErrors":{"__symbolic":"function","parameters":["error"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"error"},"index":"ngParseErrors"},"right":[]}},"escapeRegExp":{"__symbolic":"function","parameters":["s"],"value":{"__symbolic":"error","message":"Expression form not supported","line":116,"character":19}},"utf8Encode":{"__symbolic":"function"},"OutputContext":{"__symbolic":"interface"},"stringify":{"__symbolic":"function"},"resolveForwardRef":{"__symbolic":"function"},"isPromise":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"obj"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":210,"character":18},"right":"function"}}},"Version":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"Console":{"__symbolic":"interface"}}}] |
@@ -13,3 +13,3 @@ /** | ||
*/ | ||
import { Version } from '@angular/core'; | ||
import { Version } from './util'; | ||
/** | ||
@@ -16,0 +16,0 @@ * @stable |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["5.0.0-beta.4"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["5.0.0-beta.4"]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./util","name":"Version"},"arguments":["5.0.0-beta.5"]}}},{"__symbolic":"module","version":1,"metadata":{"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./util","name":"Version"},"arguments":["5.0.0-beta.5"]}}}] |
@@ -8,5 +8,5 @@ /** | ||
*/ | ||
import { ɵNodeFlags as NodeFlags } from '@angular/core'; | ||
import { CompileDiDependencyMetadata, CompileEntryComponentMetadata } from '../compile_metadata'; | ||
import { CompileReflector } from '../compile_reflector'; | ||
import { NodeFlags } from '../core'; | ||
import { LifecycleHooks } from '../lifecycle_reflector'; | ||
@@ -13,0 +13,0 @@ import * as o from '../output/output_ast'; |
@@ -0,1 +1,8 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { CompileDirectiveMetadata, CompilePipeSummary } from '../compile_metadata'; | ||
@@ -20,1 +27,2 @@ import { CompileReflector } from '../compile_reflector'; | ||
} | ||
export declare function elementEventFullName(target: string | null, name: string): string; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ViewCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"ViewCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"}]}],"compileComponent":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ViewCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"ViewCompiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../injectable","name":"CompilerInjectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"}]}],"compileComponent":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ViewCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"ViewCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"}]}],"compileComponent":[{"__symbolic":"method"}]}},"elementEventFullName":{"__symbolic":"function","parameters":["target","name"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"target"},"thenExpression":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"reference","name":"target"},"right":":"},"right":{"__symbolic":"reference","name":"name"}},"elseExpression":{"__symbolic":"reference","name":"name"}}}}},{"__symbolic":"module","version":1,"metadata":{"ViewCompileResult":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"ViewCompiler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config","name":"CompilerConfig"},{"__symbolic":"reference","module":"../compile_reflector","name":"CompileReflector"},{"__symbolic":"reference","module":"../schema/element_schema_registry","name":"ElementSchemaRegistry"}]}],"compileComponent":[{"__symbolic":"method"}]}},"elementEventFullName":{"__symbolic":"function","parameters":["target","name"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"target"},"thenExpression":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"reference","name":"target"},"right":":"},"right":{"__symbolic":"reference","name":"name"}},"elseExpression":{"__symbolic":"reference","name":"name"}}}}}] |
/** | ||
* @license Angular v5.0.0-beta.4 | ||
* @license Angular v5.0.0-beta.5 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
import { CompileReflector, DirectiveResolver } from '@angular/compiler'; | ||
import { Directive, Injector, Provider, Type, ɵViewMetadata as ViewMetadata } from '@angular/core'; | ||
import { CompileReflector, DirectiveResolver, core } from '@angular/compiler'; | ||
/** | ||
@@ -16,28 +15,11 @@ * An implementation of {@link DirectiveResolver} that allows overriding | ||
export declare class MockDirectiveResolver extends DirectiveResolver { | ||
private _injector; | ||
private _directives; | ||
private _providerOverrides; | ||
private _viewProviderOverrides; | ||
private _views; | ||
private _inlineTemplates; | ||
constructor(_injector: Injector, reflector: CompileReflector); | ||
private readonly _compiler; | ||
private _clearCacheFor(component); | ||
resolve(type: Type<any>): Directive; | ||
resolve(type: Type<any>, throwIfNotFound: true): Directive; | ||
resolve(type: Type<any>, throwIfNotFound: boolean): Directive | null; | ||
constructor(reflector: CompileReflector); | ||
resolve(type: core.Type): core.Directive; | ||
resolve(type: core.Type, throwIfNotFound: true): core.Directive; | ||
resolve(type: core.Type, throwIfNotFound: boolean): core.Directive | null; | ||
/** | ||
* Overrides the {@link Directive} for a directive. | ||
* Overrides the {@link core.Directive} for a directive. | ||
*/ | ||
setDirective(type: Type<any>, metadata: Directive): void; | ||
setProvidersOverride(type: Type<any>, providers: Provider[]): void; | ||
setViewProvidersOverride(type: Type<any>, viewProviders: Provider[]): void; | ||
/** | ||
* Overrides the {@link ViewMetadata} for a component. | ||
*/ | ||
setView(component: Type<any>, view: ViewMetadata): void; | ||
/** | ||
* Overrides the inline template for a component - other configuration remains unchanged. | ||
*/ | ||
setInlineTemplate(component: Type<any>, template: string): void; | ||
setDirective(type: core.Type, metadata: core.Directive): void; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MockDirectiveResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"_clearCacheFor":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setDirective":[{"__symbolic":"method"}],"setProvidersOverride":[{"__symbolic":"method"}],"setViewProvidersOverride":[{"__symbolic":"method"}],"setView":[{"__symbolic":"method"}],"setInlineTemplate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockDirectiveResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"_clearCacheFor":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setDirective":[{"__symbolic":"method"}],"setProvidersOverride":[{"__symbolic":"method"}],"setViewProvidersOverride":[{"__symbolic":"method"}],"setView":[{"__symbolic":"method"}],"setInlineTemplate":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"MockDirectiveResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setDirective":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockDirectiveResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"resolve":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"setDirective":[{"__symbolic":"method"}]}}}}] |
@@ -8,12 +8,10 @@ /** | ||
*/ | ||
import { CompileReflector, NgModuleResolver } from '@angular/compiler'; | ||
import { Injector, NgModule, Type } from '@angular/core'; | ||
import { CompileReflector, NgModuleResolver, core } from '@angular/compiler'; | ||
export declare class MockNgModuleResolver extends NgModuleResolver { | ||
private _injector; | ||
private _ngModules; | ||
constructor(_injector: Injector, reflector: CompileReflector); | ||
constructor(reflector: CompileReflector); | ||
/** | ||
* Overrides the {@link NgModule} for a module. | ||
*/ | ||
setNgModule(type: Type<any>, metadata: NgModule): void; | ||
setNgModule(type: core.Type, metadata: core.NgModule): void; | ||
/** | ||
@@ -25,5 +23,3 @@ * Returns the {@link NgModule} for a module: | ||
*/ | ||
resolve(type: Type<any>, throwIfNotFound?: boolean): NgModule; | ||
private readonly _compiler; | ||
private _clearCacheFor(component); | ||
resolve(type: core.Type, throwIfNotFound?: boolean): core.NgModule; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MockNgModuleResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}],"_clearCacheFor":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockNgModuleResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}],"_clearCacheFor":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"MockNgModuleResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockNgModuleResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setNgModule":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] |
@@ -8,14 +8,10 @@ /** | ||
*/ | ||
import { CompileReflector, PipeResolver } from '@angular/compiler'; | ||
import { Injector, Pipe, Type } from '@angular/core'; | ||
import { CompileReflector, PipeResolver, core } from '@angular/compiler'; | ||
export declare class MockPipeResolver extends PipeResolver { | ||
private _injector; | ||
private _pipes; | ||
constructor(_injector: Injector, refector: CompileReflector); | ||
private readonly _compiler; | ||
private _clearCacheFor(pipe); | ||
constructor(refector: CompileReflector); | ||
/** | ||
* Overrides the {@link Pipe} for a pipe. | ||
*/ | ||
setPipe(type: Type<any>, metadata: Pipe): void; | ||
setPipe(type: core.Type, metadata: core.Pipe): void; | ||
/** | ||
@@ -27,3 +23,3 @@ * Returns the {@link Pipe} for a pipe: | ||
*/ | ||
resolve(type: Type<any>, throwIfNotFound?: boolean): Pipe; | ||
resolve(type: core.Type, throwIfNotFound?: boolean): core.Pipe; | ||
} |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MockPipeResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"_clearCacheFor":[{"__symbolic":"method"}],"setPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockPipeResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"_clearCacheFor":[{"__symbolic":"method"}],"setPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"MockPipeResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockPipeResolver":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]}],"setPipe":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}]}}}}] |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
import { ElementSchemaRegistry } from '@angular/compiler'; | ||
import { SchemaMetadata, SecurityContext } from '@angular/core'; | ||
import { ElementSchemaRegistry, core } from '@angular/compiler'; | ||
export declare class MockSchemaRegistry implements ElementSchemaRegistry { | ||
@@ -30,6 +29,6 @@ existingProperties: { | ||
}, invalidProperties: Array<string>, invalidAttributes: Array<string>); | ||
hasProperty(tagName: string, property: string, schemas: SchemaMetadata[]): boolean; | ||
hasElement(tagName: string, schemaMetas: SchemaMetadata[]): boolean; | ||
hasProperty(tagName: string, property: string, schemas: core.SchemaMetadata[]): boolean; | ||
hasElement(tagName: string, schemaMetas: core.SchemaMetadata[]): boolean; | ||
allKnownElementNames(): string[]; | ||
securityContext(selector: string, property: string, isAttribute: boolean): SecurityContext; | ||
securityContext(selector: string, property: string, isAttribute: boolean): core.SecurityContext; | ||
getMappedPropName(attrName: string): string; | ||
@@ -36,0 +35,0 @@ getDefaultComponentElementName(): string; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MockSchemaRegistry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":13,"character":33},{"__symbolic":"error","message":"Expression form not supported","line":14,"character":30},{"__symbolic":"error","message":"Expression form not supported","line":15,"character":31},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockSchemaRegistry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":13,"character":33},{"__symbolic":"error","message":"Expression form not supported","line":14,"character":30},{"__symbolic":"error","message":"Expression form not supported","line":15,"character":31},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"MockSchemaRegistry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":12,"character":33},{"__symbolic":"error","message":"Expression form not supported","line":13,"character":30},{"__symbolic":"error","message":"Expression form not supported","line":14,"character":31},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MockSchemaRegistry":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":12,"character":33},{"__symbolic":"error","message":"Expression form not supported","line":13,"character":30},{"__symbolic":"error","message":"Expression form not supported","line":14,"character":31},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}}}}] |
@@ -23,2 +23,3 @@ /** | ||
*/ | ||
export * from './resource_loader_mock'; | ||
export * from './schema_registry_mock'; | ||
@@ -28,42 +29,1 @@ export * from './directive_resolver_mock'; | ||
export * from './pipe_resolver_mock'; | ||
import { ModuleWithComponentFactories, CompilerOptions, CompilerFactory, ComponentFactory, NgModuleFactory, Injector, NgModule, Component, Directive, Pipe, Type, PlatformRef } from '@angular/core'; | ||
import { MetadataOverride, ɵTestingCompilerFactory as TestingCompilerFactory, ɵTestingCompiler as TestingCompiler } from '@angular/core/testing'; | ||
import { JitCompiler, CompileMetadataResolver } from '@angular/compiler'; | ||
import { MockDirectiveResolver } from './directive_resolver_mock'; | ||
import { MockNgModuleResolver } from './ng_module_resolver_mock'; | ||
import { MockPipeResolver } from './pipe_resolver_mock'; | ||
export declare class TestingCompilerFactoryImpl implements TestingCompilerFactory { | ||
private _compilerFactory; | ||
constructor(_compilerFactory: CompilerFactory); | ||
createTestingCompiler(options: CompilerOptions[]): TestingCompiler; | ||
} | ||
export declare class TestingCompilerImpl implements TestingCompiler { | ||
private _compiler; | ||
private _directiveResolver; | ||
private _pipeResolver; | ||
private _moduleResolver; | ||
private _metadataResolver; | ||
private _overrider; | ||
constructor(_compiler: JitCompiler, _directiveResolver: MockDirectiveResolver, _pipeResolver: MockPipeResolver, _moduleResolver: MockNgModuleResolver, _metadataResolver: CompileMetadataResolver); | ||
readonly injector: Injector; | ||
compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T>; | ||
compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>>; | ||
compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T>; | ||
compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>): Promise<ModuleWithComponentFactories<T>>; | ||
getNgContentSelectors(component: Type<any>): string[]; | ||
getComponentFactory<T>(component: Type<T>): ComponentFactory<T>; | ||
checkOverrideAllowed(type: Type<any>): void; | ||
overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): void; | ||
overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): void; | ||
overrideComponent(component: Type<any>, override: MetadataOverride<Component>): void; | ||
overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): void; | ||
loadAotSummaries(summaries: () => any[]): void; | ||
clearCache(): void; | ||
clearCacheFor(type: Type<any>): void; | ||
} | ||
/** | ||
* Platform for dynamic tests | ||
* | ||
* @experimental | ||
*/ | ||
export declare const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"TestingCompilerFactoryImpl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory"}]}],"createTestingCompiler":[{"__symbolic":"method"}]}},"TestingCompilerImpl":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"JitCompiler"},{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"},{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileMetadataResolver"}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"checkOverrideAllowed":[{"__symbolic":"method"}],"overrideModule":[{"__symbolic":"method"}],"overrideDirective":[{"__symbolic":"method"}],"overrideComponent":[{"__symbolic":"method"}],"overridePipe":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}]}},"platformCoreDynamicTesting":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory"},"arguments":[{"__symbolic":"reference","module":"@angular/compiler","name":"platformCoreDynamic"},"coreDynamicTesting",[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS"},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"useExisting":{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"}},{"provide":{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"useExisting":{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"}},{"provide":{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"useExisting":{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"}}]},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core/testing","name":"ɵTestingCompilerFactory"},"useClass":{"__symbolic":"reference","name":"TestingCompilerFactoryImpl"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory"}]}]]}},"exports":[{"from":"./schema_registry_mock"},{"from":"./directive_resolver_mock"},{"from":"./ng_module_resolver_mock"},{"from":"./pipe_resolver_mock"}]},{"__symbolic":"module","version":1,"metadata":{"TestingCompilerFactoryImpl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory"}]}],"createTestingCompiler":[{"__symbolic":"method"}]}},"TestingCompilerImpl":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/compiler","name":"JitCompiler"},{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"},{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"},{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileMetadataResolver"}]}],"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"getComponentFactory":[{"__symbolic":"method"}],"checkOverrideAllowed":[{"__symbolic":"method"}],"overrideModule":[{"__symbolic":"method"}],"overrideDirective":[{"__symbolic":"method"}],"overrideComponent":[{"__symbolic":"method"}],"overridePipe":[{"__symbolic":"method"}],"loadAotSummaries":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}]}},"platformCoreDynamicTesting":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory"},"arguments":[{"__symbolic":"reference","module":"@angular/compiler","name":"platformCoreDynamic"},"coreDynamicTesting",[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS"},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"PipeResolver"},"useExisting":{"__symbolic":"reference","module":"./pipe_resolver_mock","name":"MockPipeResolver"}},{"provide":{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"DirectiveResolver"},"useExisting":{"__symbolic":"reference","module":"./directive_resolver_mock","name":"MockDirectiveResolver"}},{"provide":{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@angular/compiler","name":"CompileReflector"}]},{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"NgModuleResolver"},"useExisting":{"__symbolic":"reference","module":"./ng_module_resolver_mock","name":"MockNgModuleResolver"}}]},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core/testing","name":"ɵTestingCompilerFactory"},"useClass":{"__symbolic":"reference","name":"TestingCompilerFactoryImpl"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"CompilerFactory"}]}]]}},"exports":[{"from":"./schema_registry_mock"},{"from":"./directive_resolver_mock"},{"from":"./ng_module_resolver_mock"},{"from":"./pipe_resolver_mock"}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./resource_loader_mock"},{"from":"./schema_registry_mock"},{"from":"./directive_resolver_mock"},{"from":"./ng_module_resolver_mock"},{"from":"./pipe_resolver_mock"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./resource_loader_mock"},{"from":"./schema_registry_mock"},{"from":"./directive_resolver_mock"},{"from":"./ng_module_resolver_mock"},{"from":"./pipe_resolver_mock"}]}] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
3
1
0
8906425
213
65603