示例#1
0
 public ConversionToken(ref string s, ExpressionData parent)
 {
     Match m = CONVERT_REGEX.Match(s);
     if (m.Success) {
         s = s.Substring(m.Index + m.Length);
         TypeRef = ColumnVariable.LookupSsisTypeName(m.Groups[1].Value);
         TokenToConvert = parent.ConsumeToken(ref s);
     } else {
         SourceWriter.Help(null, "Unable to parse conversion token " + s);
     }
 }
示例#2
0
 public ConversionToken(string ParamTypeRef, Token ParamTokenToConvert)
 {
     TypeRef = ParamTypeRef;
     TokenToConvert = ParamTokenToConvert;
 }