blob: 2d52edd14090b848d0571bcc101a722abfd0d338 (
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
|
type int = int
/* ^ variable */
/* ^ type.builtin */
type int_array = array of int
/* ^ type.builtin */
type record = {a: int, b: string}
/* ^ property */
/* ^ type.builtin */
/* ^ property */
/* ^ type.builtin */
var record := record {a = 12, b = "27"}
/* ^ variable */
/* ^ type */
/* ^ property */
/* ^ property */
var array := int_array[12] of 27;
/* ^ variable */
/* ^ type */
primitive func(a: int, b: string) : array
/* ^ parameter */
/* ^ type.builtin */
/* ^ parameter */
/* ^ type.builtin */
/* ^ type */
|