예제 #1
0
파일: TypeParser.cs 프로젝트: wkxuan/code
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeParser"/> class.
 /// </summary>
 /// <param name="spResult">The symbol parse result.</param>
 internal TypeParser(ref SymbolParseResult spResult)
 {
     this.spResult = spResult;
 }
예제 #2
0
파일: TypeParser.cs 프로젝트: wkxuan/code
        /// <summary>
        /// 解析字符串为类型
        /// </summary>
        /// <returns>读取的类型</returns>
        public Type Resolve(string typeString)
        {
            spResult = SymbolParser.Build(typeString);

            return ReadType();
        }