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