@ Deprecated public final void reset ( ) { // empty any old parenStack contents. // NOTE: this is not the most efficient way // to do this, but it's the easiest to write... while ( stackIsNotEmpty ( ) ) { pop ( ) ; } scriptStart = textStart ; scriptLimit = textStart ; scriptCode = UScript . INVALID_CODE ; parenSP = - 1 ; pushCount = 0 ; fixupCount = 0 ; textIndex = textStart ; }
Reset the iterator to the start of the text .