# File nqxml/tokenizer.rb, line 139 def peekMatches?(str) while @currInput.pos >= @currInput.length @inputStack.pop() @currInput = @inputStack.last end return @currInput.string[@currInput.pos, str.length] == str end