Lines Matching refs:description
52 const UnicodeString& description,
78 const UnicodeString& description,
80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor)
137 const UnicodeString& description,
189 const UnicodeString& description,
191 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {}
215 const UnicodeString& description,
249 const UnicodeString& description,
251 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {}
283 const UnicodeString& description,
285 : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator)
288 withZeros = description.endsWith(LTLT, 2);
324 const UnicodeString& description,
326 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {}
359 const UnicodeString& description,
362 // if the description is empty, return a NullSubstitution
363 if (description.length() == 0) {
364 return new NullSubstitution(pos, ruleSet, formatter, description, status);
367 switch (description.charAt(0)) {
368 // if the description begins with '<'...
383 return new IntegralPartSubstitution(pos, ruleSet, formatter, description, status);
390 formatter->getDefaultRuleSet(), formatter, description, status);
396 formatter, description, status);
399 // if the description begins with '>'...
404 return new AbsoluteValueSubstitution(pos, ruleSet, formatter, description, status);
412 return new FractionalPartSubstitution(pos, ruleSet, formatter, description, status);
426 ruleSet, formatter, description, status);
429 // if the description begins with '=', always return a
432 return new SameValueSubstitution(pos, ruleSet, formatter, description, status);
445 const UnicodeString& description,
449 // the description should begin and end with the same character.
453 UnicodeString workingDescription(description);
454 if (description.length() >= 2
455 && description.charAt(0) == description.charAt(description.length() - 1))
457 workingDescription.remove(description.length() - 1, 1);
460 else if (description.length() != 0) {
466 // if the description was just two paired token characters
472 // if the description contains a rule set name, that's the rule
478 // if the description begins with 0 or #, treat it as a
501 // if the description is ">>>", this substitution bypasses the
512 // and of the description is none of these things, it's a syntax error
565 * Returns a textual description of the substitution
566 * @return A textual description of the substitution. This might
567 * not be identical to the description it was created from, but
809 const UnicodeString& description,
811 : NFSubstitution(_pos, _ruleSet, formatter, description, status)
813 if (0 == description.compare(gEqualsEquals, 2)) {
848 const UnicodeString& description,
850 : NFSubstitution(_pos, _ruleSet, formatter, description, status)
864 if (0 == description.compare(gGreaterGreaterGreaterThan, 3)) {
982 * Returns a textual description of the substitution
983 * @return A textual description of the substitution. This might
984 * not be identical to the description it was created from, but
1024 const UnicodeString& description,
1026 : NFSubstitution(_pos, _ruleSet, formatter, description, status)
1032 if (0 == description.compare(gGreaterGreaterThan, 2) ||
1033 0 == description.compare(gGreaterGreaterGreaterThan, 3) ||
1036 if (0 == description.compare(gGreaterGreaterGreaterThan, 3)) {