lib/ng-directive-parser.js
function parseFile(filename, code) {
    if (/directive/.test(code)) {
      return ngDirectiveParser.parseAst(filename, esprima.parse(code));
    }
    return [];
  }
function parseFile(filename, code) {
    if (/directive/.test(code)) {
      return ngDirectiveParser.parseAst(filename, esprima.parse(code));
    }
    return [];
  }
function parseFile ( filename , code ) { if ( / directive / . test ( code ) ) { return ngDirectiveParser . parseAst ( filename , esprima . parse ( code ) ) ; } return [ ] ; }
Parses the given source
@returns {Directive[]}
Parses the given source