UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

29 lines (27 loc) 789 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const DocumentSpan_1 = require("./DocumentSpan"); class ReferenceEntry extends DocumentSpan_1.DocumentSpan { /** * @internal */ constructor(global, compilerObject) { super(global, compilerObject); } isWriteAccess() { // todo: not sure what this does return this.compilerObject.isWriteAccess; } /** * If this is the definition reference. */ isDefinition() { return this.compilerObject.isDefinition; } isInString() { // todo: not sure what this does and why it can be undefined return this.compilerObject.isInString; } } exports.ReferenceEntry = ReferenceEntry; //# sourceMappingURL=ReferenceEntry.js.map