Gjsify LogoGjsify Logo

Hierarchy

  • SourceLocation

Index

Constructors

  • Creates a new #IdeSourceLocation, using the file, line, column, and character offset provided.

    Parameters

    • file: Ide.File

      an #IdeFile

    • line: number

      the line number starting from zero

    • lineOffset: number

      the character offset within the line

    • offset: number

      the character offset in the file

    Returns SourceLocation

Properties

name: string

Methods

  • getLine(): number
  • Retrieves the target line number starting from 0.

    Returns number

  • getLineOffset(): number
  • Retrieves the character offset within the line.

    Returns number

  • getOffset(): number
  • Retrieves the character offset within the file.

    Returns number

  • hash(): number
  • unref(): void
  • Decrements the reference count of self by one. If the reference count reaches zero, then the structure is freed.

    Returns void

  • Creates a new #IdeSourceLocation, using the file, line, column, and character offset provided.

    Parameters

    • file: Ide.File

      an #IdeFile

    • line: number

      the line number starting from zero

    • lineOffset: number

      the character offset within the line

    • offset: number

      the character offset in the file

    Returns SourceLocation

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method