Clean up
This commit is contained in:
parent
2e3f9ebee2
commit
2066cf7256
@ -8,7 +8,7 @@ use std::{
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tree_sitter::Node;
|
||||
|
||||
use crate::{expression, AbstractTree, Error, Expression, Result, Table, Value, VariableMap};
|
||||
use crate::{AbstractTree, Error, Expression, Result, Table, Value, VariableMap};
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub enum Tool {
|
||||
|
@ -77,7 +77,10 @@ impl Display for ValueType {
|
||||
}
|
||||
ValueType::Empty => write!(f, "empty"),
|
||||
ValueType::Map(_map) => write!(f, "map"),
|
||||
ValueType::Table { column_names, rows } => {
|
||||
ValueType::Table {
|
||||
column_names: _,
|
||||
rows: _,
|
||||
} => {
|
||||
write!(f, "table")
|
||||
}
|
||||
ValueType::Function(function) => write!(f, "{function}"),
|
||||
@ -120,7 +123,7 @@ impl From<&Value> for ValueType {
|
||||
|
||||
ValueType::Map(value_nodes)
|
||||
}
|
||||
Value::Table(table) => ValueType::Table {
|
||||
Value::Table(_table) => ValueType::Table {
|
||||
column_names: todo!(),
|
||||
rows: todo!(),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user