chevrotain
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -1,2 +0,2 @@ | ||
/*! chevrotain - v0.5.6 - 2015-09-29 */ | ||
/*! chevrotain - v0.5.7 - 2015-11-30 */ | ||
declare module chevrotain { | ||
@@ -166,2 +166,4 @@ module lang { | ||
import lang = chevrotain.lang; | ||
import exceptions = chevrotain.exceptions; | ||
import IRecognitionException = chevrotain.exceptions.IRecognitionException; | ||
enum ParserDefinitionErrorType { | ||
@@ -214,3 +216,3 @@ INVALID_RULE_NAME = 0, | ||
interface IParserState { | ||
errors: Error[]; | ||
errors: exceptions.IRecognitionException[]; | ||
inputIdx: number; | ||
@@ -231,3 +233,3 @@ RULE_STACK: string[]; | ||
protected static performSelfAnalysis(classInstance: Parser): void; | ||
errors: Error[]; | ||
errors: exceptions.IRecognitionException[]; | ||
/** | ||
@@ -265,3 +267,3 @@ * This flag enables or disables error recovery (fault tolerance) of the parser. | ||
protected isBackTracking(): boolean; | ||
protected SAVE_ERROR(error: Error): Error; | ||
protected SAVE_ERROR(error: exceptions.IRecognitionException): IRecognitionException; | ||
protected NEXT_TOKEN(): Token; | ||
@@ -716,2 +718,7 @@ protected LA(howMuch: number): Token; | ||
module exceptions { | ||
interface IRecognitionException { | ||
name: string; | ||
message: string; | ||
token: Token; | ||
} | ||
function isRecognitionException(error: Error): boolean; | ||
@@ -733,3 +740,3 @@ function MismatchedTokenException(message: string, token: Token): void; | ||
} | ||
class AbstractProduction implements IProduction { | ||
abstract class AbstractProduction implements IProduction { | ||
definition: IProduction[]; | ||
@@ -789,3 +796,3 @@ implicitOccurrenceIndex: boolean; | ||
} | ||
class GAstVisitor { | ||
abstract class GAstVisitor { | ||
visit(node: IProduction): void; | ||
@@ -792,0 +799,0 @@ visitNonTerminal(node: NonTerminal): void; |
{ | ||
"name": "chevrotain", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers", | ||
@@ -52,31 +52,31 @@ "keywords": [ | ||
"devDependencies": { | ||
"typescript": "~1.5.3", | ||
"chai": "^3.2.0", | ||
"typescript": "~1.6.2", | ||
"chai": "^3.4.1", | ||
"coveralls": "^2.11.4", | ||
"gitty": "^3.2.3", | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-compress": "^0.13.0", | ||
"grunt-contrib-clean": "^0.7.0", | ||
"grunt-contrib-compress": "^0.14.0", | ||
"grunt-contrib-concat": "^0.5.1", | ||
"grunt-karma": "~0.12.0", | ||
"grunt-karma": "~0.12.1", | ||
"grunt-mocha-istanbul": "^3.0.1", | ||
"grunt-ts": "~4.2.0", | ||
"grunt-tslint": "~2.4.0", | ||
"grunt-typedoc": "^0.2.2", | ||
"grunt-umd": "~2.3.3", | ||
"istanbul": "^0.3.18", | ||
"jsonfile": "^2.2.1", | ||
"karma": "~0.13.9", | ||
"grunt-ts": "~5.2.0", | ||
"grunt-tslint": "~3.0.0", | ||
"grunt-typedoc": "^0.2.3", | ||
"grunt-umd": "~2.3.5", | ||
"istanbul": "^0.4.1", | ||
"jsonfile": "^2.2.3", | ||
"karma": "~0.13.15", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "~0.2.0", | ||
"karma-firefox-launcher": "~0.1.6", | ||
"karma-chrome-launcher": "~0.2.1", | ||
"karma-firefox-launcher": "~0.1.7", | ||
"karma-ie-launcher": "~0.2", | ||
"karma-mocha": "^0.2.0", | ||
"karma-mocha": "^0.2.1", | ||
"karma-script-launcher": "~0.1.0", | ||
"karma-story-reporter": "~0.3.1", | ||
"mocha": "^2.2.5", | ||
"semver": "^5.0.1", | ||
"tslint": "~2.4.4", | ||
"mocha": "^2.3.4", | ||
"semver": "^5.1.0", | ||
"tslint": "~3.0.0", | ||
"wrench": "~1.5.8" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1626177
51
5684