Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
forks
nikic
PHP Parser
Commits
9b0b3df8
Commit
9b0b3df8
authored
8 years ago
by
Nikita Popov
Browse files
Options
Download
Patches
Plain Diff
Store string instead of array for Name
Name::$parts array is replaced by Name::$name string.
parent
7672b974
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
grammar/php5.y
+12
-12
grammar/php5.y
grammar/php7.y
+12
-12
grammar/php7.y
lib/PhpParser/Node/Name.php
+59
-32
lib/PhpParser/Node/Name.php
lib/PhpParser/NodeVisitor/NameResolver.php
+3
-3
lib/PhpParser/NodeVisitor/NameResolver.php
lib/PhpParser/Parser/Php5.php
+2
-2
lib/PhpParser/Parser/Php5.php
lib/PhpParser/Parser/Php7.php
+2
-2
lib/PhpParser/Parser/Php7.php
lib/PhpParser/PrettyPrinter/Standard.php
+3
-3
lib/PhpParser/PrettyPrinter/Standard.php
test/PhpParser/Node/NameTest.php
+24
-12
test/PhpParser/Node/NameTest.php
test/PhpParser/NodeDumperTest.php
+1
-4
test/PhpParser/NodeDumperTest.php
test/PhpParser/NodeVisitor/NameResolverTest.php
+1
-1
test/PhpParser/NodeVisitor/NameResolverTest.php
test/code/parser/errorHandling/eofError.test
+2
-6
test/code/parser/errorHandling/eofError.test
test/code/parser/errorHandling/recovery.test
+10
-30
test/code/parser/errorHandling/recovery.test
test/code/parser/expr/assignNewByRef.test
+2
-6
test/code/parser/expr/assignNewByRef.test
test/code/parser/expr/closure.test
+2
-5
test/code/parser/expr/closure.test
test/code/parser/expr/comparison.test
+2
-4
test/code/parser/expr/comparison.test
test/code/parser/expr/constant_expr.test
+1
-3
test/code/parser/expr/constant_expr.test
test/code/parser/expr/fetchAndCall/args.test
+5
-15
test/code/parser/expr/fetchAndCall/args.test
test/code/parser/expr/fetchAndCall/constFetch.test
+3
-9
test/code/parser/expr/fetchAndCall/constFetch.test
test/code/parser/expr/fetchAndCall/constantDeref.test
+2
-6
test/code/parser/expr/fetchAndCall/constantDeref.test
test/code/parser/expr/fetchAndCall/funcCall.test
+2
-6
test/code/parser/expr/fetchAndCall/funcCall.test
with
150 additions
and
173 deletions
+150
-173
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment