3 types derived from TreeType
CSharpSyntaxGenerator (3)
Model\AbstractNode.cs (1)
12public class AbstractNode : TreeType
Model\Node.cs (1)
12public class Node : TreeType
Model\PredefinedNode.cs (1)
7public class PredefinedNode : TreeType
24 references to TreeType
CSharpSyntaxGenerator (24)
AbstractFileWriter.cs (4)
23private readonly IDictionary<string, TreeType> _typeMap; 243protected TreeType GetTreeType(string typeName) 244=> _typeMap.TryGetValue(typeName, out var node) ? node : null; 375protected List<Kind> GetKindsOfFieldOrNearestParent(TreeType nd, Field field)
Model\Tree.cs (1)
21public List<TreeType> Types;
SignatureWriter.cs (2)
54var node = nodes[i]; 60private void WriteType(TreeType node)
SourceWriter.cs (13)
77foreach (var node in nodes) 84private void WriteGreenType(TreeType node) 502private void WriteGreenFactories(List<TreeType> nodes, bool withSyntaxFactoryContext = false) 684foreach (var node in nodes) 691private List<Field> GetNodeOrNodeListFields(TreeType node) 698private void WriteRedType(TreeType node) 762var baseType = GetTreeType(node.Base); 1157private (TreeType type, Field field) GetHighestBaseTypeWithField(TreeType node, string name) 1159TreeType bestType = null; 1161for (var current = node; current != null; current = TryGetBaseType(current)) 1175private TreeType TryGetBaseType(TreeType node)
TestWriter.cs (3)
84foreach (var node in nodes) 216foreach (var node in nodes) 324foreach (var node in nodes)
TreeFlattening.cs (1)
14foreach (var type in tree.Types)