dockerfile-ast
Version:
Parse a Dockerfile into an array of instructions and comments.
15 lines (14 loc) • 593 B
TypeScript
import { Range, Position } from 'vscode-languageserver-types';
export declare class Util {
static isUTF8BOM(char: string): boolean;
static isWhitespace(char: string): boolean;
static isNewline(char: string): boolean;
static findLeadingNonWhitespace(content: string, escapeChar: string): number;
/**
* Determines if the given position is contained within the given range.
*
* @param position the position to check
* @param range the range to see if the position is inside of
*/
static isInsideRange(position: Position, range: Range): boolean;
}