74 references to ParseNodeChild
VisualBasicSyntaxGenerator (74)
Grammar\GrammarGenerator.vb (6)
181
Private Function HandleChildren(structureNode As ParseNodeStructure, children As IEnumerable(Of
ParseNodeChild
), Optional delim As String = " ") As Production
186
Private Function HandleField(structureNode As ParseNodeStructure, child As
ParseNodeChild
) As Production
196
Private Function HandleSeparatedList(structureNode As ParseNodeStructure, child As
ParseNodeChild
) As Production
205
Private Function HandleList(structureNode As ParseNodeStructure, child As
ParseNodeChild
) As Production
210
child As
ParseNodeChild
,
247
child As
ParseNodeChild
) As (nodeKind As ParseNodeKind, nodeKinds As List(Of ParseNodeKind))
GreenNodes\GreenNodeFactoryWriter.vb (2)
115
Private Sub CheckStructureParam(parent As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
, factoryFunctionName As String)
374
Private Sub GenerateNodeStructureChildParameter(node As ParseNodeStructure, child As
ParseNodeChild
, Optional conflictName As String = Nothing)
GreenNodes\GreenNodeWriter.vb (3)
468
Private Sub GenerateNodeStructureChildParameter(child As
ParseNodeChild
, Optional conflictName As String = Nothing, Optional isGreen As Boolean = False)
505
Private Sub GenerateNodeChildProperty(node As ParseNodeStructure, child As
ParseNodeChild
, childIndex As Integer)
532
Private Sub GenerateNodeWithChildProperty(withChild As
ParseNodeChild
, childIndex As Integer, nodeStructure As ParseNodeStructure)
RedNodes\RedNodeFactoryWriter.vb (15)
135
Private Sub GenerateChildTokenKindsForNodeKinds(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
)
335
Private Function GenerateFullFactoryMethodFunctionLine(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind, factoryFunctionName As String, allFields As List(Of ParseNodeField), allChildren As List(Of
ParseNodeChild
), allFactoryChildren As IEnumerable(Of
ParseNodeChild
), isPunctuation As Boolean, includeTriviaForTokens As Boolean) As Boolean
445
Private Sub CheckChildNode(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
, paramName As String, factoryFunctionName As String)
510
Private Sub CheckChildToken(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
, paramName As String, factoryFunctionName As String)
600
Private Function GetAllFactoryChildrenWithoutAutoCreatableTokens(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind) As List(Of
ParseNodeChild
)
604
Private Function GetDefaultedFactoryParameterExpression(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
) As String
629
Private Function IsRequiredFactoryChild(node As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
) As Boolean
633
Private Function GetAllRequiredFactoryChildren(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind) As List(Of
ParseNodeChild
)
637
Private Sub GenerateSecondaryFactoryMethod(nodeStructure As ParseNodeStructure, nodeKind As ParseNodeKind, allFullFactoryChildren As List(Of
ParseNodeChild
), allFields As List(Of ParseNodeField), allFactoryChildren As List(Of
ParseNodeChild
), getDefaultedParameter As Func(Of ParseNodeStructure, ParseNodeKind,
ParseNodeChild
, String), Optional substituteString As Boolean = False, Optional substituteParamArray As Boolean = False)
639
Dim allFactoryChildrenSet = New HashSet(Of
ParseNodeChild
)(allFactoryChildren)
802
Private Function CanBeIdentifierToken(child As
ParseNodeChild
) As Boolean
812
Private Sub GenerateNodeStructureChildParameter(node As ParseNodeStructure, child As
ParseNodeChild
, Optional conflictName As String = Nothing, Optional makeOptional As Boolean = False, Optional substituteString As Boolean = False, Optional substituteParamArray As Boolean = False)
RedNodes\RedNodeWriter.vb (14)
207
Private Sub GenerateChildListAccessor(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
)
237
Private Function HasNestedList(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
) As Boolean
244
Private Function GetNestedList(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
) As
ParseNodeChild
248
Dim listChild As
ParseNodeChild
= Nothing
264
Private Sub GeneratedNestedChildListAccessor(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
)
433
Private Sub GenerateNodeStructureChildParameter(child As
ParseNodeChild
, Optional conflictName As String = Nothing)
438
Private Sub GenerateFactoryChildParameter(node As ParseNodeStructure, child As
ParseNodeChild
, Optional conflictName As String = Nothing)
478
Private Sub GenerateNodeChildProperty(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
, childIndex As Integer, isOverride As Boolean)
523
Private Sub GenerateNodeChildPropertyRedAccessLogic(nodeStructure As ParseNodeStructure, child As
ParseNodeChild
, childIndex As Integer, isOverride As Boolean, extraIndent As String)
587
Private Sub GenerateNodeWithChildProperty(withChild As
ParseNodeChild
, childIndex As Integer, nodeStructure As ParseNodeStructure)
659
Private Sub GenerateNodeSeparatedListChildProperty(node As ParseNodeStructure, child As
ParseNodeChild
, childIndex As Integer, isOverride As Boolean)
797
Private Sub GenerateGetNodeSlot(nodeStructure As ParseNodeStructure, allChildren As List(Of
ParseNodeChild
))
859
Private Sub GenerateGetCachedSlot(nodeStructure As ParseNodeStructure, allChildren As List(Of
ParseNodeChild
))
Util\WriteCsvNames.vb (1)
99
Private Sub WriteChild(child As
ParseNodeChild
)
Util\WriteDumper.vb (1)
134
Private Sub GenerateChildInfo(child As
ParseNodeChild
, last As Boolean)
Util\WriteUtils.vb (30)
79
Protected Function ChildVarName(nodeChild As
ParseNodeChild
) As String
85
Protected Function ChildCacheVarName(nodeChild As
ParseNodeChild
) As String
91
Protected Function ChildNewVarName(nodeChild As
ParseNodeChild
) As String
116
Protected Function ChildParamName(nodeChild As
ParseNodeChild
, Optional conflictName As String = Nothing) As String
142
Protected Function ChildWithFunctionName(nodeChild As
ParseNodeChild
) As String
147
Protected Function ChildPropertyName(nodeChild As
ParseNodeChild
) As String
151
Protected Function UnescapedChildPropertyName(nodeChild As
ParseNodeChild
) As String
156
Protected Function ChildSeparatorsPropertyName(nodeChild As
ParseNodeChild
) As String
161
Protected Function OptionalChildName(nodeChild As
ParseNodeChild
) As String
175
Protected Function ChildSeparatorsName(nodeChild As
ParseNodeChild
) As String
200
Protected Function ChildPropertyTypeRef(nodeStructure As ParseNodeStructure, nodeChild As
ParseNodeChild
, Optional isGreen As Boolean = False, Optional denyOverride As Boolean = False) As String
269
Protected Function ChildFieldTypeRef(nodeChild As
ParseNodeChild
, Optional isGreen As Boolean = False) As String
281
Protected Function ChildPrivateFieldTypeRef(nodeChild As
ParseNodeChild
) As String
290
Protected Function ChildSeparatorsTypeRef(nodeChild As
ParseNodeChild
) As String
295
Protected Function ChildConstructorTypeRef(nodeChild As
ParseNodeChild
, Optional isGreen As Boolean = False) As String
312
Protected Function ChildFactoryTypeRef(nodeStructure As ParseNodeStructure, nodeChild As
ParseNodeChild
, Optional isGreen As Boolean = False, Optional internalForm As Boolean = False) As String
356
Protected Function IsListStructureType(nodeField As
ParseNodeChild
) As Boolean
361
Protected Function IsNodeStructureType(nodeField As
ParseNodeChild
) As Boolean
366
Protected Function BaseTypeReference(nodeChild As
ParseNodeChild
) As String
371
Protected Function SeparatorsBaseTypeReference(nodeChild As
ParseNodeChild
) As String
502
Protected Function GetAllChildrenOfStructure(struct As ParseNodeStructure) As List(Of
ParseNodeChild
)
503
Dim fullList As New List(Of Tuple(Of
ParseNodeChild
, Integer))
511
fullList.Add(New Tuple(Of
ParseNodeChild
, Integer)(struct.Children(i), i - baseLevel * 100))
524
Protected Function GetAllFactoryChildrenOfStructure(struct As ParseNodeStructure) As IEnumerable(Of
ParseNodeChild
)
677
Protected Sub GenerateXmlComment(writer As TextWriter, child As
ParseNodeChild
, indent As Integer)
691
Protected Sub GenerateWithXmlComment(writer As TextWriter, child As
ParseNodeChild
, indent As Integer)
903
Public Function GetChildNodeKind(nodeKind As ParseNodeKind, child As
ParseNodeChild
) As ParseNodeKind
918
Public Function IsAutoCreatableToken(node As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
) As Boolean
931
Public Function IsAutoCreatableNodeOfAutoCreatableTokens(node As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
) As Boolean
952
Public Function IsAutoCreatableChild(node As ParseNodeStructure, nodeKind As ParseNodeKind, child As
ParseNodeChild
) As Boolean
XML\ParseTreeDescription.vb (2)
294
Public Children As List(Of
ParseNodeChild
)
624
Public Function WithChildKind(childKind As Object) As
ParseNodeChild