From aca80104381829c0d57aeec5ba0e5f88d6c72f93 Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Thu, 3 Mar 2016 15:10:59 -0800 Subject: [PATCH] Remove remaining @flow annotations --- src/options.js | 1 - src/parser/comments.js | 1 - src/parser/index.js | 2 -- src/parser/util.js | 2 -- src/tokenizer/context.js | 2 -- src/util/whitespace.js | 2 -- 6 files changed, 10 deletions(-) diff --git a/src/options.js b/src/options.js index 1456be6360..9da58e93b5 100755 --- a/src/options.js +++ b/src/options.js @@ -1,4 +1,3 @@ -/* @flow */ // A second optional argument can be given to further configure // the parser process. These options are recognized: diff --git a/src/parser/comments.js b/src/parser/comments.js index 9fabbed737..c98b0460a9 100644 --- a/src/parser/comments.js +++ b/src/parser/comments.js @@ -1,4 +1,3 @@ -/* @flow */ /* eslint max-len: 0 */ /** diff --git a/src/parser/index.js b/src/parser/index.js index bc034e0549..3db3c56984 100644 --- a/src/parser/index.js +++ b/src/parser/index.js @@ -1,5 +1,3 @@ -/* @flow */ - import { reservedWords } from "../util/identifier"; import { getOptions } from "../options"; import Tokenizer from "../tokenizer"; diff --git a/src/parser/util.js b/src/parser/util.js index 03ca0b2e57..c8cdeda9f1 100644 --- a/src/parser/util.js +++ b/src/parser/util.js @@ -1,5 +1,3 @@ -/* @flow */ - import { types as tt } from "../tokenizer/types"; import Parser from "./index"; import { lineBreak } from "../util/whitespace"; diff --git a/src/tokenizer/context.js b/src/tokenizer/context.js index bd35e67860..600b11403c 100644 --- a/src/tokenizer/context.js +++ b/src/tokenizer/context.js @@ -1,5 +1,3 @@ -/* @flow */ - // The algorithm used to determine whether a regexp can appear at a // given point in the program is loosely based on sweet.js' approach. // See https://github.com/mozilla/sweet.js/wiki/design diff --git a/src/util/whitespace.js b/src/util/whitespace.js index 50b90c8ca7..e345a4cf5e 100644 --- a/src/util/whitespace.js +++ b/src/util/whitespace.js @@ -1,5 +1,3 @@ -/* @flow */ - // Matches a whole line break (where CRLF is considered a single // line break). Used to count lines.