Remove unused code in CST.hpp

This commit is contained in:
Sam Vervaeck 2024-07-10 16:04:12 +02:00
parent 87bb0d0b10
commit 2a257275e8
Signed by: samvv
SSH key fingerprint: SHA256:dIg0ywU1OP+ZYifrYxy8c5esO72cIKB+4/9wkZj1VaY

View file

@ -2920,75 +2920,6 @@ public:
}; };
// template<> inline NodeKind getNodeType<Equals>() { return NodeKind::Equals; }
// template<> inline NodeKind getNodeType<Colon>() { return NodeKind::Colon; }
// template<> inline NodeKind getNodeType<Dot>() { return NodeKind::Dot; }
// template<> inline NodeKind getNodeType<DotDot>() { return NodeKind::DotDot; }
// template<> inline NodeKind getNodeType<Tilde>() { return NodeKind::Tilde; }
// template<> inline NodeKind getNodeType<LParen>() { return NodeKind::LParen; }
// template<> inline NodeKind getNodeType<RParen>() { return NodeKind::RParen; }
// template<> inline NodeKind getNodeType<LBracket>() { return NodeKind::LBracket; }
// template<> inline NodeKind getNodeType<RBracket>() { return NodeKind::RBracket; }
// template<> inline NodeKind getNodeType<LBrace>() { return NodeKind::LBrace; }
// template<> inline NodeKind getNodeType<RBrace>() { return NodeKind::RBrace; }
// template<> inline NodeKind getNodeType<RArrow>() { return NodeKind::RArrow; }
// template<> inline NodeKind getNodeType<RArrowAlt>() { return NodeKind::RArrowAlt; }
// template<> inline NodeKind getNodeType<LetKeyword>() { return NodeKind::LetKeyword; }
// template<> inline NodeKind getNodeType<ForeignKeyword>() { return NodeKind::ForeignKeyword; }
// template<> inline NodeKind getNodeType<MutKeyword>() { return NodeKind::MutKeyword; }
// template<> inline NodeKind getNodeType<PubKeyword>() { return NodeKind::PubKeyword; }
// template<> inline NodeKind getNodeType<TypeKeyword>() { return NodeKind::TypeKeyword; }
// template<> inline NodeKind getNodeType<ReturnKeyword>() { return NodeKind::ReturnKeyword; }
// template<> inline NodeKind getNodeType<ModKeyword>() { return NodeKind::ModKeyword; }
// template<> inline NodeKind getNodeType<StructKeyword>() { return NodeKind::StructKeyword; }
// template<> inline NodeKind getNodeType<EnumKeyword>() { return NodeKind::EnumKeyword; }
// template<> inline NodeKind getNodeType<ClassKeyword>() { return NodeKind::ClassKeyword; }
// template<> inline NodeKind getNodeType<InstanceKeyword>() { return NodeKind::InstanceKeyword; }
// template<> inline NodeKind getNodeType<ElifKeyword>() { return NodeKind::ElifKeyword; }
// template<> inline NodeKind getNodeType<IfKeyword>() { return NodeKind::IfKeyword; }
// template<> inline NodeKind getNodeType<MatchKeyword>() { return NodeKind::MatchKeyword; }
// template<> inline NodeKind getNodeType<ElseKeyword>() { return NodeKind::ElseKeyword; }
// template<> inline NodeKind getNodeType<Invalid>() { return NodeKind::Invalid; }
// template<> inline NodeKind getNodeType<EndOfFile>() { return NodeKind::EndOfFile; }
// template<> inline NodeKind getNodeType<BlockStart>() { return NodeKind::BlockStart; }
// template<> inline NodeKind getNodeType<BlockEnd>() { return NodeKind::BlockEnd; }
// template<> inline NodeKind getNodeType<LineFoldEnd>() { return NodeKind::LineFoldEnd; }
// template<> inline NodeKind getNodeType<CustomOperator>() { return NodeKind::CustomOperator; }
// template<> inline NodeKind getNodeType<Assignment>() { return NodeKind::Assignment; }
// template<> inline NodeKind getNodeType<Identifier>() { return NodeKind::Identifier; }
// template<> inline NodeKind getNodeType<IdentifierAlt>() { return NodeKind::IdentifierAlt; }
// template<> inline NodeKind getNodeType<StringLiteral>() { return NodeKind::StringLiteral; }
// template<> inline NodeKind getNodeType<IntegerLiteral>() { return NodeKind::IntegerLiteral; }
// template<> inline NodeKind getNodeType<QualifiedTypeExpression>() { return NodeKind::QualifiedTypeExpression; }
// template<> inline NodeKind getNodeType<ReferenceTypeExpression>() { return NodeKind::ReferenceTypeExpression; }
// template<> inline NodeKind getNodeType<ArrowTypeExpression>() { return NodeKind::ArrowTypeExpression; }
// template<> inline NodeKind getNodeType<BindPattern>() { return NodeKind::BindPattern; }
// template<> inline NodeKind getNodeType<ReferenceExpression>() { return NodeKind::ReferenceExpression; }
// template<> inline NodeKind getNodeType<NestedExpression>() { return NodeKind::NestedExpression; }
// template<> inline NodeKind getNodeType<MatchExpression>() { return NodeKind::MatchExpression; }
// template<> inline NodeKind getNodeType<BlockExpression>() { return NodeKind::BlockExpression; }
// template<> inline NodeKind getNodeType<LiteralExpression>() { return NodeKind::LiteralExpression; }
// template<> inline NodeKind getNodeType<CallExpression>() { return NodeKind::CallExpression; }
// template<> inline NodeKind getNodeType<InfixExpression>() { return NodeKind::InfixExpression; }
// template<> inline NodeKind getNodeType<PrefixExpression>() { return NodeKind::PrefixExpression; }
// template<> inline NodeKind getNodeType<ReturnExpression>() { return NodeKind::ReturnExpression; }
// template<> inline NodeKind getNodeType<IfExpression>() { return NodeKind::IfExpression; }
// template<> inline NodeKind getNodeType<IfExpressionPart>() { return NodeKind::IfExpressionPart; }
// template<> inline NodeKind getNodeType<TypeAssert>() { return NodeKind::TypeAssert; }
// template<> inline NodeKind getNodeType<Parameter>() { return NodeKind::Parameter; }
// template<> inline NodeKind getNodeType<LetBlockBody>() { return NodeKind::LetBlockBody; }
// template<> inline NodeKind getNodeType<LetExprBody>() { return NodeKind::LetExprBody; }
// template<> inline NodeKind getNodeType<PrefixFunctionDeclaration>() { return NodeKind::PrefixFunctionDeclaration; }
// template<> inline NodeKind getNodeType<InfixFunctionDeclaration>() { return NodeKind::InfixFunctionDeclaration; }
// template<> inline NodeKind getNodeType<SuffixFunctionDeclaration>() { return NodeKind::SuffixFunctionDeclaration; }
// template<> inline NodeKind getNodeType<NamedFunctionDeclaration()>() { return NodeKind::NamedFunctionDeclaration; }
// template<> inline NodeKind getNodeType<VariableDeclaration>() { return NodeKind::VariableDeclaration; }
// template<> inline NodeKind getNodeType<RecordDeclarationField>() { return NodeKind::RecordDeclarationField; }
// template<> inline NodeKind getNodeType<RecordDeclaration>() { return NodeKind::RecordDeclaration; }
// template<> inline NodeKind getNodeType<ClassDeclaration>() { return NodeKind::ClassDeclaration; }
// template<> inline NodeKind getNodeType<InstanceDeclaration>() { return NodeKind::InstanceDeclaration; }
// template<> inline NodeKind getNodeType<SourceFile>() { return NodeKind::SourceFile; }
} }
#endif #endif