Lines Matching refs:pattern

39  * with the pattern strings that yield that output.
69 * either a single or a double apostrophe pattern character.
70 * Within a MessageFormat pattern, a single apostrophe only starts quoted literal text
81 * a double apostrophe pattern character.
100 * Start of a message pattern (main or nested).
110 * End of a message pattern (main or nested).
119 * Indicates a substring of the pattern string which is to be skipped when formatting.
274 * the string is a valid "pattern identifier" but not a number.
282 * It might not be a valid "pattern identifier",
310 * nested MessageFormat pattern substrings.
311 * For "simple" arguments (with no nested MessageFormat pattern substrings),
316 * Once a pattern has been parsed successfully, iterate through the parsed data
383 * parses the MessageFormat pattern string.
384 * @param pattern a MessageFormat pattern string
386 * of an error within the pattern.
393 * @throws IllegalArgumentException for syntax errors in the pattern string
399 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
423 * Parses a MessageFormat pattern string.
424 * @param pattern a MessageFormat pattern string
426 * of an error within the pattern.
433 * @throws IllegalArgumentException for syntax errors in the pattern string
439 MessagePattern &parse(const UnicodeString &pattern,
443 * Parses a ChoiceFormat pattern string.
444 * @param pattern a ChoiceFormat pattern string
446 * of an error within the pattern.
453 * @throws IllegalArgumentException for syntax errors in the pattern string
459 MessagePattern &parseChoiceStyle(const UnicodeString &pattern,
463 * Parses a PluralFormat pattern string.
464 * @param pattern a PluralFormat pattern string
466 * of an error within the pattern.
473 * @throws IllegalArgumentException for syntax errors in the pattern string
479 MessagePattern &parsePluralStyle(const UnicodeString &pattern,
483 * Parses a SelectFormat pattern string.
484 * @param pattern a SelectFormat pattern string
486 * of an error within the pattern.
493 * @throws IllegalArgumentException for syntax errors in the pattern string
499 MessagePattern &parseSelectStyle(const UnicodeString &pattern,
554 * @return the parsed pattern string (null if none was parsed).
562 * Does the parsed pattern have named arguments like {first_name}?
563 * @return TRUE if the parsed pattern has at least one named argument.
571 * Does the parsed pattern have numbered arguments like {2}?
572 * @return TRUE if the parsed pattern has at least one numbered argument.
581 * An argument name must be a "pattern identifier", that is, it must contain
586 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
593 * Returns a version of the parsed pattern string where each ASCII apostrophe
598 * @return the deep-auto-quoted version of the parsed pattern string.
607 * Returns the number of "parts" created by parsing the pattern string.
608 * Returns 0 if no pattern has been parsed or clear() was called.
609 * @return the number of pattern parts.
617 * Gets the i-th pattern "part".
619 * @return the i-th pattern "part".
627 * Returns the UMessagePatternPartType of the i-th pattern "part".
638 * Returns the pattern index of the specified pattern "part".
641 * @return The pattern index of this Part.
649 * Returns the substring of the pattern string indicated by the Part.
703 * A message pattern "part", representing a pattern parsing event.
727 * Returns the pattern string index associated with this Part.
728 * @return this part's pattern string index.
736 * Returns the length of the pattern substring associated with this Part.
738 * @return this part's pattern substring length.
746 * Returns the pattern string limit (exclusive-end) index associated with this Part.
748 * @return this part's pattern string limit index, same as getIndex()+getLength().
821 // Some fields are not final because they are modified during pattern parsing.
822 // After pattern parsing, the parts are effectively immutable.
831 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
852 * This internal method assumes that the input substring is a "pattern identifier".
854 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
899 * @return TRUE if we are inside a MessageFormat (sub-)pattern,
900 * as opposed to inside a top-level choice/plural/select pattern.
905 * @return TRUE if we are in a MessageFormat sub-pattern
906 * of a top-level ChoiceFormat pattern.