Searched refs:peekType (Results 1 – 1 of 1) sorted by relevance
261 if self:peekType(type) then276 Parser.peekType = function (self, val, offset) function285 if self:peekType(v) then304 if self:peekType("string") and not self:peek().force_text then375 while self:peek(i) and not self:peekType("indent", i) and current.row == self:peek(i).row do407 if not self:peekType("indent") or not self:peekType("indent", 2) then419 if self:peekType("indent") then456 while self:peek() ~= nil and ( indents > 0 or not self:peekType("dedent") ) do493 while self:peekType("id") do522 if self:peekType("id") then