function advancePosBy()

in src/main.ts [52:66]


	function advancePosBy(by:number): void {
		if (locationKeyName === null) {
			pos = pos + by;
		} else {
			while (by > 0) {
				let chCode = content.charCodeAt(pos);
				if (chCode === ChCode.LINE_FEED) {
					pos++; line++; char=0;
				} else {
					pos++; char++;
				}
				by--;
			}
		}
	}