Add debug statement

This commit is contained in:
Jeff 2023-10-21 14:27:32 -04:00
parent f820cc7867
commit 00d40f4525

View File

@ -16,6 +16,8 @@ pub enum Tool {
impl AbstractTree for Tool { impl AbstractTree for Tool {
fn from_syntax_node(source: &str, node: Node) -> Result<Self> { fn from_syntax_node(source: &str, node: Node) -> Result<Self> {
debug_assert_eq!("tool", node.kind());
fn parse_expressions(source: &str, node: Node) -> Result<Vec<Expression>> { fn parse_expressions(source: &str, node: Node) -> Result<Vec<Expression>> {
let mut expressions = Vec::new(); let mut expressions = Vec::new();