/** * @module SourceReader/SourcePositions * @author Alan Rodas Bonjour */ import { SourcePosition } from '../SourcePosition'; /** * This is the abstract implementation of the interface {@link SourcePosition}, and * its purpose is to be the top of the hierarchy of different kinds of positions. * Subclasses determine if the position is unknown or known, and in this last case, * its different types. */ export declare abstract class AbstractSourcePosition implements SourcePosition { /** * @inheritdoc */ abstract get isUnknown(): boolean; /** * @inheritdoc */ abstract get isEndOfInput(): boolean; /** * @inheritdoc */ abstract get isEndOfDocument(): boolean; /** * @inheritdoc */ abstract get line(): number; /** * @inheritdoc */ abstract get column(): number; /** * @inheritdoc */ abstract get regions(): string[]; /** * @inheritdoc */ abstract get documentName(): string; /** * @inheritdoc */ abstract get fullDocumentContents(): string; /** * @inheritdoc */ abstract get visibleDocumentContents(): string; /** * @inheritdoc */ abstract toString(): string; /** * @inheritdoc */ abstract fullContentsFrom(from: SourcePosition): string; /** * @inheritdoc */ abstract fullContentsTo(from: SourcePosition): string; /** * @inheritdoc */ abstract visibleContentsFrom(from: SourcePosition): string; /** * @inheritdoc */ abstract visibleContentsTo(to: SourcePosition): string; /** * @inheritdoc */ abstract documentContextBefore(lines: number): string[]; /** * @inheritdoc */ abstract documentContextAfter(lines: number): string[]; } //# sourceMappingURL=AbstractSourcePosition.d.ts.map