Esempio n. 1
0
        public void Visit(LiteralText literal)
        {
            var text = literal.Text;

            parts.Add(CompoundExpression.IndentCheck(Expression.Constant(text, typeof(string)), context));

            context._lineEnded = text.Length > 0 && text[text.Length - 1] == '\n';
        }
Esempio n. 2
0
 public void Visit(LiteralText literal)
 {
     parts.Add(Expression.Constant(literal.Text, typeof(string)));
 }