RustQ.Rust.AST.If (rustq v0.11.1)

Copy Markdown View Source

Structural RustQ AST node. Prefer the focused builder modules for construction.

Summary

Types

t()

@type t() :: %RustQ.Rust.AST.If{
  condition: RustQ.Rust.AST.expr(),
  else: [RustQ.Rust.AST.stmt()],
  then: [RustQ.Rust.AST.stmt()]
}