Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

rhs_selection

Stable type · Other

Tier: stable · Kind: type · Topic: Other

JuliaTypeScriptPythonRustGo
RhsSelectionnot exportednot exportedRhsSelectionnot exported

Julia

struct RhsSelection
RhsSelection(; writes, terms)
RhsSelection(writes::W, terms::T) where {W, T}
RhsSelection(; writes = :all, terms = :all)

Writable state names and term origins passed to select .

Source

TypeScript

TypeScript does not export this type.

Python

Python does not export this type.

Rust

pub struct RhsSelection {
    pub writes: Option<Vec<String>>,
    pub terms: Option<Vec<TermOrigin>>,
}

Which terms and which variables an operator keeps (API_SPEC §5.8, select). None keeps every term, or writes every state.

Source · Rust docs

Go

Go does not export this type.