[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 95078e0db2 029/212: Added SDT for increment v
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 95078e0db2 029/212: Added SDT for increment variable production |
Date: |
Wed, 26 Jan 2022 01:50:19 -0500 (EST) |
branch: externals/phps-mode
commit 95078e0db2d27edd6c7744813ff92cf82497ca4c
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added SDT for increment variable production
---
phps-mode-ast.el | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/phps-mode-ast.el b/phps-mode-ast.el
index b041e977da..3a5e19eea0 100644
--- a/phps-mode-ast.el
+++ b/phps-mode-ast.el
@@ -489,6 +489,19 @@
ast-object))
phps-mode-parser--table-translations)
+;; expr -> (variable T_INC)
+(puthash
+ 353
+ (lambda(args _terminals)
+ (let ((ast-object
+ (list
+ 'ast-type
+ 'increment-variable
+ 'variable
+ (nth 0 args))))
+ ast-object))
+ phps-mode-parser--table-translations)
+
;; expr -> (variable "=" expr)
(puthash
337
@@ -1129,6 +1142,16 @@
argument)
bookkeeping-stack))))
+ ((equal type 'increment-variable)
+ (push
+ (list
+ (list
+ class
+ function
+ namespace)
+ (plist-get item 'variable))
+ bookkeeping-stack))
+
)))))
(setq
phps-mode-ast--bookkeeping
- [elpa] externals/phps-mode 40ecf58372 189/212: Adjustments for indent helper function determining last index line, (continued)
- [elpa] externals/phps-mode 40ecf58372 189/212: Adjustments for indent helper function determining last index line, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode edba476df8 191/212: Byte compilation fixes for indentation, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 580298c395 201/212: Improved indentation of multi-line concatenated strings containing brackets, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 3e79319cf5 195/212: Added failing indent test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 72c692b511 210/212: Re-scan buffer interactively now clears cache and kills running threads, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 55d59ee365 207/212: More work on cache support, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 733f36a123 203/212: Added more failing indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode d4f0db2c0c 211/212: Added failing bookkeeping test, Christian Johansson, 2022/01/26
- [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 <=
- [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, 2022/01/26
- [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