Home / Type/ HermesParserOptions Type — react Architecture

HermesParserOptions Type — react Architecture

Architecture documentation for the HermesParserOptions type/interface in hermes-parser.d.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  17984cbd_142a_651b_0ee1_b2bae66ab193["HermesParserOptions"]
  60b4d3f7_2de1_5876_b010_eea0da7cbe10["hermes-parser.d.ts"]
  17984cbd_142a_651b_0ee1_b2bae66ab193 -->|defined in| 60b4d3f7_2de1_5876_b010_eea0da7cbe10
  style 17984cbd_142a_651b_0ee1_b2bae66ab193 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/eslint-plugin-react-hooks/src/types/hermes-parser.d.ts lines 10–18

  type HermesParserOptions = {
    allowReturnOutsideFunction?: boolean;
    babel?: boolean;
    flow?: 'all' | 'detect';
    enableExperimentalComponentSyntax?: boolean;
    sourceFilename?: string;
    sourceType?: 'module' | 'script' | 'unambiguous';
    tokens?: boolean;
  };

Frequently Asked Questions

What is the HermesParserOptions type?
HermesParserOptions is a type/interface in the react codebase, defined in packages/eslint-plugin-react-hooks/src/types/hermes-parser.d.ts.
Where is HermesParserOptions defined?
HermesParserOptions is defined in packages/eslint-plugin-react-hooks/src/types/hermes-parser.d.ts at line 10.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free