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