2022-06-03 10:41:42 +02:00
|
|
|
type int = int
|
|
|
|
/* ^ variable */
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 10:41:42 +02:00
|
|
|
|
|
|
|
type int_array = array of int
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 10:41:42 +02:00
|
|
|
|
|
|
|
type record = {a: int, b: string}
|
|
|
|
/* ^ property */
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 10:41:42 +02:00
|
|
|
/* ^ property */
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 10:41:42 +02:00
|
|
|
|
|
|
|
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
|
2022-06-03 19:59:56 +02:00
|
|
|
/* ^ variable.parameter */
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 19:59:56 +02:00
|
|
|
/* ^ variable.parameter */
|
2022-06-03 22:04:28 +02:00
|
|
|
/* ^ type.builtin */
|
2022-06-03 10:41:42 +02:00
|
|
|
/* ^ type */
|