Lines Matching refs:currentRope
42 private Rope currentRope;
56 this.currentRope = null;
66 return (this.currentRopePos + amount <= this.currentRope.length());
79 * Initialize the currentRope and currentRopePos fields.
83 this.currentRope = this.toTraverse.pop();
84 if (this.currentRope instanceof ConcatenationRope) {
85 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
86 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
91 if (this.currentRope == null)
93 this.currentRopePos = this.currentRope.length();
117 this.currentRope = this.toTraverse.pop();
118 if (this.currentRope instanceof ConcatenationRope) {
119 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
120 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
122 this.currentRopePos = this.currentRope.length();
133 return this.currentRope.charAt(this.currentRopePos);