Show / Hide Table of Contents

Interface IParsed<T>

Result of a call to the Parser, including a possibly null Result and a possibly empty collection of IDiagnostics.

Namespace: Mangrove.Parsing.Abstractions
Assembly: Mangrove.Parsing.dll
Syntax
public interface IParsed<out T>
    where T : class
Type Parameters
Name Description
T

Specific output type.

Properties

View Source

Diagnostics

Any warnings or errors.

Declaration
IDiagnostics Diagnostics { get; }
Property Value
Type Description
IDiagnostics
View Source

Result

If non-null, the result of the parse operation. If this is null, expect Diagnostics to contain some errors.

Declaration
T Result { get; }
Property Value
Type Description
T

Extension Methods

ParsedExtensions.When<T>(IParsed<T>, Action<T>, Action<IDiagnostics>)
ParsedExtensions.With<T, TResult>(IParsed<T>, Func<T, TResult>, Func<IDiagnostics, TResult>)
ParsedExtensions.With<T, TResult>(IParsed<T>, Func<T, IParsed<TResult>>)
ParsedExtensions.With<T, TResult>(IParsed<T>, Func<T, TResult>)
ParsedExtensions.Success<T>(IParsed<T>)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX