3 files changed
+32
-7
lines changedSubmodule EmmyLuaCodeStyle updated 86 files
- CodeFormatLib/src/CodeFormatLib.cpp+42
- CodeFormatLib/src/LuaCodeFormat.cpp+23-1
- CodeFormatLib/src/LuaCodeFormat.h+3
- CodeService/src/FormatElement/AlignToFirstElement.cpp+39-28
- CodeService/src/FormatElement/AlignmentLayoutElement.cpp+8-55
- CodeService/src/FormatElement/CallArgsListLayoutElement.cpp+15-5
- CodeService/src/FormatElement/FormatContext.cpp+25-2
- CodeService/src/FormatElement/FormatElement.cpp+19-9
- CodeService/src/FormatElement/IndentOnLineBreakElement.cpp+13-1
- CodeService/src/FormatElement/KeepElement.cpp+53-2
- CodeService/src/FormatElement/LongExpressionLayoutElement.cpp+7-5
- CodeService/src/FormatElement/TextElement.cpp+11-1
- CodeService/src/LuaFormatter.cpp+32-24
- LuaParser/CMakeLists.txt+1
- LuaParser/src/LuaAstNode/LuaAstNode.cpp+9-2
- LuaParser/src/LuaCustomParser.cpp+122
- LuaParser/src/LuaFile.cpp+21
- LuaParser/src/LuaParser.cpp+2-2
- LuaParser/src/LuaTokenParser.cpp+66-1
- Util/CMakeLists.txt+1
- Util/src/Trie.cpp+1
- include/CodeFormatServer/Service/ServiceType.h+1-1
- include/CodeService/FormatElement/AlignmentLayoutElement.h+2-2
- include/CodeService/FormatElement/FormatContext.h+2
- include/CodeService/FormatElement/FormatElement.h+2
- include/CodeService/FormatElement/FormatElementType.h+1
- include/CodeService/FormatElement/KeepElement.h+3
- include/CodeService/FormatElement/TextElement.h+6-2
- include/LuaParser/LuaAstNode/AssignStatement.h-9
- include/LuaParser/LuaAstNode/Attribute.h-9
- include/LuaParser/LuaAstNode/BinaryExpression.h-9
- include/LuaParser/LuaAstNode/BinaryOperator.h-9
- include/LuaParser/LuaAstNode/Block.h-9
- include/LuaParser/LuaAstNode/BreakStatement.h-9
- include/LuaParser/LuaAstNode/CallArgList.h-9
- include/LuaParser/LuaAstNode/CallExpression.h-9
- include/LuaParser/LuaAstNode/Chunk.h-9
- include/LuaParser/LuaAstNode/ClosureExpression.h-9
- include/LuaParser/LuaAstNode/Comment.h-9
- include/LuaParser/LuaAstNode/DoStatement.h-9
- include/LuaParser/LuaAstNode/EmptyStatement.h-9
- include/LuaParser/LuaAstNode/Error.h-9
- include/LuaParser/LuaAstNode/Expression.h-9
- include/LuaParser/LuaAstNode/ExpressionList.h-9
- include/LuaParser/LuaAstNode/ExpressionStatement.h-9
- include/LuaParser/LuaAstNode/ForBody.h-9
- include/LuaParser/LuaAstNode/ForList.h-9
- include/LuaParser/LuaAstNode/ForNumber.h-9
- include/LuaParser/LuaAstNode/ForStatement.h-9
- include/LuaParser/LuaAstNode/FunctionBody.h-9
- include/LuaParser/LuaAstNode/FunctionStatement.h-9
- include/LuaParser/LuaAstNode/GeneralOperator.h-9
- include/LuaParser/LuaAstNode/GotoStatement.h-9
- include/LuaParser/LuaAstNode/Identify.h-9
- include/LuaParser/LuaAstNode/IfStatement.h-9
- include/LuaParser/LuaAstNode/IndexExpression.h-9
- include/LuaParser/LuaAstNode/IndexOperator.h-9
- include/LuaParser/LuaAstNode/KeyWord.h-9
- include/LuaParser/LuaAstNode/LabelStatement.h-9
- include/LuaParser/LuaAstNode/LiteralExpression.h-9
- include/LuaParser/LuaAstNode/LocalFunctionStatement.h-9
- include/LuaParser/LuaAstNode/LocalStatement.h-9
- include/LuaParser/LuaAstNode/LongComment.h-9
- include/LuaParser/LuaAstNode/LuaAstNode.h+4-1
- include/LuaParser/LuaAstNode/NameDefList.h-9
- include/LuaParser/LuaAstNode/NameExpression.h-9
- include/LuaParser/LuaAstNode/NameIdentify.h-9
- include/LuaParser/LuaAstNode/Param.h-9
- include/LuaParser/LuaAstNode/ParamList.h-9
- include/LuaParser/LuaAstNode/PrimaryExpression.h-9
- include/LuaParser/LuaAstNode/RepeatStatement.h-9
- include/LuaParser/LuaAstNode/ReturnStatement.h-9
- include/LuaParser/LuaAstNode/ShebangComment.h-9
- include/LuaParser/LuaAstNode/ShortComment.h-9
- include/LuaParser/LuaAstNode/TableExpression.h-9
- include/LuaParser/LuaAstNode/TableField.h-9
- include/LuaParser/LuaAstNode/TableFieldSep.h-9
- include/LuaParser/LuaAstNode/UnaryExpression.h-9
- include/LuaParser/LuaAstNode/UnaryOperator.h-9
- include/LuaParser/LuaAstNode/WhileStatement.h-9
- include/LuaParser/LuaCustomParser.h+20
- include/LuaParser/LuaFile.h+2
- include/LuaParser/LuaTokenParser.h+7
- include/LuaParser/LuaTokenTypeDetail.h+1
- include/Util/StringUtil.h+5-1
- include/Util/Trie.h+18
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| 49 | + | |
54 | 50 | | |
55 | 51 | | |
56 | 52 | | |
| |||
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
86 | 109 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments