Skip to main content
Module

x/deno2node/src/deps.deno.ts>TextSpan

Compile your Deno project to run on Node.js.
Go to Latest
class TextSpan
import { TextSpan } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Represents a span of text.

Constructors

new
private
TextSpan()

Properties

readonly
compilerObject: ts.TextSpan

Gets the compiler text span.

Methods

getEnd(): number

Gets the start + length.

getLength(): number

Gets the length.

getStart(): number

Gets the start.