diff options
| author | Yong He <yonghe@outlook.com> | 2017-10-31 04:26:06 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-10-31 04:26:06 -0400 |
| commit | 436c906a36fc7ff4f767d303cb5824995cd117d8 (patch) | |
| tree | 5bc263b475f738db48c6f19ac26cd869232a62d2 /source/slang/syntax.cpp | |
| parent | 84f381cc180b3176d6a58da4085ee8470f246922 (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.cpp | 27 |
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 |
