Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/ast/generated/nodes.rs')
-rw-r--r--crates/syntax/src/ast/generated/nodes.rs36
1 files changed, 0 insertions, 36 deletions
diff --git a/crates/syntax/src/ast/generated/nodes.rs b/crates/syntax/src/ast/generated/nodes.rs
index 9d5af8e63c..cf90ba64cf 100644
--- a/crates/syntax/src/ast/generated/nodes.rs
+++ b/crates/syntax/src/ast/generated/nodes.rs
@@ -1086,26 +1086,6 @@ impl UnderscoreExpr {
}
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
-pub struct FloatLiteral {
- pub(crate) syntax: SyntaxNode,
-}
-impl FloatLiteral {
- pub fn float_number_start_0_token(&self) -> Option<SyntaxToken> {
- support::token(&self.syntax, T![float_number_start_0])
- }
- pub fn float_number_start_1_token(&self) -> Option<SyntaxToken> {
- support::token(&self.syntax, T![float_number_start_1])
- }
- pub fn float_number_start_2_token(&self) -> Option<SyntaxToken> {
- support::token(&self.syntax, T![float_number_start_2])
- }
- pub fn dot_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![.]) }
- pub fn float_number_part_token(&self) -> Option<SyntaxToken> {
- support::token(&self.syntax, T![float_number_part])
- }
-}
-
-#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct StmtList {
pub(crate) syntax: SyntaxNode,
}
@@ -2739,17 +2719,6 @@ impl AstNode for UnderscoreExpr {
}
fn syntax(&self) -> &SyntaxNode { &self.syntax }
}
-impl AstNode for FloatLiteral {
- fn can_cast(kind: SyntaxKind) -> bool { kind == FLOAT_LITERAL }
- fn cast(syntax: SyntaxNode) -> Option<Self> {
- if Self::can_cast(syntax.kind()) {
- Some(Self { syntax })
- } else {
- None
- }
- }
- fn syntax(&self) -> &SyntaxNode { &self.syntax }
-}
impl AstNode for StmtList {
fn can_cast(kind: SyntaxKind) -> bool { kind == STMT_LIST }
fn cast(syntax: SyntaxNode) -> Option<Self> {
@@ -4639,11 +4608,6 @@ impl std::fmt::Display for UnderscoreExpr {
std::fmt::Display::fmt(self.syntax(), f)
}
}
-impl std::fmt::Display for FloatLiteral {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- std::fmt::Display::fmt(self.syntax(), f)
- }
-}
impl std::fmt::Display for StmtList {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
std::fmt::Display::fmt(self.syntax(), f)