function luaY.funcname(Y,Q,R)local n=false Y:singlevar(Q,R)while Q.t.token=="\046"do Y:field(Q,R)end if Q.t.token=="\058"then n=true Y:field(Q,R)end return n end

function luaY:funcname(ls, v)
  -- funcname -> NAME {field} [':' NAME]
  local needself = false
  self:singlevar(ls, v)
  while ls.t.token == "." do
    self:field(ls, v)
  end
  if ls.t.token == ":" then
    needself = true
    self:field(ls, v)
  end
  return needself
end
