php-parser
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -5,3 +5,3 @@ /*! | ||
* Parse PHP code from JS and returns its AST | ||
* Build: f0b00a69c4c75a8f3c9a - 9/13/2022 | ||
* Build: b211ca0da38546859b85 - 11/1/2022 | ||
* Copyright (C) 2021 Glayzzle (BSD-3-Clause) | ||
@@ -8,0 +8,0 @@ * @authors https://github.com/glayzzle/php-parser/graphs/contributors |
{ | ||
"name": "php-parser", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Parse PHP code from JS and returns its AST", | ||
@@ -65,9 +65,9 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.19.0", | ||
"@babel/preset-env": "^7.19.0", | ||
"babel-loader": "^8.0.5", | ||
"@babel/core": "^7.19.6", | ||
"@babel/preset-env": "^7.19.4", | ||
"babel-loader": "^9.0.1", | ||
"benchmark": "^2.1.4", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^8.23.1", | ||
"eslint-plugin-jest": "^27.0.4", | ||
"eslint": "^8.26.0", | ||
"eslint-plugin-jest": "^27.1.3", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
@@ -74,0 +74,0 @@ "husky": "^8.0.1", |
@@ -748,2 +748,12 @@ /** | ||
let args = []; | ||
if (this.token === "(") { | ||
this.next(); | ||
const newExp = this.read_expr(); | ||
this.expect(")"); | ||
this.next(); | ||
if (this.token === "(") { | ||
args = this.read_argument_list(); | ||
} | ||
return result(newExp, args); | ||
} | ||
const attrs = this.read_attr_list(); | ||
@@ -750,0 +760,0 @@ if (this.token === this.tok.T_CLASS) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
22543
807033