1 type derived from AbstractNode
IOperationGenerator (1)
Model.cs (1)
67
public class Node :
AbstractNode
26 references to AbstractNode
IOperationGenerator (26)
IOperationClassWriter.cs (23)
28
private readonly Dictionary<string,
AbstractNode
?> _typeMap;
34
_typeMap = _tree.Types.OfType<
AbstractNode
>().ToDictionary(t => t.Name, t => (
AbstractNode
?)t);
103
foreach (var grouping in _tree.Types.OfType<
AbstractNode
>().GroupBy(n => n.Namespace))
141
foreach (
var
node in grouping)
204
private void WriteInterface(
AbstractNode
node)
219
IEnumerable<string> getNodeKinds(
AbstractNode
node)
313
Dictionary<int, IEnumerable<(OperationKindEntry,
AbstractNode
)>> explicitKinds = _tree.Types.OfType<
AbstractNode
>()
323
List<
AbstractNode
> elementsToKind = _tree.Types.OfType<
AbstractNode
>()
358
var
currentEntry = elementsToKindEnumerator.Current;
393
foreach (
var
type in _tree.Types.OfType<
AbstractNode
>())
403
void writeClass(
AbstractNode
type)
489
void writeConstructor(string accessibility, string @class, IEnumerable<Property> properties, IEnumerable<Property>? baseProperties,
AbstractNode
type, bool hasType, bool hasConstantValue, bool multipleValidKinds)
648
string getKind(
AbstractNode
node)
652
node = (
AbstractNode
?)_typeMap[node.Base] ??
702
void writeEnumeratorMethods(
AbstractNode
type, List<Property> publicIOperationProps, Node node)
924
private static bool HasMultipleValidKinds(
AbstractNode
type)
1074
private List<Property> GetAllProperties(
AbstractNode
node, bool includeSkipGenerationProperties = false)
1078
AbstractNode
? @base = node;
1091
private List<Property> GetAllGeneratedIOperationProperties(
AbstractNode
node)
IOperationClassWriter.Verifier.cs (2)
16
foreach (
var
abstractNode in tree.Types.OfType<
AbstractNode
>())
Model.cs (1)
24
[XmlElement(ElementName = "AbstractNode", Type = typeof(
AbstractNode
))]