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
| Edit this page View SourceType
Always returns void.
Declaration
public override Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Methods
| Edit this page 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. |