Options
Public
  • Public
  • Public/Protected
  • All
Menu

Represents a source in a compilation.

Hierarchy

  • Source

Index

Properties

Optional ast

ast: AstNode

The source's abstract syntax tree.

Optional compiler

compiler: CompilerVersion

This field is a compatibility hack only inteded for internal use. (It allows the compiler to be set on a source if none is set on the compilation as a whole; please don't do that.)

Optional id

id: string

The source's ID. For internal compatibility purposes, this may technically be left out, but please include it.

Optional source

source: string

The source text.

Optional sourcePath

sourcePath: string

The source's file path.

Generated using TypeDoc