Skip to main content

Module language

Module language 

Source
Expand description

Language definition trait for coordinating language-specific components.

Enums§

LanguageCategory
Represents the broad category a language belongs to.
UniversalElementRole
Represents the general structural role of a syntax tree element.
UniversalTokenRole
Represents the general syntactic role of a token across diverse languages.

Traits§

ElementRole
A trait for types that can represent an element’s structural role.
ElementType
A trait for types that represent an element’s kind in a syntax tree.
Language
Language definition trait that coordinates all language-related types and behaviors.
TokenRole
A trait for types that can represent a token’s syntactic role.
TokenType
A trait for types that represent a token’s kind in a specific language.