20 lines
549 B
JavaScript
Raw Normal View History

2014-10-02 20:39:27 -07:00
import {Set} from 'facade/lang';
//import {AnnotatedType} from './annotated_type';
export class Selector {
constructor(directives:Set<AnnotatedType>) {
this.directives = directives;
}
/**
* When presented with an element description it will return the current set of
* directives which are present on the element.
*
* @param elementName Name of the element
* @param attributes Attributes on the Element.
*/
2014-10-10 20:44:55 -07:00
visitElement(elementName:string, attributes:Map<string, string>):List<AnnotatedType> {
2014-10-02 20:39:27 -07:00
return null;
}
}