Skip to main content

Module ast

Module ast 

Source

Structs§

ApplyBlock
Applies a template to an import alias with optional overrides.
ClaimCall
ClaimExpr
EventDecl
event <lane> <time> "ラベル" { ... } 宣言のAST表現。
EventRangeDecl
event_range <lane> <start>..<end> "ラベル" { ... } 宣言のAST表現。
FieldPriorityConfig
policy field_priority { ... } ブロックのAST表現。
File
Root of the AST.
GroupDecl
group "名前" { lane ... } 宣言のAST表現。
ImportBlock
import <source_type> as <alias> { ... } ブロックのAST表現。
ItemProps
アイテム共通の省略可能プロパティ(tags, source, id, origin)。
LabelExpr
LabelRef
LaneDecl
lane "ラベル" as id { ... } 宣言のAST表現。
MapBlock
MapExpr
RangeExpr
start..end 形式の時間範囲式。
SourceRef
source <prefix>:<qid> 形式の出典参照(例: source wd:Q7209)。
Span
Source span for error reporting.
SpanDecl
span <lane> <start>..<end> "ラベル" { ... } 宣言のAST表現。
Spanned
A node annotated with its source location.
TemplateBlock
Named reusable map pattern.
TimelineBlock
timeline "名前" { ... } ブロックのAST表現。

Enums§

CompareOp
FieldStrategy
フィールド別インポート優先度戦略。
FilterExpr
FilterOperand
ImportItem
import ブロック内の個別エントリ(entity または query)。
MapFallback
A single fallback element in a ?? chain: either a claim expression or an integer literal.
MapProp
MapTargetType
ReimportPolicy
Statement
DSL の各トップレベル文(statement)に対応する enum。
StringMatchOp
TimeValue
時刻リテラル。年・月・日の3精度を保持する。