[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode ec19574 43/62: More implementation of grammar
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode ec19574 43/62: More implementation of grammar |
Date: |
Tue, 20 Apr 2021 10:56:20 -0400 (EDT) |
branch: externals/phps-mode
commit ec19574c7b9f4d157b2b9198b50610a207921110
Author: Christian Johansson <christian@mediastrategi.se>
Commit: Christian Johansson <christian@mediastrategi.se>
More implementation of grammar
---
admin/phps-mode-automation-grammar.el | 78 ++++++++++++++++++++++++++++++++++-
1 file changed, 77 insertions(+), 1 deletion(-)
diff --git a/admin/phps-mode-automation-grammar.el
b/admin/phps-mode-automation-grammar.el
index 8011246..9683b53 100644
--- a/admin/phps-mode-automation-grammar.el
+++ b/admin/phps-mode-automation-grammar.el
@@ -903,7 +903,83 @@
(trait_precedence
(absolute_trait_method_reference T_INSTEADOF class_name_list))
-
+ (trait_alias
+ (trait_method_reference T_AS T_STRING)
+ (trait_method_reference T_AS reserved_non_modifiers)
+ (trait_method_reference T_AS member_modifier identifier)
+ (trait_method_reference T_AS member_modifier))
+
+ (trait_method_reference
+ identifier
+ absolute_trait_method_reference)
+
+ (absolute_trait_method_reference
+ (class_name T_PAAMAYIM_NEKUDOTAYIM identifier))
+
+ (method_body
+ ";"
+ "{" inner_statement_list "}")
+
+ (variable_modifiers
+ non_empty_member_modifiers
+ T_VAR)
+
+ (method_modifiers
+ %empty
+ non_empty_member_modifiers)
+
+ (non_empty_member_modifiers
+ member_modifier
+ (non_empty_member_modifiers member_modifier))
+
+ (member_modifier
+ T_PUBLIC
+ T_PROTECTED
+ T_PRIVATE
+ T_STATIC
+ T_ABSTRACT
+ T_FINAL)
+
+ (property_list
+ (property_list "," property)
+ property)
+
+ (property
+ (T_VARIABLE backup_doc_comment)
+ (T_VARIABLE "=" expr backup_doc_comment))
+
+ (class_const_list
+ (class_const_list "," class_const_decl)
+ class_const_decl)
+
+ (class_const_decl
+ (identifier "=" expr backup_doc_comment))
+
+ (const_decl
+ (T_STRING "=" expr backup_doc_comment))
+
+ (echo_expr_list
+ (echo_expr_list "," echo_expr)
+ echo_expr)
+
+ (echo_expr
+ expr)
+
+ (for_exprs
+ %empty
+ non_empty_for_exprs)
+
+ (non_empty_for_exprs
+ (non_empty_for_exprs "," expr)
+ expr)
+
+ (anonymous_class
+ (T_CLASS ctor_arguments extends_from implements_list backup_doc_comment
"{" class_statement_list "}"))
+
+ (new_expr
+ (T_NEW class_name_reference ctor_arguments)
+ (T_NEW anonymous_class)
+ (T_NEW attributes anonymous_class))
)
"The productions of grammar.")
- [elpa] externals/phps-mode 9c63f7d 16/62: Passed first old tests for lexer, (continued)
- [elpa] externals/phps-mode 9c63f7d 16/62: Passed first old tests for lexer, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode e624011 19/62: White-space fixes for lexer unit tests, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode d893f7f 22/62: Passing some more tests, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode c1ab121 25/62: Work on making integration-tests pass, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode ad4e825 20/62: Added some new lex analyzer tests for PHP 8.0 tokens, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode a418e41 26/62: Integration-test now comparing nest-location-stack as well, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode f1b513c 27/62: Passed another integration test, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode a900472 29/62: Passed bookkeeping tests, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 685375c 31/62: Passing all unit tests after updated lex-analyzer, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 050fe6a 36/62: Updated version and modified date, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode ec19574 43/62: More implementation of grammar,
Christian Johansson <=
- [elpa] externals/phps-mode a99284a 39/62: Added TODO item, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 209055b 62/62: Updated date and version, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 86de51b 51/62: Fixed bug with incremental nesting stack, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode a164e82 33/62: Updated README about PHP 8.0 lexer, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 5a3bee3 40/62: More work on implementing PHP 8.0 grammar, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode a4b641d 56/62: Improved Make-script for compile and clean, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode d56472c 50/62: Added precedence attributes to grammar, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode e92bed3 54/62: Started debugging failing indentation in some weird cases, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 3fb73ee 37/62: Added bookkeeping support of superglobals $argc, $argv and $http_response_header, Christian Johansson, 2021/04/20
- [elpa] externals/phps-mode 2efba0b 38/62: Started on generated parser via emacs-parser-generator, Christian Johansson, 2021/04/20