Hierarchy

Properties

leadingComments?: Comment[]
loc?: null | SourceLocation
range?: [number, number]
raw?: string
regex: {
    flags: string;
    pattern: string;
}

Type declaration

  • flags: string
  • pattern: string
trailingComments?: Comment[]
type: "Literal"
value?: null | RegExp

Generated using TypeDoc