Mark unused vars
This commit is contained in:
1 parent
ce7f51c403
commit
f6e23ad7d9
1 file changed
+19
-19
@@ -71,11 +71,11 @@ namespace Innertube
|
|||||||
}
|
}
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTwoColumnSearchResultsRenderer(nodeData as object, context as object) as object
|
function ParseTwoColumnSearchResultsRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["primaryContents"]
|
return nodeData["primaryContents"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTwoColumnBrowseResultsRenderer(nodeData as object, context as object) as object
|
function ParseTwoColumnBrowseResultsRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["tabs"]
|
return nodeData["tabs"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -89,43 +89,43 @@ namespace Innertube
|
|||||||
return nodeData["content"]
|
return nodeData["content"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseSectionListRenderer(nodeData as object, context as object) as object
|
function ParseSectionListRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["contents"]
|
return nodeData["contents"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseItemSectionRenderer(nodeData as object, context as object) as object
|
function ParseItemSectionRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["contents"]
|
return nodeData["contents"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseShelfRenderer(nodeData as object, context as object) as object
|
function ParseShelfRenderer(nodeData as object, _context as object) as object
|
||||||
' TODO: handle shelfRenderer.title
|
' TODO: handle shelfRenderer.title
|
||||||
' TODO: handle shelfRenderer.headerRenderer.shelfHeaderRenderer.avatarLockup.avatarLockupRenderer.title
|
' TODO: handle shelfRenderer.headerRenderer.shelfHeaderRenderer.avatarLockup.avatarLockupRenderer.title
|
||||||
return nodeData["content"]
|
return nodeData["content"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseReelShelfRenderer(nodeData as object, context as object) as object
|
function ParseReelShelfRenderer(nodeData as object, _context as object) as object
|
||||||
' TODO: handle reelShelfRenderer.title
|
' TODO: handle reelShelfRenderer.title
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseVerticalListRenderer(nodeData as object, context as object) as object
|
function ParseVerticalListRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseHorizontalListRenderer(nodeData as object, context as object) as object
|
function ParseHorizontalListRenderer(nodeData as object, _context as object) as object
|
||||||
' TODO: handle continuations
|
' TODO: handle continuations
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseExpandedShelfContentsRenderer(nodeData as object, context as object) as object
|
function ParseExpandedShelfContentsRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseChannelFeaturedContentRenderer(nodeData as object, context as object) as object
|
function ParseChannelFeaturedContentRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParsePlaylistVideoListRenderer(nodeData as object, context as object) as object
|
function ParsePlaylistVideoListRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["contents"]
|
return nodeData["contents"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -630,20 +630,20 @@ namespace Innertube
|
|||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTvBrowseRenderer(nodeData as object, context as object) as object
|
function ParseTvBrowseRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["content"]
|
return nodeData["content"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTvSurfaceContentRenderer(nodeData as object, context as object) as object
|
function ParseTvSurfaceContentRenderer(nodeData as object, _context as object) as object
|
||||||
' TODO: handle tvSurfaceContentRenderer.continuation
|
' TODO: handle tvSurfaceContentRenderer.continuation
|
||||||
return nodeData["content"]
|
return nodeData["content"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTvSecondaryNavRenderer(nodeData as object, context as object) as object
|
function ParseTvSecondaryNavRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["sections"]
|
return nodeData["sections"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseTvSecondaryNavSectionRenderer(nodeData as object, context as object) as object
|
function ParseTvSecondaryNavSectionRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["tabs"]
|
return nodeData["tabs"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -704,16 +704,16 @@ namespace Innertube
|
|||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseGridRenderer(nodeData as object, context as object) as object
|
function ParseGridRenderer(nodeData as object, _context as object) as object
|
||||||
' TODO: handle gridRenderer.continuations
|
' TODO: handle gridRenderer.continuations
|
||||||
return nodeData["items"]
|
return nodeData["items"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseRichGridRenderer(nodeData as object, context as object) as object
|
function ParseRichGridRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["contents"]
|
return nodeData["contents"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseRichItemRenderer(nodeData as object, context as object) as object
|
function ParseRichItemRenderer(nodeData as object, _context as object) as object
|
||||||
return nodeData["content"]
|
return nodeData["content"]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -761,7 +761,7 @@ namespace Innertube
|
|||||||
context.currentFeed.items.Push(item)
|
context.currentFeed.items.Push(item)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseNotImplemented(data as object, context as object) as object
|
function ParseNotImplemented(_data as object, _context as object) as object
|
||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user