1 write to Name
VisualBasicSyntaxGenerator (1)
XML\ParseTreeDescription.vb (1)
318Name = el.@name
59 references to Name
VisualBasicSyntaxGenerator (59)
Grammar\GrammarGenerator.vb (2)
236Return RuleReference(common.Name) 312Return RuleReference(nodeKind.NodeStructure.Name)
GreenNodes\GreenNodeFactoryWriter.vb (7)
76If nodeStructure.Name = "PunctuationSyntax" OrElse nodeStructure.Name = "KeywordSyntax" Then 178GenerateParameterXmlComment(_writer, "kind", String.Format("A <see cref=""SyntaxKind""/> representing the specific kind of {0}. One of {1}.", nodeStructure.Name, kindsList)) 264nodeStructure.Name = "SkippedTokensTriviaSyntax" OrElse 265nodeStructure.Name = "DocumentationCommentTriviaSyntax" OrElse 266nodeStructure.Name.EndsWith("DirectiveTriviaSyntax", StringComparison.Ordinal) OrElse 267nodeStructure.Name = "AttributeSyntax" OrElse
GreenNodes\GreenNodeWriter.vb (6)
133If Not children(0).IsList AndAlso Not KindTypeStructure(children(0).ChildKind).Name = "ExpressionSyntax" Then 134_nonterminalsWithOneChild.Add(nodeStructure.Name) 137If Not children(0).IsList AndAlso Not KindTypeStructure(children(0).ChildKind).Name = "ExpressionSyntax" AndAlso Not children(1).IsList AndAlso Not KindTypeStructure(children(1).ChildKind).Name = "ExpressionSyntax" Then 138_nonterminalsWithTwoChildren.Add(nodeStructure.Name) 300If nodeStructure.IsTokenRoot OrElse nodeStructure.IsTriviaRoot OrElse nodeStructure.Name = "StructuredTriviaSyntax" Then
RedNodes\RedNodeFactoryWriter.vb (6)
70If nodeStructure.Name = "PunctuationSyntax" OrElse nodeStructure.Name = "KeywordSyntax" Then 186Dim isPunctuation = nodeStructure.Name = "PunctuationSyntax" AndAlso Not (nodeKind IsNot Nothing AndAlso nodeKind.Name = "StatementTerminatorToken") 345GenerateParameterXmlComment(_writer, "kind", String.Format("A <see cref=""SyntaxKind""/> representing the specific kind of {0}. One of {1}.", nodeStructure.Name, kindsList)) 655Dim isPunctuation = nodeStructure.Name = "PunctuationSyntax" AndAlso Not (nodeKind IsNot Nothing AndAlso nodeKind.Name = "StatementTerminatorToken") 671GenerateParameterXmlComment(_writer, "kind", String.Format("A <see cref=""SyntaxKind""/> representing the specific kind of {0}. One of {1}.", nodeStructure.Name, kindsList))
RedNodes\RedNodeWriter.vb (13)
209Dim itemType = If(kindType.IsToken, "SyntaxToken", kindType.Name) 214_writer.WriteLine(" Public Shadows Function Add{0}(ParamArray items As {1}()) As {2}", child.Name, itemType, nodeStructure.Name) 217_writer.WriteLine(" Friend MustOverride Function Add{0}Core(ParamArray items As {1}()) As {2}", child.Name, itemType, nodeStructure.Name) 221_writer.WriteLine(" Public Shadows Function Add{0}(ParamArray items As {1}()) As {2}", child.Name, itemType, nodeStructure.Name) 229_writer.WriteLine(" Friend Overrides Function Add{0}Core(ParamArray items As {1}()) As {2}", child.Name, itemType, nodeStructure.ParentStructure.Name) 272Dim itemType = If(nestedListStructure.IsToken, "SyntaxToken", nestedListStructure.Name) 277_writer.WriteLine(" Public Shadows Function Add{0}{1}(ParamArray items As {2}()) As {3}", child.Name, nestedList.Name, itemType, nodeStructure.Name) 280_writer.WriteLine(" Friend MustOverride Function Add{0}{1}Core(ParamArray items As {2}()) As {3}", child.Name, nestedList.Name, itemType, nodeStructure.Name) 285_writer.WriteLine(" Public Shadows Function Add{0}{1}(ParamArray items As {2}()) As {3}", child.Name, nestedList.Name, itemType, nodeStructure.Name) 294_writer.WriteLine(" Friend Overrides Function Add{0}{1}Core(ParamArray items As {2}()) As {3}", child.Name, nestedList.Name, itemType, nodeStructure.ParentStructure.Name) 326nodeStructure.Name <> "StructuredTriviaSyntax" Then 709GenerateSummaryXmlComment(_writer, String.Format("Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.", nodeStructure.Name)) 712GenerateParameterXmlComment(_writer, "kind", String.Format("The new kind.", nodeStructure.Name))
Tests\TestWriter.vb (7)
133_writer.WriteLine("() As " + namespacePrefix + nodeStructure.Name) 155callTokens.Add(namespacePrefix + "SyntaxFactory." + nodeStructure.Name + "(") 240If nodeStructure.IsTerminal AndAlso Not nodeStructure.IsTrivia AndAlso nodeStructure.Name = "KeywordSyntax" Then 300If nodeStructure.Name = "MemberAccessExpressionSyntax" Then 383If isGreen OrElse nodeStructure.Name = "CaseBlockSyntax" OrElse nodeStructure.Name = "IfPartSyntax" OrElse nodeStructure.Name = "MultiLineIfBlockSyntax" Then
Util\WriteUtils.vb (7)
38Return Ident(nodeStructure.Name) 56If nodeStructure.Name.EndsWith("Syntax", StringComparison.Ordinal) Then 57Return nodeStructure.Name.Substring(0, nodeStructure.Name.Length - 6) 59Return nodeStructure.Name 251Return childKindStructure.Name 451Dim nodeName = nodeStructure.Name
XML\ParseTreeDescription.vb (4)
266ParseTree.ReportError(Element, "Unknown parent structure '{0}' for node-structure '{1}'", ParentStructureId, Name) 352If String.Compare(nodeStructure.Name, baseClassName, True) = 0 Then 361Return Name 402StructureId = struct.Name
XML\TreeValidator.vb (7)
31tree.ReportError(nodeStructure.Element, "ERROR: structure '{0}' has children, but derives from Token", nodeStructure.Name) 34tree.ReportError(nodeStructure.Element, "ERROR: structure '{0}' has no children, but doesn't derive from Token or Trivia", nodeStructure.Name) 43tree.ReportError(nodeStructure.Element, "ERROR: parse structure '{0}' has no node-kinds, but is not marked abstract=""true""", nodeStructure.Name) 45tree.ReportError(nodeStructure.Element, "ERROR: parse structure '{0}' is marked abstract=""true"", but has a node-kind", nodeStructure.Name) 84If nodeStructure.NodeKinds(0).Name <> nodeStructure.Name AndAlso nodeStructure.NodeKinds(0).Name + "Syntax" <> nodeStructure.Name Then 85tree.ReportError(nodeStructure.Element, "WARNING: node structure '{0}' has a single kind '{1}' with non-matching name", nodeStructure.Name, nodeStructure.NodeKinds(0).Name)