27 references to ParentStructure
VisualBasicSyntaxGenerator (27)
Grammar\GrammarGenerator.vb (2)
280While Not current.ParentStructure.IsRoot 281current = current.ParentStructure
GreenNodes\GreenNodeWriter.vb (5)
104_writer.WriteLine(" Inherits {0}", StructureTypeName(nodeStructure.ParentStructure)) 304If nodeStructure.ParentStructure Is Nothing Then 362Dim baseClass = nodeStructure.ParentStructure 576If nodeStructure.ParentStructure IsNot Nothing AndAlso (_parseTree.IsAbstract(nodeStructure) OrElse nodeStructure.IsToken OrElse nodeStructure.IsTrivia) Then 629_writer.WriteLine(" Return {0}(node)", VisitorMethodName(nodeStructure.ParentStructure))
RedNodes\RedNodeWriter.vb (10)
144_writer.WriteLine(" Inherits {0}", StructureTypeName(nodeStructure.ParentStructure)) 155Dim parentStructure = nodeStructure.ParentStructure 227nodeStructure.ParentStructure.Children.Contains(child) Then 229_writer.WriteLine(" Friend Overrides Function Add{0}Core(ParamArray items As {1}()) As {2}", child.Name, itemType, nodeStructure.ParentStructure.Name) 292nodeStructure.ParentStructure.Children.Contains(child) Then 294_writer.WriteLine(" Friend Overrides Function Add{0}{1}Core(ParamArray items As {2}()) As {3}", child.Name, nestedList.Name, itemType, nodeStructure.ParentStructure.Name) 609nodeStructure.ParentStructure.Children.Contains(withChild) Then 611_writer.WriteLine($" Friend Overrides Function {ChildWithFunctionName(withChild)}Core({ChildParamName(withChild)} As {ChildPropertyTypeRef(nodeStructure, withChild)}) As {StructureTypeName(nodeStructure.ParentStructure)}") 720If nodeStructure.ParentStructure IsNot Nothing AndAlso Not nodeStructure.ParentStructure.Abstract Then
Util\WriteUtils.vb (3)
475candidate = candidate.ParentStructure 494struct = struct.ParentStructure 513struct = struct.ParentStructure
XML\ParseTreeDescription.vb (5)
77Return struct.Children.Count > 0 OrElse (struct.ParentStructure IsNot Nothing AndAlso HasAnyChildren(struct.ParentStructure)) 134parent = parent.ParentStructure 223child = child.ParentStructure 355nodeStructure = nodeStructure.ParentStructure
XML\TreeValidator.vb (2)
60If nodeStructure.ParentStructure IsNot Nothing Then 61referencedStructures.Add(nodeStructure.ParentStructure)