1
0

Add debug statement

This commit is contained in:
Jeff 2023-10-22 14:33:08 -04:00
parent 0cbf4e8385
commit 3d143cc64c

View File

@ -22,6 +22,8 @@ impl Identifier {
impl AbstractTree for Identifier {
fn from_syntax_node(source: &str, node: Node) -> Result<Self> {
debug_assert_eq!("identifier", node.kind());
let identifier = &source[node.byte_range()];
Ok(Identifier(identifier.to_string()))