diff options
Diffstat (limited to 'support/texlab/src/syntax.rs')
-rw-r--r-- | support/texlab/src/syntax.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/support/texlab/src/syntax.rs b/support/texlab/src/syntax.rs index 5a906c0ea7..a0ae96089c 100644 --- a/support/texlab/src/syntax.rs +++ b/support/texlab/src/syntax.rs @@ -1,17 +1,3 @@ -use cstree::TextRange; - pub mod bibtex; pub mod build_log; pub mod latex; - -pub trait CstNode<'a> { - type Lang: cstree::Language; - - fn cast(node: &'a cstree::ResolvedNode<Self::Lang>) -> Option<Self> - where - Self: Sized; - - fn syntax(&self) -> &'a cstree::ResolvedNode<Self::Lang>; - - fn small_range(&self) -> TextRange; -} |