Current section
Files
Jump to
Current section
Files
lib/rustq/codegen/decoders.ex
defmodule RustQ.Codegen.Decoders do
@moduledoc """
Aggregates AST decoder support items by Rust syntax category.
"""
alias RustQ.Codegen.Decoders.{Arm, Expr, Item, Pat, Stmt, Type}
def asts do
[
Item.asts(),
Type.asts(),
Pat.asts(),
Stmt.asts(),
Arm.asts(),
Expr.asts()
]
|> List.flatten()
end
end