You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

173 lines
2.9 KiB

/// <reference path="./api.d.ts" />
declare module "pegjs" {
export default peg;
}
declare module "pegjs/lib/grammar-error" {
export default peg.GrammarError;
}
declare module "pegjs/lib/parser" {
export default peg.parser;
}
declare module "pegjs/lib/peg" {
export default peg;
}
declare module "pegjs/lib/ast" {
export default peg.ast;
}
declare module "pegjs/lib/ast/Grammar" {
export default peg.ast.Grammar;
}
declare module "pegjs/lib/ast/Node" {
export default peg.ast.Node;
}
declare module "pegjs/lib/ast/visitor" {
export default peg.ast.visitor;
}
declare module "pegjs/lib/compiler" {
export default peg.compiler;
}
declare module "pegjs/lib/compiler/index" {
export default peg.compiler;
}
declare module "pegjs/lib/compiler/opcodes" {
const opcodes: peg.compiler.IOpcodes;
export default opcodes;
}
declare module "pegjs/lib/compiler/session" {
export default peg.compiler.Session;
}
declare module "pegjs/lib/compiler/passes/calc-report-failures" {
export default peg.compiler.passes.generate.calcReportFailures;
}
declare module "pegjs/lib/compiler/passes/generate-bytecode" {
export default peg.compiler.passes.generate.generateBytecode;
}
declare module "pegjs/lib/compiler/passes/generate-js" {
export default peg.compiler.passes.generate.generateJS;
}
declare module "pegjs/lib/compiler/passes/inference-match-result" {
export default peg.compiler.passes.generate.inferenceMatchResult;
}
declare module "pegjs/lib/compiler/passes/remove-proxy-rules" {
export default peg.compiler.passes.transform.removeProxyRules;
}
declare module "pegjs/lib/compiler/passes/report-duplicate-labels" {
export default peg.compiler.passes.check.reportDuplicateLabels;
}
declare module "pegjs/lib/compiler/passes/report-duplicate-rules" {
export default peg.compiler.passes.check.reportDuplicateRules;
}
declare module "pegjs/lib/compiler/passes/report-infinite-recursion" {
export default peg.compiler.passes.check.reportInfiniteRecursion;
}
declare module "pegjs/lib/compiler/passes/report-infinite-repetition" {
export default peg.compiler.passes.check.reportInfiniteRepetition;
}
declare module "pegjs/lib/compiler/passes/report-undefined-rules" {
export default peg.compiler.passes.check.reportUndefinedRules;
}
declare module "pegjs/lib/compiler/passes/report-unused-rules" {
export default peg.compiler.passes.check.reportUnusedRules;
}
declare module "pegjs/lib/util" {
export default peg.util;
}
declare module "pegjs/lib/util/index" {
export default peg.util;
}
declare module "pegjs/lib/util/js" {
const js: peg.IJavaScriptUtils;
export default js;
}
declare module "pegjs/lib/util/objects" {
const objects: peg.IObjectUtils;
export default objects;
}
declare module "pegjs/lib/util/vm" {
const vm: peg.compiler.ISessionVM;
export default vm;
}