mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-16 04:05:00 +00:00
Replace terminology "primary" with "call argument" and "parameter" with "secondary input"
This commit is contained in:
parent
f8c7ada572
commit
c738b4a1f9
15 changed files with 142 additions and 128 deletions
|
@ -1,3 +1,5 @@
|
|||
// TODO: Deprecate and remove this file
|
||||
|
||||
use proc_macro::TokenStream;
|
||||
use proc_macro2::Span;
|
||||
use proc_macro_error::proc_macro_error;
|
||||
|
@ -51,14 +53,14 @@ mod validation;
|
|||
/// where S1: Node<'input, (), Output = f64>,
|
||||
/// ```
|
||||
///
|
||||
/// for two `f64` parameter (secondary input) types. Since Graphene works by having each function evaluate its upstream node as a lambda that returns output data, these secondary inputs are not directly `f64` values but rather `Node`s that output `f64` values when evaluated (in this case, with an empty input of `()`).
|
||||
/// for two `f64` secondary input types. Since Graphene works by having each function evaluate its upstream node as a lambda that returns output data, these secondary inputs are not directly `f64` values but rather `Node`s that output `f64` values when evaluated (in this case, with an empty input of `()`).
|
||||
/// - Mapping the function's return type to the impl'd `Node` trait's associated type, e.g.:
|
||||
///
|
||||
/// ```ignore
|
||||
/// Output = Color
|
||||
/// ```
|
||||
///
|
||||
/// for a `Color` return (secondary output) type.
|
||||
/// for a `Color` secondary output type.
|
||||
///
|
||||
/// ## `eval()` method generation
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue