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); } }
public ConversionToken(string ParamTypeRef, Token ParamTokenToConvert) { TypeRef = ParamTypeRef; TokenToConvert = ParamTokenToConvert; }