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