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

pack-priv Class RBBIRuleScanner

extends Object
Class Inheritance
Imports
java.text.ParsePosition, java.util.HashMap, com.ibm.icu.impl.Assert, .Utility, com.ibm.icu.lang.UCharacter, .UProperty

This class is part of the Rule Based Break Iterator rule compiler. It scans the rules and builds the parse tree. There is no public API here.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv RBBIRuleScanner.RBBIRuleChar
pack-priv int
pack-priv int
pack-priv int
pack-priv boolean
pack-priv int
pack-priv boolean
pack-priv RBBINode[]
pack-priv int
pack-priv int
pack-priv boolean
pack-priv RBBIRuleBuilder
pack-priv boolean
pack-priv int
pack-priv UnicodeSet[]
pack-priv int
pack-priv HashMap<String, RBBIRuleScanner.RBBISetTableEl>
pack-priv short[]
pack-priv int
pack-priv RBBISymbolTable
private static String
private static String
private static String
private static String
private static String
private static String
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
doParseActions(int action)

pack-priv void
error(int e)

pack-priv void
findSetFor(String s, RBBINode node, UnicodeSet setToAdopt)

pack-priv void
fixOpStack(int p)

pack-priv void
pack-priv int
pack-priv int

Returns:

the number of rules that have been seen.
numRules
()

pack-priv void
pack-priv void
pack-priv RBBINode
pushNewNode(int nodeType)

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

Field Detail

chLSback to summary
pack-priv static final int chLS
chNELback to summary
pack-priv static final int chNEL
fCback to summary
pack-priv RBBIRuleScanner.RBBIRuleChar fC
fCharNumback to summary
pack-priv int fCharNum
fLastCharback to summary
pack-priv int fLastChar
fLineNumback to summary
pack-priv int fLineNum
fLookAheadRuleback to summary
pack-priv boolean fLookAheadRule
fNextIndexback to summary
pack-priv int fNextIndex
fNoChainInRuleback to summary
pack-priv boolean fNoChainInRule
fNodeStackback to summary
pack-priv RBBINode[] fNodeStack
fNodeStackPtrback to summary
pack-priv int fNodeStackPtr
fOptionStartback to summary
pack-priv int fOptionStart
fQuoteModeback to summary
pack-priv boolean fQuoteMode
fRBback to summary
pack-priv RBBIRuleBuilder fRB
fReverseRuleback to summary
pack-priv boolean fReverseRule
fRuleNumback to summary
pack-priv int fRuleNum
fRuleSetsback to summary
pack-priv UnicodeSet[] fRuleSets
fScanIndexback to summary
pack-priv int fScanIndex
fSetTableback to summary
pack-priv HashMap<String, RBBIRuleScanner.RBBISetTableEl> fSetTable
fStackback to summary
pack-priv short[] fStack
fStackPtrback to summary
pack-priv int fStackPtr
fSymbolTableback to summary
pack-priv RBBISymbolTable fSymbolTable
gRuleSet_digit_char_patternback to summary
private static String gRuleSet_digit_char_pattern
gRuleSet_name_char_patternback to summary
private static String gRuleSet_name_char_pattern
gRuleSet_name_start_char_patternback to summary
private static String gRuleSet_name_start_char_pattern
gRuleSet_rule_char_patternback to summary
private static String gRuleSet_rule_char_pattern
gRuleSet_white_space_patternback to summary
private static String gRuleSet_white_space_pattern
kAnyback to summary
private static String kAny
kStackSizeback to summary
private static final int kStackSize

Constructor Detail

RBBIRuleScannerback to summary
pack-priv RBBIRuleScanner(RBBIRuleBuilder rb)

Method Detail

doParseActionsback to summary
pack-priv boolean doParseActions(int action)
errorback to summary
pack-priv void error(int e)
findSetForback to summary
pack-priv void findSetFor(String s, RBBINode node, UnicodeSet setToAdopt)
fixOpStackback to summary
pack-priv void fixOpStack(int p)
nextCharback to summary
pack-priv void nextChar(RBBIRuleScanner.RBBIRuleChar c)
nextCharLLback to summary
pack-priv int nextCharLL()
numRulesback to summary
pack-priv int numRules()
Returns:int

the number of rules that have been seen.

parseback to summary
pack-priv void parse()
printNodeStackback to summary
pack-priv void printNodeStack(String title)
pushNewNodeback to summary
pack-priv RBBINode pushNewNode(int nodeType)
scanSetback to summary
pack-priv void scanSet()
stripRulesback to summary
pack-priv static String stripRules(String rules)
com.ibm.icu.text back to summary

pack-priv Class RBBIRuleScanner.RBBIRuleChar

extends Object
Class Inheritance

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fCharback to summary
pack-priv int fChar
fEscapedback to summary
pack-priv boolean fEscaped

Constructor Detail

RBBIRuleCharback to summary
pack-priv RBBIRuleChar()
com.ibm.icu.text back to summary

pack-priv Class RBBIRuleScanner.RBBISetTableEl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv RBBINode

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyback to summary
pack-priv String key
valback to summary
pack-priv RBBINode val

Constructor Detail

RBBISetTableElback to summary
pack-priv RBBISetTableEl()