[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 2af8abd 206/405: Made TODO notes in algorithm
From: |
Stefan Monnier |
Subject: |
[elpa] externals/phps-mode 2af8abd 206/405: Made TODO notes in algorithm |
Date: |
Sat, 13 Jul 2019 10:00:14 -0400 (EDT) |
branch: externals/phps-mode
commit 2af8abde73f1838667f6acab9b01ad39b23a309c
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Made TODO notes in algorithm
---
docs/indentation-algorithm.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/indentation-algorithm.md b/docs/indentation-algorithm.md
index e8e79ea..43e08cf 100644
--- a/docs/indentation-algorithm.md
+++ b/docs/indentation-algorithm.md
@@ -52,6 +52,8 @@ endforeach;
PHP examples using algorithms defined above, explained each line.
+## Basic multi-line if-expression 1
+
```php // #save indent: 0
if (function( // #save indent: 0, #increase push (0 2) indent: 1
false) // #save indent: 1
@@ -60,6 +62,15 @@ if (function( // #save indent: 0, #increase
push (0 2) indent: 1
} // #decrease pop (0 1) indent: 0, #save
indent: 0
```
+## Basic multi-line if-expression 2
+
+```php // #save indent: 0
+if (function( // #save indent: 0, #increase push (0 2) indent: 1
+ false)) { // #decrease pop (0 2) post-indent: 0, #save indent: 1,
#increase push (0 1) indent: 1 TODO fix ERROR
+ echo true; // #save indent: 1
+} // #decrease pop (0 1) indent: 0, #save
indent: 0
+```
+
## Inline control structure for if-else
```php // #save indent: 0
- [elpa] externals/phps-mode 6b5a5c3 155/405: More work on calculating indentations, (continued)
- [elpa] externals/phps-mode 6b5a5c3 155/405: More work on calculating indentations, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode ce2d4bd 148/405: New indentation calculation function passes alternative, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 3718931 156/405: Basic tests for indentation calculation passes, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 13e9148 159/405: Indentation unit test for assignment is passing, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode b5c64c1 162/405: Added failing tests for HEREDOC and NOWDOC assignments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f283e4b 173/405: Added new failing unit tests for multiple-lines IF and single line class declaration, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 59474ea 180/405: Improved debugging messages, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 9659ab4 174/405: Added failing test for doc-comments are namespace and class, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode c5d8ec6 168/405: Indentation calculation for class implement working, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f93765d 184/405: Improved code structure of indentation were nesting start and end equals, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2af8abd 206/405: Made TODO notes in algorithm,
Stefan Monnier <=
- [elpa] externals/phps-mode 7a538ac 200/405: Tests for alternative control structures passes, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 79e61f4 171/405: Fixed indentation with assignment lines on only one line, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d18fddc 175/405: Fixed bug with indentation for indented doc-comments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 00c0ab9 194/405: Nesting-stack algorithm handles class declaration indents, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 8a76039 189/405: Started implementing nesting-stack, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode cf7dc07 210/405: Preparations for multi-line quoted indentation tests, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 208a788 208/405: Re-organized indent tests, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode c678fc1 209/405: New algorithm handles HEREDOC indentation, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode b6cf3a4 191/405: Started on new algorithm for indentation calculation based on stack, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode b2338cd 223/405: All tests for indentation passes, Stefan Monnier, 2019/07/13