7 implementations of IIncrementalGeneratorNode
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\BatchNode.cs (1)
14internal sealed class BatchNode<TInput> : IIncrementalGeneratorNode<ImmutableArray<TInput>>
SourceGeneration\Nodes\CombineNode.cs (1)
14internal sealed class CombineNode<TInput1, TInput2> : IIncrementalGeneratorNode<(TInput1, TInput2)>
SourceGeneration\Nodes\HostOutputNode.cs (1)
19internal sealed class HostOutputNode<TInput> : IIncrementalGeneratorOutputNode, IIncrementalGeneratorNode<OutputType>
SourceGeneration\Nodes\InputNode.cs (1)
20internal sealed class InputNode<T> : IIncrementalGeneratorNode<T>
SourceGeneration\Nodes\SourceOutputNode.cs (1)
16internal sealed class SourceOutputNode<TInput> : IIncrementalGeneratorOutputNode, IIncrementalGeneratorNode<TOutput>
SourceGeneration\Nodes\SyntaxInputNode.cs (1)
16internal sealed class SyntaxInputNode<T> : SyntaxInputNode, IIncrementalGeneratorNode<T>
SourceGeneration\Nodes\TransformNode.cs (1)
16internal sealed class TransformNode<TInput, TOutput> : IIncrementalGeneratorNode<TOutput>
41 references to IIncrementalGeneratorNode
Microsoft.CodeAnalysis (41)
SourceGeneration\IncrementalContexts.cs (1)
92private void RegisterSourceOutput<TSource>(IIncrementalGeneratorNode<TSource> node, Action<SourceProductionContext, TSource> action, IncrementalGeneratorOutputKind kind, string sourceExt)
SourceGeneration\IncrementalValueProvider.cs (4)
22internal readonly IIncrementalGeneratorNode<TValue> Node; 25internal IncrementalValueProvider(IIncrementalGeneratorNode<TValue> node, bool catchAnalyzerExceptions) 43internal readonly IIncrementalGeneratorNode<TValues> Node; 46internal IncrementalValuesProvider(IIncrementalGeneratorNode<TValues> node, bool catchAnalyzerExceptions)
SourceGeneration\Nodes\BatchNode.cs (4)
18private readonly IIncrementalGeneratorNode<TInput> _sourceNode; 22public BatchNode(IIncrementalGeneratorNode<TInput> sourceNode, IEqualityComparer<ImmutableArray<TInput>>? comparer = null, string? name = null) 29public IIncrementalGeneratorNode<ImmutableArray<TInput>> WithComparer(IEqualityComparer<ImmutableArray<TInput>> comparer) => new BatchNode<TInput>(_sourceNode, comparer, _name); 31public IIncrementalGeneratorNode<ImmutableArray<TInput>> WithTrackingName(string name) => new BatchNode<TInput>(_sourceNode, _comparer, name);
SourceGeneration\Nodes\CombineNode.cs (6)
18private readonly IIncrementalGeneratorNode<TInput1> _input1; 19private readonly IIncrementalGeneratorNode<TInput2> _input2; 23public CombineNode(IIncrementalGeneratorNode<TInput1> input1, IIncrementalGeneratorNode<TInput2> input2, IEqualityComparer<(TInput1, TInput2)>? comparer = null, string? name = null) 103public IIncrementalGeneratorNode<(TInput1, TInput2)> WithComparer(IEqualityComparer<(TInput1, TInput2)> comparer) => new CombineNode<TInput1, TInput2>(_input1, _input2, comparer, _name); 105public IIncrementalGeneratorNode<(TInput1, TInput2)> WithTrackingName(string name) => new CombineNode<TInput1, TInput2>(_input1, _input2, _comparer, name);
SourceGeneration\Nodes\DriverStateTable.cs (1)
48public NodeStateTable<T> GetLatestStateTableForNode<T>(IIncrementalGeneratorNode<T> source)
SourceGeneration\Nodes\HostOutputNode.cs (6)
21private readonly IIncrementalGeneratorNode<TInput> _source; 25public HostOutputNode(IIncrementalGeneratorNode<TInput> source, Action<HostOutputProductionContext, TInput, CancellationToken> action) 98IIncrementalGeneratorNode<OutputType> IIncrementalGeneratorNode<OutputType>.WithComparer(IEqualityComparer<OutputType> comparer) => throw ExceptionUtilities.Unreachable(); 100public IIncrementalGeneratorNode<OutputType> WithTrackingName(string name) => throw ExceptionUtilities.Unreachable(); 102void IIncrementalGeneratorNode<OutputType>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\IIncrementalGeneratorNode.cs (2)
18IIncrementalGeneratorNode<T> WithComparer(IEqualityComparer<T> comparer); 20IIncrementalGeneratorNode<T> WithTrackingName(string name);
SourceGeneration\Nodes\InputNode.cs (2)
114public IIncrementalGeneratorNode<T> WithComparer(IEqualityComparer<T> comparer) => new InputNode<T>(_getInput, _registerOutput, _inputComparer, comparer, _name); 116public IIncrementalGeneratorNode<T> WithTrackingName(string name) => new InputNode<T>(_getInput, _registerOutput, _inputComparer, _comparer, name);
SourceGeneration\Nodes\NodeExtensions.cs (2)
9public static void LogTables<TSelf, TInput>(this IIncrementalGeneratorNode<TSelf> self, string? name, string? tableType, NodeStateTable<TSelf>? previousTable, NodeStateTable<TSelf> newTable, NodeStateTable<TInput> inputTable) 12public static void LogTables<TSelf, TInput1, TInput2>(this IIncrementalGeneratorNode<TSelf> self, string? name, string? tableType, NodeStateTable<TSelf>? previousTable, NodeStateTable<TSelf> newTable, NodeStateTable<TInput1> inputNode1, NodeStateTable<TInput2>? inputNode2)
SourceGeneration\Nodes\SourceOutputNode.cs (6)
20private readonly IIncrementalGeneratorNode<TInput> _source; 28public SourceOutputNode(IIncrementalGeneratorNode<TInput> source, Action<SourceProductionContext, TInput, CancellationToken> action, IncrementalGeneratorOutputKind outputKind, string sourceExtension) 92IIncrementalGeneratorNode<TOutput> IIncrementalGeneratorNode<TOutput>.WithComparer(IEqualityComparer<TOutput> comparer) => throw ExceptionUtilities.Unreachable(); 94public IIncrementalGeneratorNode<(IEnumerable<GeneratedSourceText>, IEnumerable<Diagnostic>)> WithTrackingName(string name) => throw ExceptionUtilities.Unreachable(); 96void IIncrementalGeneratorNode<TOutput>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\SyntaxInputNode.cs (2)
36public IIncrementalGeneratorNode<T> WithComparer(IEqualityComparer<T> comparer) => new SyntaxInputNode<T>(_inputNode, _registerOutput, comparer, _name); 38public IIncrementalGeneratorNode<T> WithTrackingName(string name) => new SyntaxInputNode<T>(_inputNode, _registerOutput, _comparer, name);
SourceGeneration\Nodes\TransformNode.cs (5)
22private readonly IIncrementalGeneratorNode<TInput> _sourceNode; 26public TransformNode(IIncrementalGeneratorNode<TInput> sourceNode, Func<TInput, CancellationToken, TOutput> userFunc, bool wrapUserFunc = false, IEqualityComparer<TOutput>? comparer = null, string? name = null) 31public TransformNode(IIncrementalGeneratorNode<TInput> sourceNode, Func<TInput, CancellationToken, ImmutableArray<TOutput>> userFunc, bool wrapUserFunc = false, IEqualityComparer<TOutput>? comparer = null, string? name = null) 40public IIncrementalGeneratorNode<TOutput> WithComparer(IEqualityComparer<TOutput> comparer) 43public IIncrementalGeneratorNode<TOutput> WithTrackingName(string name)