summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-10-31 04:26:06 -0400
committerYong He <yonghe@outlook.com>2017-10-31 04:26:06 -0400
commit436c906a36fc7ff4f767d303cb5824995cd117d8 (patch)
tree5bc263b475f738db48c6f19ac26cd869232a62d2 /source/slang/syntax.cpp
parent84f381cc180b3176d6a58da4085ee8470f246922 (diff)
Revert "work in-progress, add parsing for assoc type decls and member type expressions"
This reverts commit 84f381cc180b3176d6a58da4085ee8470f246922.
Diffstat (limited to 'source/slang/syntax.cpp')
-rw-r--r--source/slang/syntax.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp
index 165b2d132..6cf3fd7c9 100644
--- a/source/slang/syntax.cpp
+++ b/source/slang/syntax.cpp
@@ -940,33 +940,6 @@ void Type::accept(IValVisitor* visitor, void* extra)
return this;
}
- // AssocTypeDeclRefType
-
- String AssocTypeDeclRefType::ToString()
- {
- // TODO: what is appropriate here?
- return "<AssocType>";
- }
-
- bool AssocTypeDeclRefType::EqualsImpl(Type * type)
- {
- if (auto assocTypeDeclRefType = type->As<AssocTypeDeclRefType>())
- {
- return declRef.Equals(assocTypeDeclRefType->declRef);
- }
- return false;
- }
-
- int AssocTypeDeclRefType::GetHashCode()
- {
- return declRef.GetHashCode();
- }
-
- Type* AssocTypeDeclRefType::CreateCanonicalType()
- {
- return this;
- }
-
// ArithmeticExpressionType
// VectorExpressionType