mulang 5.3.0 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/console +2 -2
- data/bin/mulang +0 -0
- data/lib/locales/en.yml +37 -57
- data/lib/locales/es.yml +36 -56
- data/lib/locales/operators.yml +96 -0
- data/lib/locales/pt.yml +34 -54
- data/lib/mulang.rb +53 -4
- data/lib/mulang/code.rb +40 -10
- data/lib/mulang/expectation.rb +54 -24
- data/lib/mulang/expectation/i18n.rb +11 -45
- data/lib/mulang/language.rb +86 -14
- data/lib/mulang/sexp.rb +80 -0
- data/lib/mulang/tokens.rb +276 -0
- data/lib/mulang/version.rb +2 -2
- metadata +22 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c939a5ccbb3c37d4185d74b92716ec2edb749e749ba030957cf76cde4f4eca8a
|
4
|
+
data.tar.gz: d26a911d0af64e7909a3febc313609c3c4014d16f493135b095925accf8b5cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d6d6a37862e5f72e052c45e21e1889614a27f16ee5b26e5a9155e1450fa0520b7ab29b31eee145b3a6848ea2127a1fe46ceead60d78dbcbfa94ca65b7fc84f
|
7
|
+
data.tar.gz: b982f347a29409ebcce08d54d20f766c152217c761fedb5b5229671731ca816f10c0816774d670511e08d152d2af94ae7039e04280c3641ac207c83a87a71691
|
data/bin/console
CHANGED
data/bin/mulang
CHANGED
Binary file
|
data/lib/locales/en.yml
CHANGED
@@ -5,17 +5,17 @@ en:
|
|
5
5
|
must_not: must not
|
6
6
|
must: must
|
7
7
|
solution: solution
|
8
|
-
with_char: ' with character <
|
9
|
-
with_false: ' with value <
|
8
|
+
with_char: ' with character <code>%{value}</code>'
|
9
|
+
with_false: ' with value <code>%{keyword_False}</code>'
|
10
10
|
with_literal: ' with a literal value'
|
11
11
|
with_logic: ' with a boolean expression'
|
12
12
|
with_math: ' with a math expression'
|
13
|
-
with_nil: ' with <
|
13
|
+
with_nil: ' with <code>%{keyword_Nil}</code>'
|
14
14
|
with_nonliteral: ' with a non-literal expresson'
|
15
|
-
with_number: ' with number <
|
16
|
-
with_string: ' with string <
|
17
|
-
with_symbol: ' with symbol <
|
18
|
-
with_true: ' with value <
|
15
|
+
with_number: ' with number <code>%{value}</code>'
|
16
|
+
with_string: ' with string <code>%{value}</code>'
|
17
|
+
with_symbol: ' with symbol <code>%{value}</code>'
|
18
|
+
with_true: ' with value <code>%{keyword_True}</code>'
|
19
19
|
inspection:
|
20
20
|
Assigns_except: '%{binding} %{must} assign something distinct from %{target}%{matching}'
|
21
21
|
Assigns_like: '%{binding} %{must} assign something similar to %{target}%{matching}'
|
@@ -47,7 +47,7 @@ en:
|
|
47
47
|
DeclaresComputationWithArity3_named: '%{target} %{must} have 3 parameters'
|
48
48
|
DeclaresComputationWithArity4_named: '%{target} %{must} have 4 parameters'
|
49
49
|
DeclaresComputationWithArity5_named: '%{target} %{must} have 5 parameters'
|
50
|
-
DeclaresEntryPoint: '%{binding} %{must} declare a <
|
50
|
+
DeclaresEntryPoint: '%{binding} %{must} declare a <code>%{keyword_EntryPoint}</code>%{matching}'
|
51
51
|
DeclaresEnumeration_except: '%{binding} %{must} declare enumerations distinct from %{target}'
|
52
52
|
DeclaresEnumeration_like: '%{binding} %{must} declare an enumeration like %{target}'
|
53
53
|
DeclaresEnumeration_named: '%{binding} %{must} declare an enumeration %{target}'
|
@@ -100,26 +100,27 @@ en:
|
|
100
100
|
Delegates: '%{binding} %{must} delegate'
|
101
101
|
DiscardsExceptions: '%{binding} is ignoring exceptions silently'
|
102
102
|
DoesConsolePrint: '%{binding} is printing to the console'
|
103
|
-
DoesNilTest: '%{binding} does <
|
104
|
-
DoesNullTest: '%{binding} does <
|
103
|
+
DoesNilTest: '%{binding} does <code>%{keyword_Nil}</code> tests'
|
104
|
+
DoesNullTest: '%{binding} does <code>%{keyword_Nil}</code> tests'
|
105
105
|
DoesTypeTest: '%{binding} string type tests'
|
106
|
-
HasAssignmentCondition: '%{binding} evaluates the result of an assignment where a boolean expression is expected. Perhaps you meant to use the <
|
107
|
-
HasAssignmentReturn: '%{binding} returns the result of an assignment. Perhaps you meant to use the <
|
106
|
+
HasAssignmentCondition: '%{binding} evaluates the result of an assignment where a boolean expression is expected. Perhaps you meant to use the <code>%{operator_Equal}</code> operator?'
|
107
|
+
HasAssignmentReturn: '%{binding} returns the result of an assignment. Perhaps you meant to use the <code>%{operator_Equal}</code> operator?'
|
108
108
|
HasCodeDuplication: '%{binding} has code duplication'
|
109
109
|
HasDeclarationTypos_named: 'Solution must declare %{target}, but declares %{binding}. Perhaps you meant %{target}?'
|
110
|
-
HasEmptyIfBranches: '%{binding} has empty <
|
111
|
-
HasEmptyRepeat: '%{binding} has empty <
|
110
|
+
HasEmptyIfBranches: '%{binding} has empty <code>%{keyword_If}</code> branches'
|
111
|
+
HasEmptyRepeat: '%{binding} has empty <code>%{keyword_Repeat}</code>'
|
112
|
+
HasEqualIfBranches: '%{binding} has unnecessary <code>%{keyword_If}</code>s whose branches are equal'
|
112
113
|
HasLongParameterList: '%{binding} has too many parameters. You may be missing an abstraction.'
|
113
114
|
HasMisspelledBindings: '%{binding} is misspelled'
|
114
115
|
HasMisspelledIdentifiers: '%{binding} is misspelled'
|
115
116
|
HasRedundantBooleanComparison: '%{binding} makes unnecesary boolean comparisons'
|
116
117
|
HasRedundantGuards: '%{binding} has unnecessary guards'
|
117
|
-
HasRedundantIf: '%{binding} has unnecessary <
|
118
|
+
HasRedundantIf: '%{binding} has unnecessary <code>%{keyword_If}</code>s that can be replaced by a boolean expression'
|
118
119
|
HasRedundantLambda: '%{binding} has unnecessary lambdas'
|
119
120
|
HasRedundantLocalVariableReturn: '%{binding} has unnecesary local variables; please try returning the expression directly'
|
120
121
|
HasRedundantParameter: '%{binding} has unnecessary parameters, that can be removed using point-free'
|
121
|
-
HasRedundantReduction: '%{binding} uses <
|
122
|
-
HasRedundantRepeat: '%{binding} has an unnecesary <
|
122
|
+
HasRedundantReduction: '%{binding} uses <code>%{keyword_Is}</code>, but it does not artihmetic'
|
123
|
+
HasRedundantRepeat: '%{binding} has an unnecesary <code>%{keyword_Repeat}</code>'
|
123
124
|
HasTooManyMethods: '%{binding} has too many methods'
|
124
125
|
HasTooShortBindings: '%{binding} is a too short identifier'
|
125
126
|
HasTooShortIdentifiers: '%{binding} is a too short identifier'
|
@@ -140,17 +141,19 @@ en:
|
|
140
141
|
Instantiates_named: '%{binding} %{must} instantiate %{target}'
|
141
142
|
Instantiates: '%{binding} %{must} instantiate objects'
|
142
143
|
IsLongCode: '%{binding} is too long'
|
143
|
-
|
144
|
+
JavaScript#UsesVarInsteadOfLet: '%{binding} should use <code>let</code> instead of <code>var</code>'
|
145
|
+
OverridesEqualOrHashButNotBoth: '%{binding} overrides <code>equals</code> or <code>hash</code> methods, but not both'
|
144
146
|
Raises_except: '%{binding} %{must} throw exceptions distinct from %{target}'
|
145
147
|
Raises_like: '%{binding} %{must} throw exceptions like %{target}'
|
146
148
|
Raises_named: '%{binding} %{must} throw %{target}'
|
147
149
|
Raises: '%{binding} %{must} throw exceptions'
|
148
150
|
Returns: '%{binding} %{must} return%{matching}'
|
149
|
-
ReturnsNil: '%{binding} retuns <
|
150
|
-
ReturnsNull: '%{binding} retuns <
|
151
|
-
ShouldInvertIfCondition: '%{binding} should invert <
|
151
|
+
ReturnsNil: '%{binding} retuns <code>%{keyword_Nil}</code>, which is a bad practice'
|
152
|
+
ReturnsNull: '%{binding} retuns <code>%{keyword_Nil}</code>, which is a bad practice'
|
153
|
+
ShouldInvertIfCondition: '%{binding} should invert <code>%{keyword_If}</code> condition and swap branches'
|
154
|
+
ShouldUseStrictComparators: '%{binding} should use strict operators <code>%{operator_Equal}</code> and <code>%{operator_NotEqual}</code> instead of <code>%{operator_Similar}</code> and <code>%{operator_NotSimilar}</code>'
|
152
155
|
SubordinatesDeclarationsTo: 'All declarations in %{binding} %{must} be used from %{target}'
|
153
|
-
SubordinatesDeclarationsToEntryPoint: 'All declarations in %{binding} %{must} be used from <
|
156
|
+
SubordinatesDeclarationsToEntryPoint: 'All declarations in %{binding} %{must} be used from <code>%{keyword_EntryPoint}</code> '
|
154
157
|
TypesAs_named: '%{binding} %{must} type as %{target}'
|
155
158
|
TypesAs: '%{binding} %{must} type'
|
156
159
|
TypesParameterAs_except: '%{binding} %{must} type parameters with a type distinct from %{target}'
|
@@ -163,56 +166,33 @@ en:
|
|
163
166
|
Uses_like: '%{binding} %{must} delegate to something similar to %{target}'
|
164
167
|
Uses_named: '%{binding} %{must} use %{target}'
|
165
168
|
Uses: '%{binding} %{must} delegate'
|
166
|
-
UsesAnd: '%{binding} %{must} use <i>%{operator_And}</i>'
|
167
169
|
UsesAnonymousVariable: '%{binding} %{must} use an annonymous variable'
|
168
|
-
UsesBackwardComposition: '%{binding} %{must} use <i>%{operator_BackwardComposition}</i>'
|
169
|
-
UsesBitwiseAnd: '%{binding} %{must} use <i>%{operator_BitwiseAnd}</i>'
|
170
|
-
UsesBitwiseLeftShift: '%{binding} %{must} use <i>%{operator_BitwiseLeftShift}</i>'
|
171
|
-
UsesBitwiseOr: '%{binding} %{must} use <i>%{operator_BitwiseOr}</i>'
|
172
|
-
UsesBitwiseRightShift: '%{binding} %{must} use <i>%{operator_BitwiseRightShift}</i>'
|
173
|
-
UsesBitwiseXor: '%{binding} %{must} use <i>%{operator_BitwiseXor}</i>'
|
174
170
|
UsesComposition: '%{binding} %{must} use composition'
|
175
171
|
UsesComprehension: '%{binding} %{must} use comprehensions'
|
176
172
|
UsesConditional: '%{binding} %{must} use conditionals'
|
177
|
-
UsesCut: '%{binding} uses <
|
178
|
-
|
179
|
-
UsesDyamicPolymorphism: '%{binding} %{must} use polymorphism'
|
173
|
+
UsesCut: '%{binding} uses <code>!</li> operator, which is a bad practice'
|
174
|
+
UsesDynamicPolymorphism: '%{binding} %{must} use polymorphism'
|
180
175
|
UsesDynamicMethodOverload: '%{binding} %{must} use overload'
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
UsesForLoop: '%{binding} %{must} use <i>%{keyword_For}</i>%{matching}'
|
187
|
-
UsesForwardComposition: '%{binding} %{must} use <i>%{operator_ForwardComposition}</i>'
|
188
|
-
UsesGreatherOrEqualThan: '%{binding} %{must} use <i>%{operator_GreatherOrEqualThan}</i>'
|
189
|
-
UsesGreatherThan: '%{binding} %{must} use <i>%{operator_GreatherThan}</i>'
|
176
|
+
UsesFail: '%{binding} uses <code>%{keyword_Fail}</li>, which is a bad practice'
|
177
|
+
UsesFindall: '%{binding} %{must} use <code>%{keyword_Findall}</code>'
|
178
|
+
UsesForall: '%{binding} %{must} use <code>%{keyword_Forall}</code>'
|
179
|
+
UsesForeach: '%{binding} %{must} use <code>%{keyword_ForEach}</code>%{matching}'
|
180
|
+
UsesForLoop: '%{binding} %{must} use <code>%{keyword_For}</code>%{matching}'
|
190
181
|
UsesGuards: '%{binding} %{must} use guards%{matching}'
|
191
|
-
|
192
|
-
UsesIf: '%{binding} %{must} use <i>%{keyword_If}</i>%{matching}'
|
182
|
+
UsesIf: '%{binding} %{must} use <code>%{keyword_If}</code>%{matching}'
|
193
183
|
UsesLambda: '%{binding} %{must} use lambda expressions%{matching}'
|
194
|
-
UsesLessOrEqualThan: '%{binding} %{must} use <i>%{operator_LessOrEqualThan}</i>'
|
195
|
-
UsesLessThan: '%{binding} %{must} use <i>%{operator_LessThan}</i>'
|
196
184
|
UsesLogic: '%{binding} %{must} usar boolean operators'
|
197
185
|
UsesLoop: '%{binding} %{must} use a loop%{matching}'
|
198
186
|
UsesMath: '%{binding} %{must} usar math expressions'
|
199
|
-
UsesMinus: '%{binding} %{must} use <i>%{operator_Minus}</i>'
|
200
187
|
UsesMixin: '%{binding} %{must} use mixins'
|
201
|
-
UsesModulo: '%{binding} %{must} use <i>%{operator_Modulo}</i>'
|
202
|
-
UsesMultiply: '%{binding} %{must} use <i>%{operator_Multiply}</i>'
|
203
|
-
UsesNegation: '%{binding} %{must} use <i>%{operator_Negation}</i>'
|
204
188
|
UsesNot: '%{binding} %{must} use not'
|
205
|
-
UsesNotEqual: '%{binding} %{must} use <i>%{operator_NotEqual}</i>'
|
206
189
|
UsesObjectComposition: '%{binding} %{must} use composition'
|
207
|
-
UsesOr: '%{binding} %{must} use <i>%{operator_Or}</i>'
|
208
|
-
UsesOtherwise: '%{binding} %{must} use <i>%{operator_Otherwise}</i>'
|
209
190
|
UsesPatternMatching: '%{binding} %{must} use pattern matching'
|
210
|
-
|
211
|
-
|
212
|
-
UsesRepeatOf: '%{binding} %{must} use <i>%{keyword_Repeat}</i>'
|
191
|
+
UsesRepeat: '%{binding} %{must} use <code>%{keyword_Repeat}</code>%{matching}'
|
192
|
+
UsesRepeatOf: '%{binding} %{must} use <code>%{keyword_Repeat}</code>'
|
213
193
|
UsesStaticMethodOverload: '%{binding} %{must} use overload'
|
214
194
|
UsesStaticPolymorphism: '%{binding} %{must} use polymorphism'
|
215
|
-
UsesSwitch: '%{binding} %{must} use a <
|
195
|
+
UsesSwitch: '%{binding} %{must} use a <code>%{keyword_Switch}</code>'
|
216
196
|
UsesTemplateMethod: '%{binding} %{must} use a template method'
|
217
197
|
UsesUnificationOperator: '%{binding} uses the unification operator (=)'
|
218
|
-
UsesWhile: '%{binding} %{must} use <
|
198
|
+
UsesWhile: '%{binding} %{must} use <code>%{keyword_While}</code>%{matching}'
|
data/lib/locales/es.yml
CHANGED
@@ -5,17 +5,17 @@ es:
|
|
5
5
|
must_not: no debe
|
6
6
|
must: debe
|
7
7
|
solution: la solución
|
8
|
-
with_char: ' con el carácter <
|
9
|
-
with_false: ' con el valor <
|
8
|
+
with_char: ' con el carácter <code>%{value}</code>'
|
9
|
+
with_false: ' con el valor <code>%{keyword_False}</code>'
|
10
10
|
with_literal: ' con un valor literal'
|
11
11
|
with_logic: ' con una expresión booleana'
|
12
12
|
with_math: 'con una expresión matemática'
|
13
|
-
with_nil: ' con <
|
13
|
+
with_nil: ' con <code>%{keyword_Nil}</code>'
|
14
14
|
with_nonliteral: ' con una expresión no literal'
|
15
|
-
with_number: ' con el número <
|
16
|
-
with_string: ' con la cadena <
|
17
|
-
with_symbol: ' con el símbolo <
|
18
|
-
with_true: ' con el valor <
|
15
|
+
with_number: ' con el número <code>%{value}</code>'
|
16
|
+
with_string: ' con la cadena <code>%{value}</code>'
|
17
|
+
with_symbol: ' con el símbolo <code>%{value}</code>'
|
18
|
+
with_true: ' con el valor <code>%{keyword_True}</code>'
|
19
19
|
inspection:
|
20
20
|
Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}%{matching}'
|
21
21
|
Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}%{matching}'
|
@@ -47,7 +47,7 @@ es:
|
|
47
47
|
DeclaresComputationWithArity3_named: '%{target} %{must} tener tres parámetros'
|
48
48
|
DeclaresComputationWithArity4_named: '%{target} %{must} tener cuatro parámetros'
|
49
49
|
DeclaresComputationWithArity5_named: '%{target} %{must} tener cinco parámetros'
|
50
|
-
DeclaresEntryPoint: '%{binding} %{must} declarar un <
|
50
|
+
DeclaresEntryPoint: '%{binding} %{must} declarar un <code>%{keyword_EntryPoint}</code>%{matching}'
|
51
51
|
DeclaresEnumeration_except: '%{binding} %{must} declarar enumeraciones que no se llamen %{target}'
|
52
52
|
DeclaresEnumeration_like: '%{binding} %{must} declarar una enumeracion de nombre parecido a %{target}'
|
53
53
|
DeclaresEnumeration_named: '%{binding} %{must} declarar una enumeracion %{target}'
|
@@ -104,26 +104,27 @@ es:
|
|
104
104
|
Delegates: '%{binding} %{must} delegar'
|
105
105
|
DiscardsExceptions: '%{binding} está ignorando excepciones silenciosamiente'
|
106
106
|
DoesConsolePrint: '%{binding} está realizando impresiones por pantalla'
|
107
|
-
DoesNilTest: '%{binding} hace comparaciones contra <
|
108
|
-
DoesNullTest: '%{binding} hace comparaciones contra <
|
107
|
+
DoesNilTest: '%{binding} hace comparaciones contra <code>%{keyword_Nil}</code>'
|
108
|
+
DoesNullTest: '%{binding} hace comparaciones contra <code>%{keyword_Nil}</code>'
|
109
109
|
DoesTypeTest: '%{binding} hace comparaciones contra strings'
|
110
|
-
HasAssignmentCondition: '%{binding} evalúa el resultado de una asignación en donde se esperaba una expresión booleana. ¿Quizás quisiste usar el operador <
|
111
|
-
HasAssignmentReturn: '%{binding} devuelve el resultado de una asignación. ¿Quizás quisiste usar el operador <
|
110
|
+
HasAssignmentCondition: '%{binding} evalúa el resultado de una asignación en donde se esperaba una expresión booleana. ¿Quizás quisiste usar el operador <code>%{operator_Equal}</code>?'
|
111
|
+
HasAssignmentReturn: '%{binding} devuelve el resultado de una asignación. ¿Quizás quisiste usar el operador <code>%{operator_Equal}</code>?'
|
112
112
|
HasCodeDuplication: '%{binding} tiene código repetido'
|
113
113
|
HasDeclarationTypos_named: 'La solución parece tener un error de tipeo: debe declarar %{target}, pero declara %{binding}. ¿Quizás quisiste decir %{target}?'
|
114
|
-
HasEmptyIfBranches: '%{binding} tiene ramas de <
|
115
|
-
HasEmptyRepeat: '%{binding} tiene un <
|
114
|
+
HasEmptyIfBranches: '%{binding} tiene ramas de <code>%{keyword_If}</code> vacías'
|
115
|
+
HasEmptyRepeat: '%{binding} tiene un <code>%{keyword_Repeat}</code> vacío'
|
116
|
+
HasEqualIfBranches: '%{binding} tiene <code>if</code>s innecesarios porque sus dos ramas son iguales'
|
116
117
|
HasLongParameterList: '%{binding} tiene demasiados parámetros. Te podría estar faltando una abstracción'
|
117
118
|
HasMisspelledBindings: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
|
118
119
|
HasMisspelledIdentifiers: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
|
119
120
|
HasRedundantBooleanComparison: '%{binding} hace comparaciones booleanas innecesarias'
|
120
121
|
HasRedundantGuards: '%{binding} tiene guardas innecesarias'
|
121
|
-
HasRedundantIf: '%{binding} tiene
|
122
|
+
HasRedundantIf: '%{binding} tiene <code>if</code>s innecesarios que pueden ser reemplazados por expresiones booleanas'
|
122
123
|
HasRedundantLambda: '%{binding} tiene lambdas innecesarias'
|
123
124
|
HasRedundantLocalVariableReturn: '%{binding} usa variables locales innecesarias; podés retornar directamente la expresión'
|
124
125
|
HasRedundantParameter: '%{binding} tiene parámetros innecesarios (se pueden eliminar mediante point-free)'
|
125
|
-
HasRedundantReduction: '%{binding} usa <
|
126
|
-
HasRedundantRepeat: '%{binding} tiene un <
|
126
|
+
HasRedundantReduction: '%{binding} usa <code>%{keyword_Is}</code>, pero no realiza cálculos'
|
127
|
+
HasRedundantRepeat: '%{binding} tiene un <code>%{keyword_Repeat}</code> innecesario'
|
127
128
|
HasTooManyMethods: '%{binding} tiene demasiados métodos'
|
128
129
|
HasTooShortBindings: '%{binding} es un identificador muy corto'
|
129
130
|
HasTooShortIdentifiers: '%{binding} es un identificador muy corto'
|
@@ -148,7 +149,8 @@ es:
|
|
148
149
|
Instantiates_named: '%{binding} %{must} instanciar %{target}'
|
149
150
|
Instantiates: '%{binding} %{must} instanciar objetos'
|
150
151
|
IsLongCode: '%{binding} es muy largo. Tratá de delegar más'
|
151
|
-
|
152
|
+
JavaScript#UsesVarInsteadOfLet: '%{binding} debería utilizar <code>let</code> en lugar de <code>var</code>'
|
153
|
+
OverridesEqualOrHashButNotBoth: '%{binding} redefine los métodos <code>equals</code> o <code>hash</code>, pero no ambos'
|
152
154
|
Raises_except: '%{binding} %{must} lanzar excepciones diferentes a %{target}'
|
153
155
|
Raises_like: '%{binding} %{must} lanzar excepciones parecidas a %{target}'
|
154
156
|
Raises_named: '%{binding} %{must} lanzar %{target}'
|
@@ -160,9 +162,10 @@ es:
|
|
160
162
|
Returns: '%{binding} %{must} retornar%{matching}'
|
161
163
|
ReturnsNil: '%{binding} retorna null, lo cual es una mala práctica'
|
162
164
|
ReturnsNull: '%{binding} retorna null, lo cual es una mala práctica'
|
163
|
-
ShouldInvertIfCondition: '%{binding} debería invertir la condición del <
|
165
|
+
ShouldInvertIfCondition: '%{binding} debería invertir la condición del <code>%{keyword_If}</code> e intercambiar las ramas'
|
166
|
+
ShouldUseStrictComparators: '%{binding} debería usar los operadores de equivalencia <code>%{operator_Equal}</code> y <code>%{operator_NotEqual}</code> en lugar de los operadores de similitud <code>%{operator_Similar}</code> y <code>%{operator_NotSimilar}</code>'
|
164
167
|
SubordinatesDeclarationsTo: 'Todas las declaraciones en %{binding} %{must} ser usadas desde %{target}'
|
165
|
-
SubordinatesDeclarationsToEntryPoint: 'Todas las declaraciones en %{binding} %{must} deben ser usadas desde un <
|
168
|
+
SubordinatesDeclarationsToEntryPoint: 'Todas las declaraciones en %{binding} %{must} deben ser usadas desde un <code>%{keyword_EntryPoint}</code>'
|
166
169
|
TypesAs_named: '%{binding} %{must} ser de tipo %{target}'
|
167
170
|
TypesAs: '%{binding} %{must} tipar'
|
168
171
|
TypesParameterAs_except: '%{binding} %{must} tipar parámetros con un tipo diferente a %{target}'
|
@@ -175,61 +178,38 @@ es:
|
|
175
178
|
Uses_like: '%{binding} %{must} delegar en algo parecido a %{target}'
|
176
179
|
Uses_named: '%{binding} %{must} utilizar %{target}'
|
177
180
|
Uses: '%{binding} %{must} delegar'
|
178
|
-
UsesAnd: '%{binding} %{must} utilizar <i>%{operator_And}</i>'
|
179
181
|
UsesAnonymousVariable: '%{binding} %{must} utilizar una variable anónima'
|
180
|
-
UsesBackwardComposition: '%{binding} %{must} utilizar <i>%{operator_BackwardComposition}</i>'
|
181
|
-
UsesBitwiseAnd: '%{binding} %{must} utilizar <i>%{operator_BitwiseAnd}</i>'
|
182
|
-
UsesBitwiseLeftShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseLeftShift}</i>'
|
183
|
-
UsesBitwiseOr: '%{binding} %{must} utilizar <i>%{operator_BitwiseOr}</i>'
|
184
|
-
UsesBitwiseRightShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseRightShift}</i>'
|
185
|
-
UsesBitwiseXor: '%{binding} %{must} utilizar <i>%{operator_BitwiseXor}</i>'
|
186
182
|
UsesComposition: '%{binding} %{must} usar composición'
|
187
183
|
UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
|
188
184
|
UsesConditional: '%{binding} %{must} utilizar condicionales'
|
189
185
|
UsesCut: '%{binding} usa el operador !, lo cual es una mala práctica'
|
190
|
-
|
191
|
-
UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
|
186
|
+
UsesDynamicPolymorphism: '%{binding} %{must} usar polimorfismo'
|
192
187
|
UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
|
193
|
-
UsesEqual: '%{binding} %{must} utilizar <i>%{operator_Equal}</i>'
|
194
188
|
UsesExceptionHandling: '%{binding} %{must} realizar manejo de excepciones'
|
195
189
|
UsesExceptions: '%{binding} %{must} usar excepciones'
|
196
|
-
UsesFail: '%{binding} usa <
|
197
|
-
UsesFindall: '%{binding} %{must} utilizar <
|
198
|
-
UsesForall: '%{binding} %{must} utilizar <
|
199
|
-
UsesForeach: '%{binding} %{must} usar <
|
200
|
-
UsesForLoop: '%{binding} %{must} usar <
|
201
|
-
UsesForwardComposition: '%{binding} %{must} utilizar <i>%{operator_ForwardComposition}</i>'
|
202
|
-
UsesGreatherOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_GreatherOrEqualThan}</i>'
|
203
|
-
UsesGreatherThan: '%{binding} %{must} utilizar <i>%{operator_GreatherThan}</i>'
|
190
|
+
UsesFail: '%{binding} usa <code>%{keyword_Fail}</li>, lo cual es una mala práctica'
|
191
|
+
UsesFindall: '%{binding} %{must} utilizar <code>%{keyword_Findall}</code>'
|
192
|
+
UsesForall: '%{binding} %{must} utilizar <code>%{keyword_Forall}</code>'
|
193
|
+
UsesForeach: '%{binding} %{must} usar <code>%{keyword_ForEach}</code>%{matching}'
|
194
|
+
UsesForLoop: '%{binding} %{must} usar <code>%{keyword_For}</code>%{matching}'
|
204
195
|
UsesGuards: '%{binding} %{must} usar guardas%{matching}'
|
205
|
-
|
206
|
-
UsesIf: '%{binding} %{must} usar <i>%{keyword_If}</i>%{matching}'
|
196
|
+
UsesIf: '%{binding} %{must} usar <code>%{keyword_If}</code>%{matching}'
|
207
197
|
UsesInheritance: '%{binding} %{must} usar herencia'
|
208
198
|
UsesLambda: '%{binding} %{must} emplear expresiones lambda%{matching}'
|
209
|
-
UsesLessOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_LessOrEqualThan}</i>'
|
210
|
-
UsesLessThan: '%{binding} %{must} utilizar <i>%{operator_LessThan}</i>'
|
211
199
|
UsesLogic: '%{binding} %{must} usar operadores booleanos'
|
212
200
|
UsesLoop: '%{binding} %{must} usar un bucle'
|
213
201
|
UsesMath: '%{binding} %{must} usar expresiones matemáticas'
|
214
|
-
UsesMinus: '%{binding} %{must} utilizar <i>%{operator_Minus}</i>'
|
215
202
|
UsesMixin: '%{binding} %{must} utilizar mixins'
|
216
203
|
UsesMixins: '%{binding} %{must} usar mixins'
|
217
|
-
|
218
|
-
UsesMultiply: '%{binding} %{must} utilizar <i>%{operator_Multiply}</i>'
|
219
|
-
UsesNegation: '%{binding} %{must} utilizar <i>%{operator_Negation}</i>'
|
220
|
-
UsesNot: '%{binding} %{must} utilizar <i>%{keyword_Not}</i>'
|
221
|
-
UsesNotEqual: '%{binding} %{must} utilizar <i>%{operator_NotEqual}</i>'
|
204
|
+
UsesNot: '%{binding} %{must} utilizar <code>%{keyword_Not}</code>'
|
222
205
|
UsesObjectComposition: '%{binding} %{must} usar composición'
|
223
|
-
UsesOr: '%{binding} %{must} utilizar <i>%{operator_Or}</i>'
|
224
|
-
UsesOtherwise: '%{binding} %{must} utilizar <i>%{operator_Otherwise}</i>'
|
225
206
|
UsesPatternMatching: '%{binding} %{must} utilizar pattern matching'
|
226
|
-
|
227
|
-
|
228
|
-
UsesRepeatOf: '%{binding} %{must} usar un <i>%{keyword_Repeat}</i> de %{target}'
|
207
|
+
UsesRepeat: '%{binding} %{must} usar <code>%{keyword_Repeat}</code>%{matching}'
|
208
|
+
UsesRepeatOf: '%{binding} %{must} usar un <code>%{keyword_Repeat}</code> de %{target}'
|
229
209
|
UsesStaticMethodOverload: '%{binding} %{must} usar sobrecarga'
|
230
210
|
UsesStaticPolymorphism: '%{binding} %{must} usar polimorfismo'
|
231
|
-
UsesSwitch: '%{binding} %{must} utilizar un <
|
211
|
+
UsesSwitch: '%{binding} %{must} utilizar un <code>%{keyword_Switch}</code>'
|
232
212
|
UsesTemplateMethod: '%{binding} %{must} usar un método plantilla'
|
233
213
|
UsesUnificationOperator: '%{binding} usa el operador de unificación (=)'
|
234
|
-
UsesWhile: '%{binding} %{must} utilizar un <
|
235
|
-
UsesYield: '%{binding} %{must} utilizar un <
|
214
|
+
UsesWhile: '%{binding} %{must} utilizar un <code>%{keyword_While}</code>'
|
215
|
+
UsesYield: '%{binding} %{must} utilizar un <code>%{keyword_Yield}</code>'
|
@@ -0,0 +1,96 @@
|
|
1
|
+
en:
|
2
|
+
mulang:
|
3
|
+
inspection:
|
4
|
+
UsesAnd: '%{binding} %{must} use <code>%{operator_And}</code>'
|
5
|
+
UsesBackwardComposition: '%{binding} %{must} use <code>%{operator_BackwardComposition}</code>'
|
6
|
+
UsesBitwiseAnd: '%{binding} %{must} use <code>%{operator_BitwiseAnd}</code>'
|
7
|
+
UsesBitwiseLeftShift: '%{binding} %{must} use <code>%{operator_BitwiseLeftShift}</code>'
|
8
|
+
UsesBitwiseOr: '%{binding} %{must} use <code>%{operator_BitwiseOr}</code>'
|
9
|
+
UsesBitwiseRightShift: '%{binding} %{must} use <code>%{operator_BitwiseRightShift}</code>'
|
10
|
+
UsesBitwiseXor: '%{binding} %{must} use <code>%{operator_BitwiseXor}</code>'
|
11
|
+
UsesDivide: '%{binding} %{must} use <code>%{operator_Divide}</code>'
|
12
|
+
UsesEqual: '%{binding} %{must} use <code>%{operator_Equal}</code>'
|
13
|
+
UsesForwardComposition: '%{binding} %{must} use <code>%{operator_ForwardComposition}</code>'
|
14
|
+
UsesGreatherOrEqualThan: '%{binding} %{must} use <code>%{operator_GreatherOrEqualThan}</code>'
|
15
|
+
UsesGreatherThan: '%{binding} %{must} use <code>%{operator_GreatherThan}</code>'
|
16
|
+
UsesHash: '%{binding} %{must} use <code>%{operator_Hash}</code>'
|
17
|
+
UsesLessOrEqualThan: '%{binding} %{must} use <code>%{operator_LessOrEqualThan}</code>'
|
18
|
+
UsesLessThan: '%{binding} %{must} use <code>%{operator_LessThan}</code>'
|
19
|
+
UsesMinus: '%{binding} %{must} use <code>%{operator_Minus}</code>'
|
20
|
+
UsesModulo: '%{binding} %{must} use <code>%{operator_Modulo}</code>'
|
21
|
+
UsesMultiply: '%{binding} %{must} use <code>%{operator_Multiply}</code>'
|
22
|
+
UsesNegation: '%{binding} %{must} use <code>%{operator_Negation}</code>'
|
23
|
+
UsesNotEqual: '%{binding} %{must} use <code>%{operator_NotEqual}</code>'
|
24
|
+
UsesNotSame: '%{binding} %{must} use <code>%{operator_NotSame}</code>'
|
25
|
+
UsesNotSimilar: '%{binding} %{must} use <code>%{operator_NotSimilar}</code>'
|
26
|
+
UsesOr: '%{binding} %{must} use <code>%{operator_Or}</code>'
|
27
|
+
UsesOtherwise: '%{binding} %{must} use <code>%{operator_Otherwise}</code>'
|
28
|
+
UsesPlus: '%{binding} %{must} use <code>%{operator_Plus}</code>'
|
29
|
+
UsesPush: '%{binding} %{must} use <code>%{operator_Push}</code>'
|
30
|
+
UsesSame: '%{binding} %{must} use <code>%{operator_Same}</code>'
|
31
|
+
UsesSimilar: '%{binding} %{must} use <code>%{operator_Similar}</code>'
|
32
|
+
UsesSize: '%{binding} %{must} use <code>%{operator_Size}</code>'
|
33
|
+
es:
|
34
|
+
mulang:
|
35
|
+
inspection:
|
36
|
+
UsesAnd: '%{binding} %{must} usar <code>%{operator_And}</code>'
|
37
|
+
UsesBackwardComposition: '%{binding} %{must} usar <code>%{operator_BackwardComposition}</code>'
|
38
|
+
UsesBitwiseAnd: '%{binding} %{must} usar <code>%{operator_BitwiseAnd}</code>'
|
39
|
+
UsesBitwiseLeftShift: '%{binding} %{must} usar <code>%{operator_BitwiseLeftShift}</code>'
|
40
|
+
UsesBitwiseOr: '%{binding} %{must} usar <code>%{operator_BitwiseOr}</code>'
|
41
|
+
UsesBitwiseRightShift: '%{binding} %{must} usar <code>%{operator_BitwiseRightShift}</code>'
|
42
|
+
UsesBitwiseXor: '%{binding} %{must} usar <code>%{operator_BitwiseXor}</code>'
|
43
|
+
UsesDivide: '%{binding} %{must} usar <code>%{operator_Divide}</code>'
|
44
|
+
UsesEqual: '%{binding} %{must} usar <code>%{operator_Equal}</code>'
|
45
|
+
UsesForwardComposition: '%{binding} %{must} usar <code>%{operator_ForwardComposition}</code>'
|
46
|
+
UsesGreatherOrEqualThan: '%{binding} %{must} usar <code>%{operator_GreatherOrEqualThan}</code>'
|
47
|
+
UsesGreatherThan: '%{binding} %{must} usar <code>%{operator_GreatherThan}</code>'
|
48
|
+
UsesHash: '%{binding} %{must} usar <code>%{operator_Hash}</code>'
|
49
|
+
UsesLessOrEqualThan: '%{binding} %{must} usar <code>%{operator_LessOrEqualThan}</code>'
|
50
|
+
UsesLessThan: '%{binding} %{must} usar <code>%{operator_LessThan}</code>'
|
51
|
+
UsesMinus: '%{binding} %{must} usar <code>%{operator_Minus}</code>'
|
52
|
+
UsesModulo: '%{binding} %{must} usar <code>%{operator_Modulo}</code>'
|
53
|
+
UsesMultiply: '%{binding} %{must} usar <code>%{operator_Multiply}</code>'
|
54
|
+
UsesNegation: '%{binding} %{must} usar <code>%{operator_Negation}</code>'
|
55
|
+
UsesNotEqual: '%{binding} %{must} usar <code>%{operator_NotEqual}</code>'
|
56
|
+
UsesNotSame: '%{binding} %{must} usar <code>%{operator_NotSame}</code>'
|
57
|
+
UsesNotSimilar: '%{binding} %{must} usar <code>%{operator_NotSimilar}</code>'
|
58
|
+
UsesOr: '%{binding} %{must} usar <code>%{operator_Or}</code>'
|
59
|
+
UsesOtherwise: '%{binding} %{must} usar <code>%{operator_Otherwise}</code>'
|
60
|
+
UsesPlus: '%{binding} %{must} usar <code>%{operator_Plus}</code>'
|
61
|
+
UsesPush: '%{binding} %{must} usar <code>%{operator_Push}</code>'
|
62
|
+
UsesSame: '%{binding} %{must} usar <code>%{operator_Same}</code>'
|
63
|
+
UsesSimilar: '%{binding} %{must} usar <code>%{operator_Similar}</code>'
|
64
|
+
UsesSize: '%{binding} %{must} usar <code>%{operator_Size}</code>'
|
65
|
+
pt:
|
66
|
+
mulang:
|
67
|
+
inspection:
|
68
|
+
UsesAnd: '%{binding} %{must} utilizar <code>%{operator_And}</code>'
|
69
|
+
UsesBackwardComposition: '%{binding} %{must} utilizar <code>%{operator_BackwardComposition}</code>'
|
70
|
+
UsesBitwiseAnd: '%{binding} %{must} utilizar <code>%{operator_BitwiseAnd}</code>'
|
71
|
+
UsesBitwiseLeftShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseLeftShift}</code>'
|
72
|
+
UsesBitwiseOr: '%{binding} %{must} utilizar <code>%{operator_BitwiseOr}</code>'
|
73
|
+
UsesBitwiseRightShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseRightShift}</code>'
|
74
|
+
UsesBitwiseXor: '%{binding} %{must} utilizar <code>%{operator_BitwiseXor}</code>'
|
75
|
+
UsesDivide: '%{binding} %{must} utilizar <code>%{operator_Divide}</code>'
|
76
|
+
UsesEqual: '%{binding} %{must} utilizar <code>%{operator_Equal}</code>'
|
77
|
+
UsesForwardComposition: '%{binding} %{must} utilizar <code>%{operator_ForwardComposition}</code>'
|
78
|
+
UsesGreatherOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_GreatherOrEqualThan}</code>'
|
79
|
+
UsesGreatherThan: '%{binding} %{must} utilizar <code>%{operator_GreatherThan}</code>'
|
80
|
+
UsesHash: '%{binding} %{must} utilizar <code>%{operator_Hash}</code>'
|
81
|
+
UsesLessOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_LessOrEqualThan}</code>'
|
82
|
+
UsesLessThan: '%{binding} %{must} utilizar <code>%{operator_LessThan}</code>'
|
83
|
+
UsesMinus: '%{binding} %{must} utilizar <code>%{operator_Minus}</code>'
|
84
|
+
UsesModulo: '%{binding} %{must} utilizar <code>%{operator_Modulo}</code>'
|
85
|
+
UsesMultiply: '%{binding} %{must} utilizar <code>%{operator_Multiply}</code>'
|
86
|
+
UsesNegation: '%{binding} %{must} utilizar <code>%{operator_Negation}</code>'
|
87
|
+
UsesNotEqual: '%{binding} %{must} utilizar <code>%{operator_NotEqual}</code>'
|
88
|
+
UsesNotSame: '%{binding} %{must} utilizar <code>%{operator_NotSame}</code>'
|
89
|
+
UsesNotSimilar: '%{binding} %{must} utilizar <code>%{operator_NotSimilar}</code>'
|
90
|
+
UsesOr: '%{binding} %{must} utilizar <code>%{operator_Or}</code>'
|
91
|
+
UsesOtherwise: '%{binding} %{must} utilizar <code>%{operator_Otherwise}</code>'
|
92
|
+
UsesPlus: '%{binding} %{must} utilizar <code>%{operator_Plus}</code>'
|
93
|
+
UsesPush: '%{binding} %{must} utilizar <code>%{operator_Push}</code>'
|
94
|
+
UsesSame: '%{binding} %{must} utilizar <code>%{operator_Same}</code>'
|
95
|
+
UsesSimilar: '%{binding} %{must} utilizar <code>%{operator_Similar}</code>'
|
96
|
+
UsesSize: '%{binding} %{must} utilizar <code>%{operator_Size}</code>'
|