Files

54 lines
956 B
Plaintext
Raw Permalink Normal View History

==================
Keywords should highlight
==================
use schema::types;
character Alice from Person {
age: 25
}
---
(source_file
(declaration
(use_declaration
(path_segments
(identifier)
(identifier))))
(declaration
(character_declaration
name: (identifier)
template: (template_clause
(identifier))
body: (character_body
(field
name: (dotted_path
(identifier))
value: (value
(integer)))))))
==================
Any type in sub-concept
==================
sub_concept Field.Type {
name: "text",
value: 42
}
---
(source_file
(declaration
(sub_concept
parent: (identifier)
name: (identifier)
body: (sub_concept_record_body
(sub_concept_field
name: (identifier)
value: (string))
(sub_concept_field
name: (identifier)
value: (integer))))))