blob: 855abd618c9ac496a09020eb525acbe76e29a40b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
[utf8]
type = 'table'
[[.source]]
type = 'global'
[[.source]]
type = 'library'
name = 'utf8'
<default>
type = 'function'
[[.parent]]
type = 'global'
name = 'utf8'
[[.parent]]
type = 'library'
name = 'utf8'
[char]
[[.args]]
name = 'code'
type = 'integer'
[[.args]]
type = '...'
[[.returns]]
type = 'string'
[charpattern]
type = 'string'
code = [=['[\0-\x7F\xC2-\xF4][\x80-\xBF]*']=]
[codes]
[[.args]]
type = 'string'
[[.returns]]
type = 'function'
returns = {
1 = {
name = 'p',
type = 'integer',
},
2 = {
name = 'c',
type = 'integer',
}
}
[codepoint]
[[.args]]
type = 'string'
[[.args]]
name = 'i'
type = 'integer'
optional = 'after'
default = 1
[[.args]]
name = 'j'
type = 'integer'
optional = 'self'
[[.returns]]
name = 'code'
type = 'integer'
[[.returns]]
type = '...'
[len]
[[.args]]
type = 'string'
[[.args]]
name = 'i'
type = 'integer'
optional = 'after'
default = 1
[[.args]]
name = 'j'
type = 'integer'
optional = 'self'
default = -1
[[.returns]]
type = 'integer'
[[.returns]]
name = 'errpos'
type = 'integer'
optional = 'self'
[offset]
[[.args]]
type = 'string'
[[.args]]
name = 'n'
type = 'integer'
[[.args]]
name = 'i'
type = 'integer'
[[.returns]]
name = 'p'
type = 'integer'
|