From 8d03b8a8ebfc99fbc144186e8a0fd454e0b73ef1 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 5 Jan 2024 21:47:36 -0600 Subject: [PATCH] ast: update todo --- libconlang/src/ast.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libconlang/src/ast.rs b/libconlang/src/ast.rs index aea1f5d..7605cd1 100644 --- a/libconlang/src/ast.rs +++ b/libconlang/src/ast.rs @@ -1,8 +1,6 @@ //! # The Abstract Syntax Tree //! Contains definitions of AST Nodes, to be derived by a [parser](super::parser). //! -//! Also contains a [Visitor](visitor::Visitor) trait for visiting nodes -//! //! ## Syntax //! [`Start`]` := `[`Program`] \ //! [`Program`]` := `[`statement::Stmt`]`* EOI` \ @@ -181,7 +179,7 @@ pub mod path { pub parts: Vec, } - /// A component of a [`TypePath`] + /// A component of a [`Path`] /// # Syntax /// [`PathPart`]` := "super" | `[`Identifier`] #[derive(Clone, Debug)] @@ -747,8 +745,7 @@ pub mod todo { //! when an item is in progress, remove it from todo. //! //! # General TODOs: - //! - [ ] REMOVE VISITOR TRAIT - //! - [ ] + //! - [x] REMOVE VISITOR TRAIT //! - [x] Implement support for storing items in the AST //! - [ ] Keep track of the source location of each node //! - [ ] Implement paths