Skip to content

Commit

Permalink
feat(oxc_ast): wrote document about VariableDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
re-taro committed Jul 29, 2024
1 parent 30a2b54 commit c0b7b4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/oxc_ast/src/ast/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,9 @@ impl<'a> Declaration<'a> {
}
}

/// Variable Declaration
/// `let a;` in `let a; a = 1;`
///
/// Represents a variable declaration, which can include a kind, declarations, and modifiers.
#[visited_node]
#[derive(Debug, Hash)]
#[cfg_attr(feature = "serialize", derive(Serialize, Tsify))]
Expand Down

0 comments on commit c0b7b4e

Please sign in to comment.