We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e38cc6 commit 65cc053Copy full SHA for 65cc053
crates/pgls_hover/src/hovered_node.rs
@@ -1,18 +1,16 @@
1
use pgls_treesitter::WrappingClause;
2
3
-type NodeIdentification = (Option<String>, String);
4
-
5
#[allow(unused)]
6
#[derive(Debug)]
7
pub(crate) enum HoveredNode {
8
Schema(String),
9
- Table(NodeIdentification),
10
- Function(NodeIdentification),
+ Table((Option<String>, String)),
+ Function((Option<String>, String)),
11
Column((Option<String>, Option<String>, String)),
12
- Policy(NodeIdentification),
13
- Trigger(NodeIdentification),
+ Policy((Option<String>, String)),
+ Trigger((Option<String>, String)),
14
Role(String),
15
- PostgresType(NodeIdentification),
+ PostgresType((Option<String>, String)),
16
}
17
18
impl HoveredNode {
0 commit comments