Interface LiteralASTPropaties<T>

LiteralASTPropaties defines interface for literal AST nodes.

interface LiteralASTPropaties<T> {
    location?: FileRange;
    quoted: boolean | "html";
    value: T;
}

Type Parameters

  • T extends string = string

Hierarchy (view full)

Properties

location?: FileRange

The start and end location of the AST object.

quoted: boolean | "html"

A flag indicating whether the literal was quoted or not. If 'html' then the literal is an html like value.

value: T

The value of the literal.

Generated using TypeDoc