diff Implab/Automaton/RegularExpressions/StarToken.cs @ 177:a0ff6a0e9c44 ref20160224

refactoring
author cin
date Wed, 23 Mar 2016 01:42:00 +0300
parents 0526412bbb26
children
line wrap: on
line diff
--- a/Implab/Automaton/RegularExpressions/StarToken.cs	Tue Mar 22 18:58:40 2016 +0300
+++ b/Implab/Automaton/RegularExpressions/StarToken.cs	Wed Mar 23 01:42:00 2016 +0300
@@ -1,28 +1,25 @@
 using Implab;
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+
 
 namespace Implab.Automaton.RegularExpressions {
     /// <summary>
     /// Замыкание выражения с 0 и более повторов.
     /// </summary>
-    public class StarToken<TTag>: Token<TTag> {
+    public class StarToken: Token {
 
-        Token<TTag> m_token;
+        Token m_token;
 
-        public Token<TTag> Token {
+        public Token Token {
             get { return m_token; }
         }
 
-        public StarToken(Token<TTag> token) {
+        public StarToken(Token token) {
             Safe.ArgumentNotNull(token, "token");
             m_token = token;
         }
 
-        public override void Accept(IVisitor<TTag> visitor) {
+        public override void Accept(IVisitor visitor) {
             Safe.ArgumentNotNull(visitor, "visitor");
             visitor.Visit(this);
         }