Bruno BELANYI
3e1068a336
Not sure why it seems like the 'is-not? local' is not working. Will investigate later
30 lines
813 B
Plaintext
30 lines
813 B
Plaintext
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
|
|
/* ^ variable.parameter */
|
|
/* ^ type.builtin */
|
|
/* ^ variable.parameter */
|
|
/* ^ type.builtin */
|
|
/* ^ type */
|