[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 16ce2acfb7 077/212: Removed debug output for
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 16ce2acfb7 077/212: Removed debug output for bookkeeping |
Date: |
Wed, 26 Jan 2022 01:50:56 -0500 (EST) |
branch: externals/phps-mode
commit 16ce2acfb781cac704cdd7f266ce0ee6d0742cfd
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Removed debug output for bookkeeping
---
Makefile | 2 +-
phps-mode-ast-bookkeeping.el | 16 +++++++---------
phps-mode-ast-imenu.el | 2 +-
phps-mode-ast.el | 7 +++----
4 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/Makefile b/Makefile
index 844be30ae6..f425653679 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ compile:
find . -name "*.el" -exec $(EMACS_CMD) -f batch-byte-compile {} \;
.PHONY: tests
-tests: test-integration test-lexer test-lex-analyzer test-parser
test-syntax-table #test-ast
+tests: test-integration test-lexer test-lex-analyzer test-parser
test-syntax-table test-ast
.PHONY: test-ast
test-ast:
diff --git a/phps-mode-ast-bookkeeping.el b/phps-mode-ast-bookkeeping.el
index de400478eb..3d69800add 100644
--- a/phps-mode-ast-bookkeeping.el
+++ b/phps-mode-ast-bookkeeping.el
@@ -45,9 +45,8 @@
scope-string
(format
"%s namespace %s"
- (setq
- scope-string
- scope-name))))
+ scope-string
+ scope-name)))
((and
(or (equal scope-type 'class)
@@ -110,7 +109,8 @@
(scope name &optional read-only)
"Generate variable scope string from SCOPE and NAME and optionally
READ-ONLY."
(let ((scope-strings)
- (bubbles-stack (list (list "" nil nil (reverse scope))))) ;;
scope-string namespace bubbles
+ (bubbles-stack (list (list "" nil nil (reverse scope))))
+ (bubbles-data))
(while bubbles-stack
(setq
bubbles-data
@@ -433,9 +433,8 @@
((equal type 'if)
(let* ((conditions (reverse (plist-get item 'condition)))
(condition-stack conditions)
- (condition)
- (found-defined-scope)
- (sub-scope scope))
+ (found-defined-scope)
+ (sub-scope scope))
(while condition-stack
(let ((condition (pop condition-stack)))
(when-let ((condition-type (plist-get condition 'ast-type)))
@@ -760,7 +759,6 @@
((equal type 'array-object-dereferencable)
(let* ((subject (plist-get item 'subject))
- (property-name (plist-get item 'property))
(downcase-subject-name (downcase (plist-get subject 'name)))
(property-name (plist-get item 'property-name)))
@@ -998,7 +996,7 @@
phps-mode-ast-bookkeeping--index
bookkeeping)
- (message "\nBookkeeping\n:%S\n" bookkeeping)
+ ;; (message "\nBookkeeping\n:%S\n" bookkeeping)
phps-mode-ast-bookkeeping--index))
diff --git a/phps-mode-ast-imenu.el b/phps-mode-ast-imenu.el
index 082c789bc5..3333f7ddda 100644
--- a/phps-mode-ast-imenu.el
+++ b/phps-mode-ast-imenu.el
@@ -84,7 +84,7 @@
phps-mode-ast-imenu--index
(reverse imenu-index)))
- (message "imenu:\n%S\n\n" phps-mode-ast-imenu--index)
+ ;; (message "imenu:\n%S\n\n" phps-mode-ast-imenu--index)
phps-mode-ast-imenu--index)
diff --git a/phps-mode-ast.el b/phps-mode-ast.el
index a25ee95567..d4c411be41 100644
--- a/phps-mode-ast.el
+++ b/phps-mode-ast.el
@@ -29,10 +29,9 @@
(let ((translation (phps-mode-parser-translate))
(namespace)
(namespace-children)
- (ast)
- (bookkeeping (make-hash-table :test 'equal)))
+ (ast))
- (message "\nTranslation:\n%S\n\n" translation)
+ ;; (message "\nTranslation:\n%S\n\n" translation)
(when translation
(dolist (item translation)
@@ -82,7 +81,7 @@
ast
(reverse ast))
- (message "AST:\n%S\n\n" ast)
+ ;; (message "AST:\n%S\n\n" ast)
(setq
phps-mode-ast--tree
ast)
- [elpa] externals/phps-mode cb4d95cd7a 204/212: Passed new indentation tests, (continued)
- [elpa] externals/phps-mode cb4d95cd7a 204/212: Passed new indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a907f103f0 026/212: More work on AST for bookkeeping, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 95078e0db2 029/212: Added SDT for increment variable production, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode d90b470109 035/212: Fixed bookkeeping of class property, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode bcf0c68945 038/212: AST-imenu and AST-bookkeeping now in standalone files, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 4e021b8413 046/212: Bookkeeping via AST now passing method calls, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 712f5e9f2b 049/212: Removed invalid syntax code from old bookkeeping test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 1dc3b453c9 043/212: Passed bookkeeping via AST for try catch blocks, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 882e6f75dc 062/212: Work on SDT for interface methods, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 30e9fa14ff 075/212: Added a failing bookkeeping test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 16ce2acfb7 077/212: Removed debug output for bookkeeping,
Christian Johansson <=
- [elpa] externals/phps-mode bc5039e32f 086/212: Created custom determine string indentation function, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode daff4ad5e0 085/212: More work on indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode b82475c697 090/212: Passed token-blind indentation for multi-line class extends and implements, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2ea2360c3e 091/212: Created indent helper functions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode df91b8e433 117/212: More handling of string-doc indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 6fac0d5585 102/212: Passed indent test for heredoc string, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 1af63142f3 127/212: Fixed incremental issue with new SDT based bookkeeping, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 3565c7efb3 125/212: Fixed byte-compilation warnings for indent file, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a8097b5b5e 147/212: Improved indentation on line after equal operator in if condition list, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode dece7f242e 160/212: Added more failing indentation tests, Christian Johansson, 2022/01/26