Expand description
Typed views over the syntax tree.
Each type wraps a SyntaxNode of one kind. Accessors return None when the source is
incomplete, so they work on trees with errors too.
Structs§
- Alias
as name- Argument
List - Concept
Map conceptmap "url" { … }- Concept
MapCode s:male- Concept
MapEntry s:male - t:M- Concept
MapPrefix prefix s = "url"- Concept
MapUnmapped unmapped for s = provided- Constant
Declaration let name = expression;- Default
Clause default (expression), or the legacydefault "value".- Dependent
Clause then Group(a, b) { … }- Expr
- Any FHIRPath expression node.
- Group
group Name(…) extends Base <<types>> { … }- Imports
Declaration imports "url"- Invocation
name(arguments): a transform or a group call.- Literal
- A literal token: string, number, boolean, date or time.
- MapDeclaration
map "url" = "name"- Metadata
/// key = value- Parameter
source src : Type- Parameter
List - Qualified
Name a.b.c- Rule
sources -> targets then … "name";- Rule
Block { rule; … }- Source
- One source of a rule.
- Source
File - A whole FML document.
- Target
- One target of a rule.
- Type
Annotation : Type- Uses
Declaration uses "url" alias Name as source
Enums§
- Group
Type Mode - The type mode of a group: whether it is the default mapping for its types.
- List
Mode - A source or target list mode.
- Model
Mode - How a map uses a structure.
- Parameter
Mode - Whether a group parameter is an input or an output.
- Transform
Value - The value a target is set to.
Traits§
- AstNode
- A typed view of a syntax node.