Class WriteLineExpression
Represents expression that writes some object into particular output.
Inherited Members
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public sealed class WriteLineExpression : CustomExpression
Properties
| Improve this Doc View SourceType
Always returns Void.
Declaration
public override Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Methods
| Improve this Doc View SourceDebug(Expression)
Creates an expression that writes the object using WriteLine(Object).
Declaration
public static WriteLineExpression Debug(Expression value)
Parameters
Type | Name | Description |
---|---|---|
Expression | value | The value to be written into the stderr. |
Returns
Type | Description |
---|---|
WriteLineExpression | A new instance of WriteLineExpression. |
Error(Expression)
Creates an expression that writes the object into Error.
Declaration
public static WriteLineExpression Error(Expression value)
Parameters
Type | Name | Description |
---|---|---|
Expression | value | The value to be written into the stderr. |
Returns
Type | Description |
---|---|
WriteLineExpression | A new instance of WriteLineExpression. |
Out(Expression)
Creates an expression that writes the object into Out.
Declaration
public static WriteLineExpression Out(Expression value)
Parameters
Type | Name | Description |
---|---|---|
Expression | value | The value to be written into the stdout. |
Returns
Type | Description |
---|---|
WriteLineExpression | A new instance of WriteLineExpression. |
Reduce()
Translates this expression into predefined set of expressions using Lowering technique.
Declaration
public override Expression Reduce()
Returns
Type | Description |
---|---|
Expression | Translated expression. |
Overrides
Extension Methods
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, ValueFunc<T, TResult1>, ValueFunc<T, TResult2>)