1 write to Name
VisualBasicSyntaxGenerator (1)
XML\ParseTreeDescription.vb (1)
399
Name
= el.@name
42 references to Name
VisualBasicSyntaxGenerator (42)
Grammar\GrammarGenerator.vb (4)
298
If nodeKind.
Name
= "EmptyToken" Then
300
ElseIf nodeKind.
Name
= "EndOfFileToken" Then
304
If _rules.ContainsKey(nodeKind.
Name
) Then
305
Return RuleReference(nodeKind.
Name
)
GreenNodes\GreenNodeFactoryWriter.vb (4)
122
_writer.WriteLine(" AndAlso {0}.Kind = SyntaxKind.{1})", name, childNodeKind.
Name
)
126
childNodeKind = child.ChildKind(nodeKind.
Name
)
128
_writer.WriteLine(" AndAlso {0}.Kind = SyntaxKind.{1})", name, childNodeKind.
Name
)
331
_writer.Write("{0}.{1}", NodeKindType(), Ident(nodeKind.
Name
))
RedNodes\RedNodeFactoryWriter.vb (15)
145
_writer.WriteLine(" Return SyntaxKind.{0}", childNodeKind.
Name
)
186
Dim isPunctuation = nodeStructure.Name = "PunctuationSyntax" AndAlso Not (nodeKind IsNot Nothing AndAlso nodeKind.
Name
= "StatementTerminatorToken")
237
_writer.Write("{0}.{1}", NodeKindType(), Ident(nodeKind.
Name
))
246
If nodeKind IsNot Nothing AndAlso nodeKind.
Name
= "StatementTerminatorToken" Then
455
child.KindForNodeKind.TryGetValue(nodeKind.
Name
, childNodeKind)
461
_writer.Write(" Case SyntaxKind.{0}", childNodeKind.
Name
)
492
_writer.Write(" Case SyntaxKind.{0}", childNodeKind.
Name
)
497
_writer.Write(" SyntaxKind.{0}", childNodeKind.
Name
)
515
child.KindForNodeKind.TryGetValue(nodeKind.
Name
, childNodeKind)
521
_writer.Write(" Case SyntaxKind.{0}", childNodeKind.
Name
)
559
_writer.Write(" Case SyntaxKind.{0}", childNodeKind.
Name
)
611
Dim result = String.Format("SyntaxFactory.Token(SyntaxKind.{0})", childNodeKind.
Name
)
655
Dim isPunctuation = nodeStructure.Name = "PunctuationSyntax" AndAlso Not (nodeKind IsNot Nothing AndAlso nodeKind.
Name
= "StatementTerminatorToken")
752
_writer.Write("SyntaxKind." + nodeKind.
Name
)
805
Return childKind.
Name
= "IdentifierToken"
Tests\TestWriter.vb (13)
112
If nodeKind.
Name
= "AttributeTarget" AndAlso Not isGreen Then
116
If nodeKind.
Name
.Contains(s_externalSourceDirectiveString) Then
157
callTokens.Add(namespacePrefix + "SyntaxFactory." + nodeKind.
Name
+ "(")
178
If nodeKind.
Name
.EndsWith("LiteralToken", StringComparison.Ordinal) OrElse
179
nodeKind.
Name
.EndsWith("XmlNameToken", StringComparison.Ordinal) OrElse
180
nodeKind.
Name
.EndsWith("DocumentationCommentLineBreakToken", StringComparison.Ordinal) OrElse
181
nodeKind.
Name
= "InterpolatedStringTextToken" _
320
childNodeKind = child.ChildKind(nodeKind.
Name
)
337
callTokens.Add("SyntaxKind." + childNodeKind.
Name
+ ", String.Empty, Nothing, Nothing)")
339
Dim token = "SyntaxFactory.Token(SyntaxKind." + childNodeKind.
Name
+ ")"
477
If nodeKind.
Name
.Contains(s_externalSourceDirectiveString) Then
529
If nodeKind.
Name
.Contains(s_externalSourceDirectiveString) Then
566
If nodeKind.
Name
.Contains(s_externalSourceDirectiveString) Then
Util\WriteCsvNames.vb (1)
92
WriteCsvLine(NameOf(kind), StructureTypeName(kind.NodeStructure), Ident(kind.
Name
))
Util\WriteUtils.vb (3)
48
Return nodeKind.
Name
908
childNodeKind = child.ChildKind(nodeKind.
Name
)
923
If childNodeStructure.IsToken AndAlso childNodeKind.
Name
<> "IdentifierToken" Then
XML\ParseTreeDescription.vb (2)
385
ParseTree.ReportError(Element, "Unknown structure '{0}' for node-kind '{1}'", StructureId,
Name
)
579
KindForNodeKind.Add(node.
Name
, child)