comparison Implab.ServiceHost/Unity/TypeReferenceParser.cs @ 269:ff581cff7003 v3

Working on Unity container xml configuration
author cin
date Tue, 24 Apr 2018 01:46:02 +0300
parents 0be8a6ae8307
children 963b17c275be
comparison
equal deleted inserted replaced
268:0be8a6ae8307 269:ff581cff7003
18 CloseList, 18 CloseList,
19 19
20 Eof 20 Eof
21 } 21 }
22 22
23 readonly Regex _tokens = new Regex(@"(\w+)|\s*([\.{},\+])\s*"); 23 readonly Regex _tokens = new Regex(@"([\w\+]+)|\s*([\.{},])\s*");
24 24
25 TokenType m_token; 25 TokenType m_token;
26 26
27 string m_tokenValue; 27 string m_tokenValue;
28 28
66 break; 66 break;
67 case "}": 67 case "}":
68 m_token = TokenType.CloseList; 68 m_token = TokenType.CloseList;
69 break; 69 break;
70 case ".": 70 case ".":
71 case "+":
72 m_token = TokenType.Dot; 71 m_token = TokenType.Dot;
73 break; 72 break;
74 case ",": 73 case ",":
75 m_token = TokenType.Comma; 74 m_token = TokenType.Comma;
76 break; 75 break;