| Modifier and Type | Class and Description | 
|---|---|
| static class  | TransletLib._TEST<R>Filters the result of its sub-parser by an explicit Java-encoded boolean predicate. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Translet.Parser<String> | doubleQuotedTextParser_noDoubleQuotesContainedParser which accepts any text which is framed by doublequotes and 
  does not contain doublequotes. | 
| static Translet.Parser<String> | identifier_javalikeParser which accepts any text which fulfills the rules for Java identifiers. | 
| static Translet.Parser<String> | parse_integer_nonNegParser accepting string values "0" or any positive integer, no leading zeros. | 
| static Translet.Parser<String> | parse_integer_positiveParser accepting string values of any positive integer, no leading zeros. | 
| static Translet.Parser<Integer> | parseAndPack_integer_nonNegParser accepting string values "0" or any positive integer, no leading zeros,
  and converting it to  Integervalue. | 
| static Translet.Parser<Integer> | parseAndPack_integer_positiveParser accepting string values of any positive integer, no leading zeros,
  and converting it to  Integervalue. | 
| static Translet.Parser<Integer> | parseAndPack_percentParser accepting strings representing integer percent values
  (one or two digits, no leading zeros, or the special values "100" and "0"),
  and converting it to  Integervalue. | 
| static Translet.Parser<Rational> | parseAndPack_rational_withSlash_nonNegParser for rational numbers in slash notation. | 
| static Translet.Parser<Rational> | parseAndPack_rational_withSlash_positiveParser for rational numbers in slash notation. | 
| protected static Map<Character,Integer> | romanLetterValuesMap of latin characters to roman numeral values | 
| static Function<String,BigDecimal> | string2bigDecimalString conversion function. | 
| static Function<String,BigInteger> | string2bigIntegerString conversion function. | 
| static Function<String,Integer> | string2integerString conversion function at base 10. | 
| static BiFunction<String,String,Rational> | strings2rationalString conversion function. | 
| Modifier and Type | Method and Description | 
|---|---|
| static @Opt String | int2roman(int num,
         boolean uppercase)Convert a positive integer into a roman number literal. | 
| static <T> @Opt Translet.Parser<T> | makeOR1(@Opt Translet.Parser<? extends T> p1,
       @Opt Translet.Parser<? extends T> p2)Combine parsers into a OR parser, if necessary. | 
| static Function<String,Integer> | roman2integer(MessageReceiver<SimpleMessage<?>> msg,
             boolean lowercasesupported,
             boolean uppercasesupported,
             boolean subtractiveformat_directNeighbour,
             boolean subtractiveformat_fartherNeighbour)Convert a string with a Roman number into an  Integervalue. | 
| static Function<String,Integer> | string2integer(int radix)This method returns a conversion  Functionfrom a text string to 
  integer in the given base. | 
| static <R> TransletLib._TEST<R> | TEST(Predicate<R> test,
    String name,
    Translet.Parser<R> sub) | 
| static <R> TransletLib._TEST<R> | TEST(Predicate<R> test,
    Translet.Parser<R> sub) | 
public static final Function<String,BigInteger> string2bigInteger
public static final BiFunction<String,String,Rational> strings2rational
public static final Function<String,BigDecimal> string2bigDecimal
public static final Function<String,Integer> string2integer
public static final Translet.Parser<String> parse_integer_nonNeg
public static final Translet.Parser<String> parse_integer_positive
public static final Translet.Parser<Integer> parseAndPack_integer_nonNeg
Integer value.public static final Translet.Parser<Integer> parseAndPack_integer_positive
Integer value.public static final Translet.Parser<Rational> parseAndPack_rational_withSlash_nonNeg
/" and two numbers
  must be present, only the first may be ==0. No sign + or -
  permitted.public static final Translet.Parser<Rational> parseAndPack_rational_withSlash_positive
/" and two numbers
  must be present, none of which may be ==0. No sign + or -
  permitted.public static final Translet.Parser<Integer> parseAndPack_percent
Integer value.protected static final Map<Character,Integer> romanLetterValues
public static final Translet.Parser<String> doubleQuotedTextParser_noDoubleQuotesContained
public static final Translet.Parser<String> identifier_javalike
public static Function<String,Integer> string2integer(int radix)
Function from a text string to 
  integer in the given base.public static final Function<String,Integer> roman2integer(MessageReceiver<SimpleMessage<?>> msg, boolean lowercasesupported, boolean uppercasesupported, boolean subtractiveformat_directNeighbour, boolean subtractiveformat_fartherNeighbour)
Integer value.
  Returns null in case of an error, and sends messages.
  ATTENTION, if used in a tscore parser, a null value does not indicate
  failure. For this, an exception must be thrown, e.g. via a 
  MessageThrower.
  
  (FIXME  does not yet reject IIII or  XXXXXXXX)
lowercasesupported - whether lower case letters are decodeduppercasesupported - whether upper case letters are decodedsubtractiveformat_directNeighbour - whether "IX", "XC" etc. are allowedsubtractiveformat_fartherNeighbour - whether "IL", "IC" are allowed@Opt public static @Opt String int2roman(int num, boolean uppercase)
num - the number to convert, must be in the range 1 <= num < 4000uppercase - whether upper case letters shall be returned@Opt public static final <T> @Opt Translet.Parser<T> makeOR1(@Opt @Opt Translet.Parser<? extends T> p1, @Opt @Opt Translet.Parser<? extends T> p2)
!= null.public static <R> TransletLib._TEST<R> TEST(Predicate<R> test, String name, Translet.Parser<R> sub)
public static <R> TransletLib._TEST<R> TEST(Predicate<R> test, Translet.Parser<R> sub)