|
1 | 1 | /** |
2 | 2 | * CodeMirror Completer for Flow PHP ScalarFunctionChain Methods |
3 | 3 | * |
4 | | - * ScalarFunctionChain methods: 119 |
| 4 | + * ScalarFunctionChain methods: 121 |
5 | 5 | * ScalarFunctionChain-returning functions: 53 |
6 | 6 | * |
7 | 7 | * This completer triggers after ScalarFunctionChain-returning DSL functions |
@@ -708,6 +708,36 @@ const scalarFunctionChainMethods = [ |
708 | 708 | }, |
709 | 709 | apply: snippet("hash(" + "$" + "{" + "1:algorithm" + "}" + ")"), |
710 | 710 | boost: 10 |
| 711 | + }, { |
| 712 | + label: "htmlQuerySelector", |
| 713 | + type: "method", |
| 714 | + detail: "Flow\\\\ETL\\\\Function\\\\ScalarFunctionChain", |
| 715 | + info: () => { |
| 716 | + const div = document.createElement("div") |
| 717 | + div.innerHTML = ` |
| 718 | + <div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;"> |
| 719 | + <span class=\"fn-name\">htmlQuerySelector</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">ScalarFunction|string</span> <span class=\"fn-param\">$path</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">HTMLQuerySelector</span> |
| 720 | + </div> |
| 721 | + ` |
| 722 | + return div |
| 723 | + }, |
| 724 | + apply: snippet("htmlQuerySelector(" + "$" + "{" + "1:path" + "}" + ")"), |
| 725 | + boost: 10 |
| 726 | + }, { |
| 727 | + label: "htmlQuerySelectorAll", |
| 728 | + type: "method", |
| 729 | + detail: "Flow\\\\ETL\\\\Function\\\\ScalarFunctionChain", |
| 730 | + info: () => { |
| 731 | + const div = document.createElement("div") |
| 732 | + div.innerHTML = ` |
| 733 | + <div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;"> |
| 734 | + <span class=\"fn-name\">htmlQuerySelectorAll</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">ScalarFunction|string</span> <span class=\"fn-param\">$path</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">HTMLQuerySelectorAll</span> |
| 735 | + </div> |
| 736 | + ` |
| 737 | + return div |
| 738 | + }, |
| 739 | + apply: snippet("htmlQuerySelectorAll(" + "$" + "{" + "1:path" + "}" + ")"), |
| 740 | + boost: 10 |
711 | 741 | }, { |
712 | 742 | label: "indexOf", |
713 | 743 | type: "method", |
|
0 commit comments