public virtual void Visit(StringLiteralExp node) { AssignIsPartOfIteratorBody(node); SubexpressionTranslations.AddTrivialTranslation(node, string.Format("'{0}'", node.Value)); }
public virtual void Visit(NullLiteralExp node) { AssignIsPartOfIteratorBody(node); SubexpressionTranslations.AddTrivialTranslation(node, "()"); }
public virtual void Visit(RealLiteralExp node) { AssignIsPartOfIteratorBody(node); SubexpressionTranslations.AddTrivialTranslation(node, node.Value.ToString()); }
public virtual void Visit(BooleanLiteralExp node) { AssignIsPartOfIteratorBody(node); // instead boolean literals, functions are used SubexpressionTranslations.AddTrivialTranslation(node, node.Value ? "true()" : "false()"); }