Expand description
Provide the Rust types that implement an in-memory representation of the the SDML Grammar.
The following.
-
Identifiers
-
Modules and Imports
-
Annotations & Comments
-
Constraints
AtomicSentence
,BinaryOperation
, [Binding
],BooleanSentence
,BoundSentence
,Constraint
,ConstraintBody
,ConstraintSentence
,ControlledLanguageString
,ControlledLanguageTag
,FunctionalTerm
,NamePath
, [PredicateValue
],QuantifiedSentence
,SimpleSentence
,Subject
,Term
, [UnaryOperation
]
-
Type Definitions
-
Property Definitions
-
Member Definitions
ByReferenceMember
,ByReferenceMemberDef
,ByReferenceMemberInner
,ByValueMember
,ByValueMemberDef
,ByValueMemberInner
,Cardinality
,IdentityMember
,IdentityMemberDef
,IdentityMemberInner
,MappingType
,Ordering
,PseudoSequenceType
,TypeReference
,Uniqueness
,DEFAULT_BY_REFERENCE_CARDINALITY
,DEFAULT_BY_VALUE_CARDINALITY
-
Values
Modules
- Provides the capability to walk the in-memory model of an SDML module.
Structs
- Corresponds to the grammar rule
annotation_only_body
. - Corresponds to the grammar rule
annotation_property
. - Corresponds to the grammar rule
atomic_sentence
. - Holds the left and right operands in the rules
conjunction
,disjunction
,exclusive_disjunction
,implication
, andbiconditional
. - Corresponds to the inner part of the grammar rule
quantified_sentence
, and the rulequantified_body
. - Corresponds to the grammar rule
by_reference_member
. - Corresponds to the definition component within grammar rule
by_reference_member
. - Corresponds to the grammar rule
by_value_member
. - Corresponds to the definition component within grammar rule
by_value_member
. - Corresponds to the grammar rule
cardinality
. - Corresponds to the grammar rule
constraint
. - Corresponds to the grammar rule
informal_constraint
. - Corresponds to the grammar rule
controlled_language_tag
. - Corresponds to the grammar rule
data_type_def
. - Corresponds to the grammar rule
entity_body
. - Corresponds to the grammar rule
entity_def
. - Corresponds to the grammar rule
entity_group
. - Corresponds to the grammar rule
enum_body
. - Corresponds to the grammar rule
enum_def
. - Corresponds to the grammar rule
event_def
. - Corresponds to the grammar rule
functional_term
. - Corresponds the grammar rule
identifier
. - Corresponds to the grammar rule
identify_member
. - Corresponds to the definition component within grammar rule
identity_member
. - Corresponds the grammar rule
import_statement
. - Corresponds to the grammar rule
string
. - Corresponds to the grammar rule
language_tag
. - Corresponds to the grammar rule
list_of_values
. - Corresponds to the definition component within grammar rule
mapping_type
. - Corresponds to the grammar rule
mapping_value
. - Corresponds the grammar rule
module
. - Corresponds the grammar rule
module_body
. - Corresponds to the grammar rule
name_path
. - Corresponds to the grammar rule
property_body
. - Corresponds to the grammar rule
property_def
. - Corresponds to the grammar rule
property_role
. - Corresponds the grammar rule
qualified_identifier
. - The source location information from the tree-sitter
Node
type. - Corresponds to the grammar rule
structure_body
. - Corresponds to the grammar rule
structure_def
. - Corresponds to the grammar rule
structure_group
. - Corresponds to the grammar rule
type_variant
. - Corresponds to the grammar rule
union_body
. - Corresponds to the grammar rule
union_def
. - Corresponds to the grammar rule
value_constructor
. - Corresponds to the grammar rule
enum_variant
.
Enums
- Corresponds to the grammar rule
annotation
. - Corresponds to the grammar rule
boolean_sentence
. - Corresponds to the choice component within grammar rule
by_reference_member
. - Corresponds to the choice component within grammar rule
by_value_member
. - Corresponds to the field
body
in the grammar ruleconstraint
. - Corresponds to the grammar rule
constraint_sentence
. - Corresponds to the grammar rule
type_def
. - Corresponds to the inner part of the grammar rule
entity_group
. - Corresponds the grammar rule
identifier_reference
. - Corresponds to the choice component within grammar rule
identity_member
. - Corresponds the grammar rule
import
. - Corresponds to the grammar rule
name
. - Corresponds to the grammar rule
sequence_ordering
. - Corresponds to the grammar rule
quantified_sentence
. - Corresponds to the grammar rule
simple_sentence
. - Corresponds to the grammar rule
simple_value
. - Corresponds to the field
subject
in the grammar rulename
. - Corresponds to the grammar rule
term
. - Corresponds to the grammar rule
type_reference
. - Corresponds to the grammar rule
sequence_uniqueness
. - Corresponds to the grammar rule
value
.