~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/hydrolysis/custom_typings/espree.d.ts

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
declare module 'espree' {
 
2
  import * as estree from 'estree';
 
3
  interface ParseOpts {
 
4
    attachComment: boolean;
 
5
    comment: boolean;
 
6
    loc: boolean;
 
7
    ecmaVersion?: number;
 
8
    ecmaFeatures?: {
 
9
      arrowFunctions: boolean;
 
10
      blockBindings: boolean;
 
11
      destructuring: boolean;
 
12
      regexYFlag: boolean;
 
13
      regexUFlag: boolean;
 
14
      templateStrings: boolean;
 
15
      binaryLiterals: boolean;
 
16
      unicodeCodePointEscapes: boolean;
 
17
      defaultParams: boolean;
 
18
      restParams: boolean;
 
19
      forOf: boolean;
 
20
      objectLiteralComputedProperties: boolean;
 
21
      objectLiteralShorthandMethods: boolean;
 
22
      objectLiteralShorthandProperties: boolean;
 
23
      objectLiteralDuplicateProperties: boolean;
 
24
      generators: boolean;
 
25
      spread: boolean;
 
26
      classes: boolean;
 
27
      modules: boolean;
 
28
      jsx: boolean;
 
29
      globalReturn: boolean;
 
30
    }
 
31
  }
 
32
  export function parse(text: string, opts?: ParseOpts):estree.Program;
 
33
}