Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a file and the hits against it

Hierarchy

  • FileHit

Index

Constructors

Properties

Constructors

constructor

  • Represents the hits within a file within a project

    Parameters

    • project: ProjectAsync
    • file: File

      file within the project

    • fileNode: TreeNode

      node structure including AST, so that if we want to dig into it or run further path expressions we don't need to reparse the file.

    • nodes: LocatedTreeNode[]

    Returns FileHit

Properties

file

file: File

file within the project

fileNode

fileNode: TreeNode

node structure including AST, so that if we want to dig into it or run further path expressions we don't need to reparse the file.

Readonly matches

matches: MatchResult[]

Readonly nodes

Private Readonly project

project: ProjectAsync

Generated using TypeDoc