예제 #1
0
 internal static Text Text(TextExpression expression)
 {
     return(new Text()
     {
         QuoteChar = expression.QuoteChar,
         SourceText = expression.SourceText,
     }.Apply(n => n.TypeHint = expression.TryType().Null(t => TypeRef.Serialize(t))));
 }