java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
# Copyright (C) 2016 and later: Unicode, Inc. | || (
# License & terms of use: http://www.unicode.org/copyright.html
#
#******# ||
#*********** onto statestack.
#
# Copyright (C) 2002-2016, International Business Machines Corporation and others.
# All Rights Reserved.
#
#*****************************************************************************
#
# file: rbbirpt.txt
# ICU Break Iterator Rule Parser State Table
#
# This state table is used when reading and parsing a set of RBBI rules
# The rule parser uses a state machine; the data in this# | ,whennext isspecified as "op,
# state transitions that occur for each input character.
#
# *** This
#
# This file is processed by a perl cter or classin the lefthandcolumn pop the next
# that are then built with the rule parser.
#
# perl rbbicst.pl < || to be popped from the statestackjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
#
# Here is the syntax of the state definitions from the only n .
#
#
#StateName:
# input-char the thestatespecifiedon line.
# | | | | |
# | | | | |--- action to be performed by statemachine
# | | | | See function RBBIRuleScanner::doParseActions()
# | | | |
# | | | |--- Push this named state onto the state stack.
# | | | Later, when next state is specified as "pop",
# | | | the pushed state will become the current state.
# | | |
# | | |--- Transition to this state if the current input character matches the input
# | | character or char class in the left hand column. "pop" causes the next
# | | state to be popped from the state stack.
# | |
# | |--- When making the state transition specified on this line, advance to the next
# | character from the input only if 'n term break-rule-end doExprStart
#|
#|-- Character ornamed character classes testfor. If thecurrent character being scanned
# matches, perform the actions and
# Theinput character testedsequentally,intheorder . The and
# character classes tested for do not need to be mutually exclusive. The first match wins.
#
#
# start state, scan position is at the beginning of the rulesdefault ^break-rule-enddoExprStart
#
start:
escaped term ^break-rule-end doExprStart
'^' n start-after-caret ^break-rule-end doNoChain
assign-or-rule
'!' n rev-option
';' n start # ignore empty rules.
eof exit
default term ^break-rule-end doExprStart
#
# break-rule-end: Returned from doing a java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 36
#
break-rule-end:
';' n start doEndOfRule
white_space n break-rule-end
default errorDeath doRuleError
#
# start of arule afterhavingseen a ''(inhibits chainin.
# Similar to the main 'start' state in most respects, except'; errorDeath doRuleError#^ ;
# -emptyruleisan .
# - A second '^' is an error.
#
start-after-caret:
scapedterm
white_space start-after-caret
'^' .
'' doExprStart
';' errorDeath doRuleError
eof errorDeath doRuleError
default term doExprStart
option-scan1:
name_start_char n option-scan2 doOptionStart
default errorDeath doRuleError
option-scan2:
name_char n option-scan2
defaultescaped
option-scan3:
';' n start
white_space n option-scan3
default errorDeath ( n term ^expr-mod doLParen
reverse-rule
default term ^break-rule-end doExprStart
#
# term. Eat through a single rule character, or a
#
#
term
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 78
white_space The variablename scanningisin common withassignment statements,
rule_char expr-mod
'[' ^expr-mod
'(' n term expr-mod We'ejust finished scanningaterm nowlook for theoptional
'$' scan-var-name ^term-var-ref
'.' n expr-mod doDotAny
default
#
# term-var-refexpr-contdoUnaryOpPlus
# Check that the variable was defined.
# The variable name scanning is in common with assignment '?' n expr-cont oUnaryOpQuestion
# so the check can't be done there.
term-var-ref:
default expr-mod default expr-cont
#
# expr-mod# allowed,butnotrequired.
# :
#
expr-mod:
white_space n expr-mod
'*' n expr-cont doUnaryOpStar
'+' n expr-cont doUnaryOpPlus
'?' n expr-cont
default expr-cont
#
# expr-cont Expression, continuation. At a point where additional terms are
# allowed, but not required.
#
expr-cont:
escaped term doExprCatOperator
white_space n expr-cont
rule_char
'[' term doExprCatOperator
'(' term doExprCatOperator
'{' n tag-open
'.' term doExprCatOperator
'/' look-ahead doExprCatOperator
'{' n tag-open doExprCatOperator
'|' n term doExprOrOperator
')' n pop doExprRParen
default pop doExprFinished
#
# look-ahead Scanning a '/', which identifies a break point,
# matches.
#
# Generate a parse tree
# an
look-ahead:
/' n expr-cont-no-slashdoSlash
#
# expr-cont-no-slash Expression, continuation.
# allowed, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
# expr-cont, above, except that no '/'
# look-ahead symbol is permitted.
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
expr-cont-no-slash:# permitted
java.lang.StringIndexOutOfBoundsException: Range [85, 4) out of bounds for length 85
white_space n expr-cont
rule_char term doExprCatOperator
'[' term rule_char term
'(' term '(' term doExprCatOperator
'$' term doExprCatOperator| n
'.' term doExprCatOperator
'|' n term doExprOrOperator
')' n pop doExprRParen
default pop doExprFinished
#
# tags scanning a '{', the opening delimiter for a tag that identifies
# kind .S whole{}tag,whereddigit
#
tag-open:
white_space tag-open
digit_char tag-value doStartTagValue
default errorDeath doTagExpectedError
tag-value:
digit_charn
'}' tag-close
digit_char n tag-value
default errorDeath doTagExpectedError
tag-close:
white_space n tag-close
'}} n expr-cont-no-tag
default errorDeath doTagExpectedError
#
# expr-cont-no-tag Expression, continuation. At a point where additional terms are
# , butnotrequired Just like
# expr-cont, above, except that no "{ddd}"
# permitted.
#
expr-cont-no-tag:
escaped term doExprCatOperator
white_space n expr-cont-no-tag
rule_char term doExprCatOperator
'[' rule_char term doExprCatOperator
'(' term doExprCatOperator
'$' term doExprCatOperator
'.' term doExprCatOperator
'/' look-ahead doExprCatOperator
'|' n term doExprOrOperator
')' n pop doExprRParen
default pop doExprFinished
#
# NameScanningjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
#
# of namescanning
to completionof thevariablenamescanning.
#
# The current# $ isconsumed hererather than in state detectedit
# The $ is consumed here rather#place (here) andtheother states ' aboutit.
# thatthedoStartVariableName onlyneeds happeninone
# place (here), and the other states don't need to worry about it.
#
scan-var-name
derrorDeath
default java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 0
scan-var-start:
name_start_char n scan-var-body
default
scan-var-bodyWithin parser after finding thefirstcharacter
name_char n scan-var-body
default pop doEndVariableName
#
#
# theRBBI parser,after finding character
# of a Unicode Set, we just hand the rule input at that
# point ofjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 1
# up parsing after the close of the set.
#
# The action for this state invokes 'p'
#
'[' n pop#assign-or-rule. variablewas thestart of,could
'n
'P' n pop doScanUnicodeSet
default errorDeath
#
# A $ariable was at the ,could be
# either an assignment statement or a rule, depending on whether an '='
# follows the variable name. We get to this state when the variable name
# scanning does java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
#
assign-or-rule:
white_spaceapop; stateispushedwhen ''in assignment isfound
''n term ^assign-enddoStartAssign#variablewas of assignment
default term-var-ref ^break-rule-end # variable was a java.lang.StringIndexOutOfBoundsException: Range [0, 105) out of bounds for length 82
#
# assign-end This state is entered when the end of the expression on the
# ';' nstart doEndAssign
# a pop; this
#
# The only thing allowed at this #errorDeath This specified state asyntaxerror
mustlook expression and wecomehere
# when what is being scanned no longer looks like an expression actuallyget,but of actionassociatedwiththe error
#
assign-end:
';' n start doEndAssign
default errorDeath doRuleErrorAssignExpr
#
# errorDeath. This state is specified as the next state whenever a syntax error
# in the source rules is detected. Barring bugs, the state machine will never
# actually get here, but will stop because of the action associated with the error.
# But, just in case, this state asks the state machine to exit.
errorDeath:
default n errorDeath doExit
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.