FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
luaplot/iterable.lua at master · thewizardplusplus/luaplot · GitHub
thewizardplusplus
/
luaplot
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
luaplot
/
iterable.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (15 loc) · 448 Bytes
Breadcrumbs
luaplot
/
iterable.lua
Copy path
File metadata and controls
20 lines (15 loc) · 448 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
--
@
classmod
Iterable
local
assertions
=
require
(
"
luatypechecks.assertions
"
)
local
iterators
=
require
(
"
luaplot.iterators
"
)
local
Iterable
=
{}
---
--
It is used for iterating over plot points in Lua 5.2.
--
@
treturn
iterators.inext iterator function
--
@
treturn
Iterable self
--
@
treturn
number always zero
function
Iterable
:
__ipairs
()
assertions
.
has_metamethods
(
self
, {
"
__index
"
})
return
iterators
.
inext
,
self
,
0
end
return
Iterable
Back
|
FazBrowse Home
|
New Git URL