Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

41  * with the pattern strings that yield that output.
71 * either a single or a double apostrophe pattern character.
72 * Within a MessageFormat pattern, a single apostrophe only starts quoted literal text
83 * a double apostrophe pattern character.
102 * Start of a message pattern (main or nested).
112 * End of a message pattern (main or nested).
121 * Indicates a substring of the pattern string which is to be skipped when formatting.
276 * the string is a valid "pattern identifier" but not a number.
284 * It might not be a valid "pattern identifier",
312 * nested MessageFormat pattern substrings.
313 * For "simple" arguments (with no nested MessageFormat pattern substrings),
318 * Once a pattern has been parsed successfully, iterate through the parsed data
385 * parses the MessageFormat pattern string.
386 * @param pattern a MessageFormat pattern string
388 * of an error within the pattern.
395 * @throws IllegalArgumentException for syntax errors in the pattern string
401 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
425 * Parses a MessageFormat pattern string.
426 * @param pattern a MessageFormat pattern string
428 * of an error within the pattern.
435 * @throws IllegalArgumentException for syntax errors in the pattern string
441 MessagePattern &parse(const UnicodeString &pattern,
445 * Parses a ChoiceFormat pattern string.
446 * @param pattern a ChoiceFormat pattern string
448 pattern.
455 * @throws IllegalArgumentException for syntax errors in the pattern string
461 MessagePattern &parseChoiceStyle(const UnicodeString &pattern,
465 * Parses a PluralFormat pattern string.
466 * @param pattern a PluralFormat pattern string
468 * of an error within the pattern.
475 * @throws IllegalArgumentException for syntax errors in the pattern string
481 MessagePattern &parsePluralStyle(const UnicodeString &pattern,
485 * Parses a SelectFormat pattern string.
486 * @param pattern a SelectFormat pattern string
488 * of an error within the pattern.
495 * @throws IllegalArgumentException for syntax errors in the pattern string
501 MessagePattern &parseSelectStyle(const UnicodeString &pattern,
556 * @return the parsed pattern string (null if none was parsed).
564 * Does the parsed pattern have named arguments like {first_name}?
565 * @return TRUE if the parsed pattern has at least one named argument.
573 * Does the parsed pattern have numbered arguments like {2}?
574 * @return TRUE if the parsed pattern has at least one numbered argument.
583 * An argument name must be a "pattern identifier", that is, it must contain
588 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
595 * Returns a version of the parsed pattern string where each ASCII apostrophe
600 * @return the deep-auto-quoted version of the parsed pattern string.
609 * Returns the number of "parts" created by parsing the pattern string.
610 * Returns 0 if no pattern has been parsed or clear() was called.
611 * @return the number of pattern parts.
619 * Gets the i-th pattern "part".
621 * @return the i-th pattern "part".
629 * Returns the UMessagePatternPartType of the i-th pattern "part".
640 * Returns the pattern index of the specified pattern "part".
643 * @return The pattern index of this Part.
651 * Returns the substring of the pattern string indicated by the Part.
705 * A message pattern "part", representing a pattern parsing event.
729 * Returns the pattern string index associated with this Part.
730 * @return this part's pattern string index.
738 * Returns the length of the pattern substring associated with this Part.
740 * @return this part's pattern substring length.
748 * Returns the pattern string limit (exclusive-end) index associated with this Part.
750 * @return this part's pattern string limit index, same as getIndex()+getLength().
823 // Some fields are not final because they are modified during pattern parsing.
824 // After pattern parsing, the parts are effectively immutable.
833 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
854 * This internal method assumes that the input substring is a "pattern identifier".
856 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
901 * @return TRUE if we are inside a MessageFormat (sub-)pattern,
902 * as opposed to inside a top-level choice/plural/select pattern.
907 * @return TRUE if we are in a MessageFormat sub-pattern
908 * of a top-level ChoiceFormat pattern.