Merge pull request #6904 from kode4food/patch-1

Updating for the most recent version of PEG.js
This commit is contained in:
Masahiro Wakame
2015-11-27 00:48:44 +09:00
+15 -4
View File
@@ -6,11 +6,22 @@
declare module PEG {
function parse(input:string):any;
class SyntaxError {
line:number;
column:number;
offset:number;
interface Location {
line: number;
column: number;
offset: number;
}
interface LocationRange {
start: Location,
end: Location
}
class SyntaxError {
line: number;
column: number;
offset: number;
location: LocationRange;
expected:any[];
found:any;
name:string;