Top Inners Fields Constructors Methods
com.ibm.icu.text

pack-priv Class RBBIRuleBuilder

extends Object
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, .OutputStream, java.nio.charset.StandardCharsets, java.util.ArrayList, .HashMap, .List, .Map, .Set, com.ibm.icu.impl.Assert, .ICUBinary, .ICUDebug, .RBBIDataWrapper

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv String
pack-priv int
pack-priv RBBITableBuilder
pack-priv static final int
pack-priv boolean
pack-priv static final int
pack-priv String
pack-priv List<Integer>
pack-priv static final int
pack-priv static final int
pack-priv RBBIRuleScanner
pack-priv RBBISetBuilder
pack-priv Map<Set<Integer>, Integer>
pack-priv StringBuilder
pack-priv RBBINode[]
pack-priv List<RBBINode>
pack-priv static final int
U_BRK_ASSIGN_ERROR

< UnicodeSet writing an RBBI rule missing a closing ']'.

pack-priv static final int
pack-priv static final int
U_BRK_ERROR_START

< Character conversion: Illegal input sequence/combination of input units.

pack-priv static final int
U_BRK_HEX_DIGITS_EXPECTED

< An internal error (bug) was detected.

pack-priv static final int
U_BRK_INIT_ERROR

< Use of an undefined $Variable in an RBBI rule.

pack-priv static final int
U_BRK_INTERNAL_ERROR

< Start of codes indicating Break Iterator failures

pack-priv static final int
U_BRK_MALFORMED_RULE_TAG

< !!option in RBBI rules not recognized.

pack-priv static final int
U_BRK_MALFORMED_SET

< The {nnn} tag on a rule is mal formed

pack-priv static final int
U_BRK_MISMATCHED_PAREN

< RBBI rule $Variable redefined.

pack-priv static final int
U_BRK_NEW_LINE_IN_QUOTED_STRING

< Mis-matched parentheses in an RBBI rule.

pack-priv static final int
U_BRK_RULE_EMPTY_SET

< Initialization failure.

pack-priv static final int
U_BRK_RULE_SYNTAX

< Missing ';' at the end of a RBBI rule.

pack-priv static final int
U_BRK_SEMICOLON_EXPECTED

< Hex digits expected as part of a escaped char in a rule.

pack-priv static final int
U_BRK_UNCLOSED_SET

< Syntax error in RBBI rule.

pack-priv static final int
U_BRK_UNDEFINED_VARIABLE

< Missing closing quote in an RBBI rule.

pack-priv static final int
U_BRK_UNRECOGNIZED_OPTION

< Rule contains an empty Unicode Set.

pack-priv static final int
U_BRK_VARIABLE_REDFINITION

< Syntax error in RBBI rule assignment statement.

pack-priv static final int

Constructor Summary

AccessConstructor and Description
pack-priv
RBBIRuleBuilder(String rules)

< This must always be the last value to indicate the limit for Break Iterator failures

Method Summary

Modifier and TypeMethod and Description
pack-priv static final int
align8(int i)

pack-priv void
build(OutputStream os)

Compile rules to the binary form, write that to an output stream.

pack-priv static void
pack-priv void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fChainRulesback to summary
pack-priv boolean fChainRules
fDebugEnvback to summary
pack-priv String fDebugEnv
fDefaultTreeback to summary
pack-priv int fDefaultTree
fForwardTableback to summary
pack-priv RBBITableBuilder fForwardTable
fForwardTreeback to summary
pack-priv static final int fForwardTree
fLookAheadHardBreakback to summary
pack-priv boolean fLookAheadHardBreak
fReverseTreeback to summary
pack-priv static final int fReverseTree
fRulesback to summary
pack-priv String fRules
fRuleStatusValsback to summary
pack-priv List<Integer> fRuleStatusVals
fSafeFwdTreeback to summary
pack-priv static final int fSafeFwdTree
fSafeRevTreeback to summary
pack-priv static final int fSafeRevTree
fScannerback to summary
pack-priv RBBIRuleScanner fScanner
fSetBuilderback to summary
pack-priv RBBISetBuilder fSetBuilder
fStatusSetsback to summary
pack-priv Map<Set<Integer>, Integer> fStatusSets
fStrippedRulesback to summary
pack-priv StringBuilder fStrippedRules
fTreeRootsback to summary
pack-priv RBBINode[] fTreeRoots
fUSetNodesback to summary
pack-priv List<RBBINode> fUSetNodes
U_BRK_ASSIGN_ERRORback to summary
pack-priv static final int U_BRK_ASSIGN_ERROR

< UnicodeSet writing an RBBI rule missing a closing ']'.

U_BRK_ERROR_LIMITback to summary
pack-priv static final int U_BRK_ERROR_LIMIT
U_BRK_ERROR_STARTback to summary
pack-priv static final int U_BRK_ERROR_START

< Character conversion: Illegal input sequence/combination of input units.

U_BRK_HEX_DIGITS_EXPECTEDback to summary
pack-priv static final int U_BRK_HEX_DIGITS_EXPECTED

< An internal error (bug) was detected.

U_BRK_INIT_ERRORback to summary
pack-priv static final int U_BRK_INIT_ERROR

< Use of an undefined $Variable in an RBBI rule.

U_BRK_INTERNAL_ERRORback to summary
pack-priv static final int U_BRK_INTERNAL_ERROR

< Start of codes indicating Break Iterator failures

U_BRK_MALFORMED_RULE_TAGback to summary
pack-priv static final int U_BRK_MALFORMED_RULE_TAG

< !!option in RBBI rules not recognized.

U_BRK_MALFORMED_SETback to summary
pack-priv static final int U_BRK_MALFORMED_SET

< The {nnn} tag on a rule is mal formed

U_BRK_MISMATCHED_PARENback to summary
pack-priv static final int U_BRK_MISMATCHED_PAREN

< RBBI rule $Variable redefined.

U_BRK_NEW_LINE_IN_QUOTED_STRINGback to summary
pack-priv static final int U_BRK_NEW_LINE_IN_QUOTED_STRING

< Mis-matched parentheses in an RBBI rule.

U_BRK_RULE_EMPTY_SETback to summary
pack-priv static final int U_BRK_RULE_EMPTY_SET

< Initialization failure. Probable missing ICU Data.

U_BRK_RULE_SYNTAXback to summary
pack-priv static final int U_BRK_RULE_SYNTAX

< Missing ';' at the end of a RBBI rule.

U_BRK_SEMICOLON_EXPECTEDback to summary
pack-priv static final int U_BRK_SEMICOLON_EXPECTED

< Hex digits expected as part of a escaped char in a rule.

U_BRK_UNCLOSED_SETback to summary
pack-priv static final int U_BRK_UNCLOSED_SET

< Syntax error in RBBI rule.

U_BRK_UNDEFINED_VARIABLEback to summary
pack-priv static final int U_BRK_UNDEFINED_VARIABLE

< Missing closing quote in an RBBI rule.

U_BRK_UNRECOGNIZED_OPTIONback to summary
pack-priv static final int U_BRK_UNRECOGNIZED_OPTION

< Rule contains an empty Unicode Set.

U_BRK_VARIABLE_REDFINITIONback to summary
pack-priv static final int U_BRK_VARIABLE_REDFINITION

< Syntax error in RBBI rule assignment statement.

U_ILLEGAL_CHAR_FOUNDback to summary
pack-priv static final int U_ILLEGAL_CHAR_FOUND

Constructor Detail

RBBIRuleBuilderback to summary
pack-priv RBBIRuleBuilder(String rules)

< This must always be the last value to indicate the limit for Break Iterator failures

Method Detail

align8back to summary
pack-priv static final int align8(int i)
buildback to summary
pack-priv void build(OutputStream os) throws IOException

Compile rules to the binary form, write that to an output stream.

compileRulesback to summary
pack-priv static void compileRules(String rules, OutputStream os) throws IOException
flattenDataback to summary
pack-priv void flattenData(OutputStream os) throws IOException
optimizeTablesback to summary
pack-priv void optimizeTables()
com.ibm.icu.text back to summary

pack-priv Class RBBIRuleBuilder.IntPair

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
IntPair(int f, int s)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

firstback to summary
pack-priv int first
secondback to summary
pack-priv int second

Constructor Detail

IntPairback to summary
pack-priv IntPair()
IntPairback to summary
pack-priv IntPair(int f, int s)