Home | History | Annotate | Download | only in unicode

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.
262 * the string is a valid "pattern identifier" but not a number.
270 * It might not be a valid "pattern identifier",
298 * nested MessageFormat pattern substrings.
299 * For "simple" arguments (with no nested MessageFormat pattern substrings),
304 * Once a pattern has been parsed successfully, iterate through the parsed data
371 * parses the MessageFormat pattern string.
372 * @param pattern a MessageFormat pattern string
374 * of an error within the pattern.
381 * @throws IllegalArgumentException for syntax errors in the pattern string
387 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
411 * Parses a MessageFormat pattern string.
412 * @param pattern a MessageFormat pattern string
414 * of an error within the pattern.
421 * @throws IllegalArgumentException for syntax errors in the pattern string
427 MessagePattern &parse(const UnicodeString &pattern,
431 * Parses a ChoiceFormat pattern string.
432 * @param pattern a ChoiceFormat pattern string
434 * of an error within the pattern.
441 * @throws IllegalArgumentException for syntax errors in the pattern string
447 MessagePattern &parseChoiceStyle(const UnicodeString &pattern,
451 * Parses a PluralFormat pattern string.
452 * @param pattern a PluralFormat pattern string
454 * of an error within the pattern.
461 * @throws IllegalArgumentException for syntax errors in the pattern string
467 MessagePattern &parsePluralStyle(const UnicodeString &pattern,
471 * Parses a SelectFormat pattern string.
472 * @param pattern a SelectFormat pattern string
474 * of an error within the pattern.
481 * @throws IllegalArgumentException for syntax errors in the pattern string
487 MessagePattern &parseSelectStyle(const UnicodeString &pattern,
542 * @return the parsed pattern string (null if none was parsed).
550 * Does the parsed pattern have named arguments like {first_name}?
551 * @return TRUE if the parsed pattern has at least one named argument.
559 * Does the parsed pattern have numbered arguments like {2}?
560 * @return TRUE if the parsed pattern has at least one numbered argument.
569 * An argument name must be a "pattern identifier", that is, it must contain
574 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
581 * Returns a version of the parsed pattern string where each ASCII apostrophe
586 * @return the deep-auto-quoted version of the parsed pattern string.
595 * Returns the number of "parts" created by parsing the pattern string.
596 * Returns 0 if no pattern has been parsed or clear() was called.
597 * @return the number of pattern parts.
605 * Gets the i-th pattern "part".
607 * @return the i-th pattern "part".
615 * Returns the UMessagePatternPartType of the i-th pattern "part".
626 * Returns the pattern index of the specified pattern "part".
629 * @return The pattern index of this Part.
637 * Returns the substring of the pattern string indicated by the Part.
691 * A message pattern "part", representing a pattern parsing event.
715 * Returns the pattern string index associated with this Part.
716 * @return this part's pattern string index.
724 * Returns the length of the pattern substring associated with this Part.
726 * @return this part's pattern string index.
734 * Returns the pattern string limit (exclusive-end) index associated with this Part.
736 * @return this part's pattern string limit index, same as getIndex()+getLength().
809 // Some fields are not final because they are modified during pattern parsing.
810 // After pattern parsing, the parts are effectively immutable.
819 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
840 * This internal method assumes that the input substring is a "pattern identifier".
842 * ARG_NAME_NOT_NUMBER (-1) if it is a "pattern identifier" but not all ASCII digits,
885 * @return TRUE if we are inside a MessageFormat (sub-)pattern,
886 * as opposed to inside a top-level choice/plural/select pattern.
891 * @return TRUE if we are in a MessageFormat sub-pattern
892 * of a top-level ChoiceFormat pattern.