Lines Matching refs:currentRope
41 private Rope currentRope;
54 this.currentRope = null;
73 return this.currentRopePos < this.currentRope.length() - 1 || !this.toTraverse.isEmpty();
77 * Initialize the currentRope and currentRopePos fields.
81 this.currentRope = this.toTraverse.pop();
82 if (this.currentRope instanceof ConcatenationRope) {
83 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
84 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
89 if (this.currentRope == null)
106 final int available = this.currentRope.length() - this.currentRopePos - 1;
118 this.currentRope = this.toTraverse.pop();
119 if (this.currentRope instanceof ConcatenationRope) {
120 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
121 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
134 return this.currentRope.charAt(this.currentRopePos);