[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/php-mode 836663957b 8/9: Add functions-txt subcommand to e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/php-mode 836663957b 8/9: Add functions-txt subcommand to extract_functions.php |
Date: |
Sat, 1 Oct 2022 23:59:04 -0400 (EDT) |
branch: elpa/php-mode
commit 836663957b3b544d797a9a5fa6ae381c3e4008a8
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>
Add functions-txt subcommand to extract_functions.php
---
script/extract_functions.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/script/extract_functions.php b/script/extract_functions.php
index ae3471710e..d61a9a2a90 100755
--- a/script/extract_functions.php
+++ b/script/extract_functions.php
@@ -33,6 +33,13 @@ $subcommands = [
'functions' => function (array $extracted) {
echo json_encode(array_map(array_keys(...), $extracted),
JSON_PRETTY_PRINT), PHP_EOL;
},
+ 'functions-txt' => function (array $extracted) {
+ foreach ($extracted as $functions) {
+ foreach ($functions as $name => $_) {
+ echo $name, PHP_EOL;
+ }
+ }
+ },
'functions-sexp' => function (array $extracted) {
echo " '(";
foreach ($extracted as $module => $functions) {
- [nongnu] elpa/php-mode updated (6513efaf6f -> 7e4905a6e9), ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 6049ad7453 5/9: Add php-complete.el, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 651d524bdb 1/9: Add script/extract_functions.php, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 5179a1c28a 3/9: Copy c-end-of-token function from cc-engine.el, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 4609c9334c 4/9: Add php-leading-tokens, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 6531053ce6 2/9: Add php-defs.el, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode b3718d488d 6/9: Copy thing-at-point-bounds-of-string-at-point function from thingatpt.el, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 51670f3364 7/9: Add "=>" to php-mode token as pseudo-operator, ELPA Syncer, 2022/10/01
- [nongnu] elpa/php-mode 836663957b 8/9: Add functions-txt subcommand to extract_functions.php,
ELPA Syncer <=
- [nongnu] elpa/php-mode 7e4905a6e9 9/9: Merge pull request #708 from emacs-php/feature/php-completion, ELPA Syncer, 2022/10/01