[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 751bece 50/96: Removed terminals, non-termina
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 751bece 50/96: Removed terminals, non-terminals and start from automation grammar |
Date: |
Fri, 29 Oct 2021 11:14:45 -0400 (EDT) |
branch: externals/phps-mode
commit 751bece58fa539fd1a74fdbb2f00d0454cc6f87e
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Removed terminals, non-terminals and start from automation grammar
---
phps-mode-automation-grammar.el | 376 ----------------------------------------
1 file changed, 376 deletions(-)
diff --git a/phps-mode-automation-grammar.el b/phps-mode-automation-grammar.el
index 991a632..f5e63f5 100644
--- a/phps-mode-automation-grammar.el
+++ b/phps-mode-automation-grammar.el
@@ -101,377 +101,6 @@
"Declaration for grammar.")
(defvar
- phps-mode-automation-grammar--non-terminals
- '(
- absolute_trait_method_reference
- alt_if_stmt
- alt_if_stmt_without_else
- anonymous_class
- argument
- argument_list
- array_object_dereferencable
- array_pair
- array_pair_list
- attribute
- attribute_decl
- attribute_group
- attributed_class_statement
- attributed_parameter
- attributed_statement
- attributes
- backticks_expr
- backup_doc_comment
- backup_fn_flags
- backup_lex_pos
- callable_expr
- callable_variable
- case_list
- case_separator
- catch_list
- catch_name_list
- class_const_decl
- class_const_list
- class_constant
- class_declaration_statement
- class_modifier
- class_modifiers
- class_name
- class_name_list
- class_name_reference
- class_statement
- class_statement_list
- const_decl
- const_list
- constant
- ctor_arguments
- declare_statement
- dereferencable_scalar
- echo_expr
- echo_expr_list
- encaps_list
- encaps_var
- encaps_var_offset
- exit_expr
- expr
- extends_from
- finally_statement
- fn
- for_exprs
- for_statement
- foreach_statement
- foreach_variable
- fully_dereferencable
- function
- function_call
- function_declaration_statement
- global_var
- global_var_list
- group_use_declaration
- identifier
- if_stmt
- if_stmt_without_else
- implements_list
- inline_function
- inline_use_declaration
- inline_use_declarations
- inner_statement
- inner_statement_list
- interface_declaration_statement
- interface_extends_list
- internal_functions_in_yacc
- is_reference
- is_variadic
- isset_variable
- isset_variables
- legacy_namespace_name
- lexical_var
- lexical_var_list
- lexical_vars
- match
- match_arm
- match_arm_cond_list
- match_arm_list
- member_modifier
- member_name
- method_body
- method_modifiers
- mixed_group_use_declaration
- name
- namespace_declaration_name
- namespace_name
- new_expr
- new_variable
- non_empty_argument_list
- non_empty_array_pair_list
- non_empty_for_exprs
- non_empty_match_arm_list
- non_empty_member_modifiers
- non_empty_parameter_list
- optional_expr
- optional_type_without_static
- optional_variable
- optional_visibility_modifier
- parameter
- parameter_list
- possible_array_pair
- possible_comma
- property
- property_list
- property_name
- reserved_non_modifiers
- return_type
- returns_ref
- scalar
- semi_reserved
- simple_variable
- start
- statement
- static_member
- static_var
- static_var_list
- switch_case_list
- top_statement
- top_statement_list
- trait_adaptation
- trait_adaptation_list
- trait_adaptations
- trait_alias
- trait_declaration_statement
- trait_method_reference
- trait_precedence
- type
- type_expr
- type_expr_without_static
- type_without_static
- union_type
- union_type_without_static
- unprefixed_use_declaration
- unprefixed_use_declarations
- unset_variable
- unset_variables
- use_declaration
- use_declarations
- use_type
- variable
- variable_class_name
- variable_modifiers
- while_statement
- )
- "The non-terminals in grammar.")
-
-(defvar
- phps-mode-automation-grammar--terminals
- '(
- "!"
- "%"
- "&"
- "("
- ")"
- "*"
- "+"
- "."
- ","
- "-"
- "/"
- ":"
- ";"
- "<"
- "="
- ">"
- "?"
- "@"
- "["
- "]"
- "}"
- "{"
- "^"
- "|"
- "~"
- "`"
- "'"
- "\""
- "$"
- PREC_ARROW_FUNCTION
- T_ABSTRACT
- T_AND_EQUAL
- T_ARG
- T_ARRAY
- T_ARRAY_CAST
- T_ARROW
- T_AS
- T_ASSIGN
- T_ATTRIBUTE
- T_BAD
- T_BOOL_CAST
- T_BOOLEAN_AND
- T_BOOLEAN_OR
- T_BREAK
- T_CALL
- T_CALLABLE
- T_CASE
- T_CATCH
- T_CLASS
- T_CLASS_C
- T_CLONE
- T_CLOSE
- T_CLOSURE
- T_COALESCE
- T_COALESCE_EQUAL
- T_COMMENT
- T_COMPILER
- T_CONCAT_EQUAL
- T_CONDITIONAL
- T_CONST
- T_CONSTANT_ENCAPSED_STRING
- T_CONTINUE
- T_CURLY_OPEN
- T_DEC
- T_DECL
- T_DECLARE
- T_DEFAULT
- T_DIM
- T_DIR
- T_DIV_EQUAL
- T_DNUMBER
- T_DO
- T_DOC
- T_DOLLAR_OPEN_CURLY_BRACES
- T_DOUBLE
- T_DOUBLE_ARROW
- T_DOUBLE_CAST
- T_ECHO
- T_ELLIPSIS
- T_ELSE
- T_ELSEIF
- T_EMPTY
- T_ENCAPS
- T_ENCAPSED_AND_WHITESPACE
- T_END_HEREDOC
- T_ENDDECLARE
- T_ENDFOR
- T_ENDFOREACH
- T_ENDIF
- T_ENDSWITCH
- T_ENDWHILE
- T_EQUAL
- T_ERROR
- T_EVAL
- T_EXIT
- T_EXPR
- T_EXTENDS
- T_FILE
- T_FINAL
- T_FINALLY
- T_FN
- T_FOR
- T_FOREACH
- T_FQ
- T_FUNC
- T_FUNC_C
- T_FUNCTION
- T_GLOBAL
- T_GOTO
- T_GREATER
- T_GROUP
- T_HALT_COMPILER
- T_IDENTICAL
- T_IF
- T_IMPLEMENTS
- T_INC
- T_INCLUDE
- T_INCLUDE_ONCE
- T_INLINE_HTML
- T_INSTANCEOF
- T_INSTEADOF
- T_INT_CAST
- T_INTERFACE
- T_IS_IDENTICAL
- T_IS_NOT_IDENTICAL
- T_IS_EQUAL
- T_IS_NOT_EQUAL
- T_IS_SMALLER_OR_EQUAL
- T_IS_GREATER_OR_EQUAL
- T_ISSET
- T_LABEL
- T_LINE
- T_LIST
- T_LNUMBER
- T_LOGICAL_AND
- T_LOGICAL_OR
- T_LOGICAL_XOR
- T_MAGIC
- T_MATCH
- T_METHOD
- T_METHOD_C
- T_MINUS_EQUAL
- T_MOD_EQUAL
- T_MUL_EQUAL
- T_NAME_FULLY_QUALIFIED
- T_NAME_RELATIVE
- T_NAME_QUALIFIED
- T_NAMESPACE
- T_NEW
- T_NOELSE
- T_NS_C
- T_NULLSAFE_OBJECT_OPERATOR
- T_NUM_STRING
- T_NS_SEPARATOR
- T_OBJECT_CAST
- T_OBJECT_OPERATOR
- T_OPEN
- T_OPERATOR
- T_OR_EQUAL
- T_PAAMAYIM_NEKUDOTAYIM
- T_PARAM
- T_PLUS_EQUAL
- T_POST
- T_POW
- T_POW_EQUAL
- T_PRE
- T_PRINT
- T_PRIVATE
- T_PROP
- T_PROTECTED
- T_PUBLIC
- T_REF
- T_REQUIRE
- T_REQUIRE_ONCE
- T_RETURN
- T_SHELL
- T_SILENCE
- T_SL
- T_SL_EQUAL
- T_SPACESHIP
- T_SR
- T_SR_EQUAL
- T_START_HEREDOC
- T_STATIC
- T_STMT
- T_STRING
- T_STRING_CAST
- T_STRING_VARNAME
- T_SWITCH
- T_THROW
- T_TRAIT
- T_TRAIT_C
- T_TRY
- T_TYPE
- T_UNARY
- T_UNPACK
- T_UNSET
- T_UNSET_CAST
- T_USE
- T_VAR
- T_VARIABLE
- T_WHILE
- T_WHITESPACE
- T_XOR_EQUAL
- T_YIELD
- T_YIELD_FROM
- )
- "The terminals of grammar.")
-
-(defvar
phps-mode-automation-grammar--look-ahead-number
1
"The look-ahead number of grammar.")
@@ -482,11 +111,6 @@
"Header contents for parser.")
(defvar
- phps-mode-automation-grammar--start
- 'start
- "The entry-point of grammar.")
-
-(defvar
phps-mode-automation-grammar--e-identifier
'%empty
"The e-identifier of grammar.")
- [elpa] externals/phps-mode 45508e1 32/96: Reverted integration of parser into other files due to immaturity, (continued)
- [elpa] externals/phps-mode 45508e1 32/96: Reverted integration of parser into other files due to immaturity, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 37dda7a 34/96: Added another failing test for parser, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 339e39b 37/96: Started on YACC grammar parser generator, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 244a62b 39/96: Parser generator now can parse PHP YACC productions, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode a449b5b 42/96: Improved formatting of generated productions, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode e3d973d 43/96: Improved support for semi-colon in grammar delimiter, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 962e7c8 52/96: Context-sensitive precedence attribute is automatically parsed from YACC, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode b94cbbf 58/96: Set GB collection in automation, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode bb4858b 61/96: Defined lex-analyzer reset function for parser, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 22f0a47 62/96: Parser generator passing byte-compilation, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 751bece 50/96: Removed terminals, non-terminals and start from automation grammar,
Christian Johansson <=
- [elpa] externals/phps-mode 4dbd9a2 54/96: Automatically parsing of global declaration from YACC, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 024e8d4 55/96: Setting up context-sensitive attributes automatically, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 605b76c 57/96: Removed note, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 20ad000 68/96: Added another TODO item, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode a6c5db1 45/96: Updated grammar productions based on automatically parsed grammar from YACC, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 2ac480a 47/96: Started on automatic generation of terminals, non-terminals and start as well, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode eb17d8c 51/96: Improved resuming of parser-generation, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 6af98c4 56/96: Productions are now read automatically again, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 212fd7f 63/96: Fixed warning in byte-compilation, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode fb57c3b 53/96: Started on parser for global declaration, Christian Johansson, 2021/10/29