Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
TemplateState.prototype.getMetadata = function (id) {
var s = this.symbols[id];
if (s) {
if (s instanceof _angular_compiler.ElementAst) {
return getElementMetadata(s);
}
else if (s instanceof ngast.DirectiveSymbol) {
return getDirectiveMetadata(s);
}
}
return null;
};
TemplateState.prototype.nextState = function (id) {