Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(context: Context, delegate: InlineActionObserverDelegate) {
this.context = context
this.delegate = delegate
this.tokenListObserver = new TokenListObserver(this.element, this.attributeName, this)
this.connectedActions = new Multimap()
}
constructor(element: Element, attributeName: string, delegate: TokenObserverDelegate) {
this.attributeObserver = new AttributeObserver(element, attributeName, this)
this.delegate = delegate
this.tokensByElement = new Multimap
}
constructor(element: Element, attributeName: string, delegate: TokenListObserverDelegate) {
this.attributeObserver = new AttributeObserver(element, attributeName, this)
this.delegate = delegate
this.tokensByElement = new Multimap
}
constructor(application: Application) {
this.application = application
this.scopeObserver = new ScopeObserver(this.element, this.schema, this)
this.scopesByIdentifier = new Multimap
this.modulesByIdentifier = new Map
}
constructor() {
this.actionsByEventName = new Multimap()
}