[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode dd672cd243 021/135: More SDT
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode dd672cd243 021/135: More SDT |
Date: |
Sun, 29 Jan 2023 03:11:00 -0500 (EST) |
branch: externals/phps-mode
commit dd672cd243a7e1539ea834477b9b97e494755e9c
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
More SDT
---
phps-mode-parser-sdt.el | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/phps-mode-parser-sdt.el b/phps-mode-parser-sdt.el
index 2dbcd65764..86ff6c9920 100644
--- a/phps-mode-parser-sdt.el
+++ b/phps-mode-parser-sdt.el
@@ -2647,6 +2647,68 @@
))
phps-mode-parser--table-translations)
+;; 301 ((attributed_class_statement) (enum_case))
+(puthash
+ 301
+ (lambda(args _terminals)
+ `(
+ ast-type
+ class-enum
+ enum-case
+ ,args
+ )
+ )
+ phps-mode-parser--table-translations)
+
+;; 302 ((class_statement) (attributed_class_statement))
+(puthash
+ 302
+ (lambda(args _terminals)
+ `(
+ ast-type
+ class-statement
+ attributed-class-statement
+ ,args
+ )
+ )
+ phps-mode-parser--table-translations)
+
+;; 303 ((class_statement) (attributes attributed_class_statement))
+(puthash
+ 303
+ (lambda(args _terminals)
+ `(
+ ast-type
+ class-statement
+ attributes
+ ,(nth 0 args)
+ attributed-class-statement
+ ,(nth 1 args)
+ )
+ )
+ phps-mode-parser--table-translations)
+
+;; 304 ((class_statement) (T_USE class_name_list trait_adaptations))
+(puthash
+ 304
+ (lambda(args _terminals)
+ `(
+ ast-type
+ use-class-statement
+ class-name-list
+ ,(nth 1 args)
+ trait-adaptations
+ ,(nth 2 args)
+ )
+ )
+ phps-mode-parser--table-translations)
+
+;; 305 ((class_name_list) (class_name))
+(puthash 305 (lambda(args _terminals) (list args))
phps-mode-parser--table-translations)
+
+;; 306 ((class_name_list) (class_name_list "," class_name))
+(puthash 306 (lambda(args _terminals) (append (nth 0 args) (nth 2 args)))
phps-mode-parser--table-translations)
+
;; TODO WAS HERE
- [elpa] externals/phps-mode c93e41b57f 013/135: Fixed new compilation errors in added SDT, (continued)
- [elpa] externals/phps-mode c93e41b57f 013/135: Fixed new compilation errors in added SDT, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 44e618ffe3 023/135: SDT for trait_alias, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode dffe0d0485 029/135: More SDT rules, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 393edecde0 009/135: Started with bookkeeping index of objects, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode fd28fcbed3 012/135: Added SDT for unset_variables and more, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 8c71d3838e 018/135: Added SDT for type, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode c782b18dc0 027/135: Merge branch 'master' into feature/full-sdt, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode a07fd20026 008/135: Keeping track of global namespace directly from SDT, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 67635aa9ee 015/135: Added SDT for for-statement and foreach-statements, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode f28ea09743 020/135: SDT is not using get-list-of-object function anymore, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode dd672cd243 021/135: More SDT,
Christian Johansson <=
- [elpa] externals/phps-mode c4d9f8d909 038/135: More work on SDT, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 442b5202d4 040/135: Bookkeeping via SDT passing second test, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode f26c45586d 046/135: More work on bookkeeping, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode ddc1213d83 002/135: Typo in production number, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 7a3b86b11d 011/135: Added SDT for all statements, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode b68d94ee08 030/135: More SDT rules, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode eb07936ea8 036/135: added todo notes, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 0ca63fe2b6 041/135: Passing another bookkeeping test via SDT, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode e74d0fd634 010/135: SDT for inner_statement, Christian Johansson, 2023/01/29
- [elpa] externals/phps-mode 8dc2235f17 017/135: Added SDT for if_stmt, Christian Johansson, 2023/01/29