Home | History | Annotate | Download | only in runtime

Lines Matching refs:stop

176 		public function getTokensRange(start:int, stop:int):Array {
177 return getTokensBitSet(start, stop, null);
180 /** Given a start and stop index, return a List of all tokens in
186 public function getTokensBitSet(start:int, stop:int, types:BitSet):Array {
190 if ( stop>=tokens.length ) {
191 stop=tokens.length-1;
196 if ( start>stop ) {
200 // list = tokens[start:stop]:{Token t, t.getType() in types}
202 for (var i:int=start; i<=stop; i++) {
214 public function getTokensArray(start:int, stop:int, types:Array):Array {
215 return getTokensBitSet(start,stop,new BitSet(types));
218 public function getTokensInt(start:int, stop:int, ttype:int):Array {
219 return getTokensBitSet(start,stop,BitSet.of(ttype));
344 public function toStringWithRange(start:int, stop:int):String {
345 if ( start<0 || stop<0 ) {
351 if ( stop>=tokens.length ) {
352 stop = tokens.length-1;
355 for (var i:int = start; i <= stop; i++) {
362 public function toStringWithTokenRange(start:Token, stop:Token):String {
363 if ( start!=null && stop!=null ) {
364 return toStringWithRange(start.tokenIndex, stop.tokenIndex);