java-parser
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "java-parser", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Java Parser in JavaScript", | ||
@@ -8,5 +8,6 @@ "main": "src/index.js", | ||
"license": "Apache-2.0", | ||
"types": "./api.d.ts", | ||
"dependencies": { | ||
"chevrotain": "6.5.0", | ||
"lodash": "4.17.15" | ||
"lodash": "4.17.20" | ||
}, | ||
@@ -18,3 +19,3 @@ "scripts": { | ||
}, | ||
"gitHead": "9c025b1859bdd065326d253a262e9538462cd380" | ||
"gitHead": "59a70396d425b970bb736114bfcb112658156f8c" | ||
} |
@@ -225,11 +225,3 @@ "use strict"; | ||
// to avoid backtracking for performance reasons. | ||
{ | ||
ALT: () => { | ||
$.SUBRULE($.unannPrimitiveType); | ||
$.OPTION({ | ||
GATE: () => this.BACKTRACK_LOOKAHEAD($.isDims), | ||
DEF: () => $.SUBRULE2($.dims) | ||
}); | ||
} | ||
}, | ||
{ ALT: () => $.SUBRULE($.unannPrimitiveTypeWithOptionalDimsSuffix) }, | ||
{ ALT: () => $.SUBRULE($.unannReferenceType) } | ||
@@ -239,2 +231,10 @@ ]); | ||
$.RULE("unannPrimitiveTypeWithOptionalDimsSuffix", () => { | ||
$.SUBRULE($.unannPrimitiveType); | ||
$.OPTION({ | ||
GATE: () => this.BACKTRACK_LOOKAHEAD($.isDims), | ||
DEF: () => $.SUBRULE2($.dims) | ||
}); | ||
}); | ||
// https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-UnannPrimitiveType | ||
@@ -241,0 +241,0 @@ $.RULE("unannPrimitiveType", () => { |
@@ -222,5 +222,3 @@ "use strict"; | ||
{ ALT: () => $.CONSUME(t.Void) }, | ||
// should be extracted to primitive type with optional dims suffix? | ||
{ ALT: () => $.SUBRULE($.numericType) }, | ||
{ ALT: () => $.CONSUME(t.Boolean) }, | ||
{ ALT: () => $.SUBRULE($.unannPrimitiveTypeWithOptionalDimsSuffix) }, | ||
{ ALT: () => $.SUBRULE($.fqnOrRefType) }, | ||
@@ -227,0 +225,0 @@ { |
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
263836
20
8868
+ Addedlodash@4.17.20(transitive)
- Removedlodash@4.17.15(transitive)
Updatedlodash@4.17.20