Skip to content

Commit

Permalink
a few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
elkowar committed Apr 27, 2022
1 parent 7bbaed1 commit 69ce659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/yuck/src/config/attr_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ impl AttrValue {
}
}

/// an action as it is provided by the user. These actions contain Expressions which may reference variables.
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum Action {
Update(VarName, SimplExpr),
Expand Down Expand Up @@ -57,6 +58,8 @@ impl Action {
}
}

/// an action ready for execution.
/// The expressions in this struct may only reference the variable "event", and _must_ be fully resolved otherwise.
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum ExecutableAction {
Update(VarName, SimplExpr),
Expand Down

0 comments on commit 69ce659

Please sign in to comment.