Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Annotation(code: string, args?: unknown[], message: string): Annotation

Properties

arguments

arguments: unknown[]

code

code: string

message

message: string

Optional span

span: Span

type

type: string = "Annotation"

Methods

addSpan

  • addSpan(start: number, end: number): void

clone

equals

  • equals(other: BaseNode, ignoredFields?: string[]): boolean