60 references to StructureTypeName
VisualBasicSyntaxGenerator (60)
GreenNodes\GreenNodeFactoryWriter.vb (5)
227
_writer.Write("leadingTrivia As GreenNode, trailingTrivia As GreenNode",
StructureTypeName
(_parseTree.RootStructure))
231
_writer.WriteLine(") As {0}",
StructureTypeName
(nodeStructure))
270
_writer.Write(" Return New {0}(",
StructureTypeName
(nodeStructure))
293
_writer.WriteLine(" Return DirectCast(cached, {0})",
StructureTypeName
(nodeStructure))
299
_writer.Write(" Dim result = New {0}(",
StructureTypeName
(nodeStructure))
GreenNodes\GreenNodeWriter.vb (22)
95
_writer.WriteLine("{0} MustInherit Class {1}", visibility,
StructureTypeName
(nodeStructure))
97
_writer.WriteLine("{0} NotInheritable Class {1}", visibility,
StructureTypeName
(nodeStructure))
99
_writer.WriteLine("{0} Class {1}", visibility,
StructureTypeName
(nodeStructure))
104
_writer.WriteLine(" Inherits {0}",
StructureTypeName
(nodeStructure.ParentStructure))
173
_writer.WriteLine(" Return new {0}.Syntax.{1}(Me, parent, startLocation)", _parseTree.NamespaceName,
StructureTypeName
(nodeStructure))
187
_writer.Write(" Return new {0}",
StructureTypeName
(nodeStructure))
202
_writer.Write(" Return new {0}",
StructureTypeName
(nodeStructure))
217
_writer.Write(" Return new {0}",
StructureTypeName
(nodeStructure))
223
_writer.Write(" Return new {0}",
StructureTypeName
(nodeStructure))
326
_writer.Write(", leadingTrivia As GreenNode, trailingTrivia As GreenNode",
StructureTypeName
(_parseTree.RootStructure))
418
If
StructureTypeName
(nodeStructure) = "DirectiveTriviaSyntax" Then
422
If
StructureTypeName
(nodeStructure) = "AttributeSyntax" Then
541
_writer.WriteLine(" Friend {2}Function {0}({3} as {4}) As {1}", ChildWithFunctionName(withChild),
StructureTypeName
(withChild.ContainingStructure), GetModifiers(withChild.ContainingStructure, isOverride, withChild.Name), Ident(UpperFirstCharacter(withChild.Name)), ChildConstructorTypeRef(withChild))
542
_writer.WriteLine(" Ensures(Result(Of {0}) IsNot Nothing)",
StructureTypeName
(withChild.ContainingStructure))
543
_writer.Write(" return New {0}(",
StructureTypeName
(nodeStructure))
567
_writer.WriteLine(" Friend {2} Function {0}({3} as {4}) As {1}", ChildWithFunctionName(withChild),
StructureTypeName
(withChild.ContainingStructure), "MustOverride", Ident(UpperFirstCharacter(withChild.Name)), ChildConstructorTypeRef(withChild))
596
_writer.WriteLine(" Public Overridable Function Visit(ByVal node As {0}) As VisualBasicSyntaxNode",
StructureTypeName
(_parseTree.RootStructure))
620
Dim structureName =
StructureTypeName
(nodeStructure)
639
_writer.WriteLine(" Inherits {0}", Ident(_parseTree.VisitorName),
StructureTypeName
(_parseTree.RootStructure))
662
Dim structureName =
StructureTypeName
(nodeStructure)
667
StructureTypeName
(_parseTree.RootStructure))
698
_writer.Write(" Return New {0}(node.Kind",
StructureTypeName
(nodeStructure))
RedNodes\RedNodeFactoryWriter.vb (5)
227
_writer.Write(" Return New SyntaxToken(Nothing, New InternalSyntax.{0}(",
StructureTypeName
(nodeStructure))
229
_writer.Write(" Return New SyntaxTrivia(Nothing, New InternalSyntax.{0}(",
StructureTypeName
(nodeStructure))
231
_writer.Write(" Return New {0}(",
StructureTypeName
(nodeStructure))
427
_writer.WriteLine(") As {0}",
StructureTypeName
(nodeStructure))
736
_writer.WriteLine(") As {0}",
StructureTypeName
(nodeStructure))
RedNodes\RedNodeWriter.vb (18)
135
_writer.WriteLine("Public MustInherit Class {0}",
StructureTypeName
(nodeStructure))
137
_writer.WriteLine("Public NotInheritable Class {0}",
StructureTypeName
(nodeStructure))
144
_writer.WriteLine(" Inherits {0}",
StructureTypeName
(nodeStructure.ParentStructure))
163
GenerateNodeFieldProperty(allFields(i),
StructureTypeName
(nodeStructure), allFields(i).ContainingStructure IsNot nodeStructure)
337
If Not _parseTree.IsAbstract(nodeStructure) AndAlso
StructureTypeName
(nodeStructure) <> "IdentifierSyntax" Then
350
_writer.Write(", precedingTrivia As SyntaxTriviaList, followingTrivia As SyntaxTriviaList",
StructureTypeName
(_parseTree.RootTrivia))
366
_writer.Write(" Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.{0}(",
StructureTypeName
(nodeStructure))
526
_writer.WriteLine($" {extraIndent}Dim slot = DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.{{0}}).{{1}}",
StructureTypeName
(nodeStructure), ChildVarName(child))
533
_writer.WriteLine($" {extraIndent}Dim slot = DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.{{0}}).{{1}}",
StructureTypeName
(nodeStructure), ChildVarName(child))
539
_writer.WriteLine($" {extraIndent}return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.{{0}}).{{1}}, {{2}}, {{3}})",
StructureTypeName
(nodeStructure), ChildVarName(child), Me.GetChildPosition(childIndex), Me.GetChildIndex(childIndex))
601
_writer.WriteLine($" Public Function {ChildWithFunctionName(withChild)}({ChildParamName(withChild)} As {ChildPropertyTypeRef(nodeStructure, withChild)}) As {
StructureTypeName
(nodeStructure)}")
605
_writer.WriteLine($" Friend MustOverride Function {ChildWithFunctionName(withChild)}Core({ChildParamName(withChild)} As {ChildPropertyTypeRef(nodeStructure, withChild)}) As {
StructureTypeName
(nodeStructure)}")
611
_writer.WriteLine($" Friend Overrides Function {ChildWithFunctionName(withChild)}Core({ChildParamName(withChild)} As {ChildPropertyTypeRef(nodeStructure, withChild)}) As {
StructureTypeName
(nodeStructure.ParentStructure)}")
619
_writer.WriteLine(" Public Shadows Function {0}({1} as {2}) As {3}", ChildWithFunctionName(withChild), ChildParamName(withChild), ChildPropertyTypeRef(nodeStructure, withChild),
StructureTypeName
(nodeStructure))
702
Dim structureName =
StructureTypeName
(nodeStructure)
926
StructureTypeName
(nodeStructure),
960
Dim structureName =
StructureTypeName
(nodeStructure)
1000
_writer.Write(" Return New {0}(node.Kind",
StructureTypeName
(nodeStructure))
Tests\TestWriter.vb (1)
141
_writer.WriteLine("() As {0}",
StructureTypeName
(nodeStructure))
Util\WriteCsvNames.vb (4)
72
WriteCsvLine("class",
StructureTypeName
(nodeStructure), "")
92
WriteCsvLine(NameOf(kind),
StructureTypeName
(kind.NodeStructure), Ident(kind.Name))
96
WriteCsvLine(NameOf(field),
StructureTypeName
(field.ContainingStructure), FieldPropertyName(field))
100
WriteCsvLine(NameOf(child),
StructureTypeName
(child.ContainingStructure), ChildPropertyName(child))
Util\WriteDumper.vb (2)
92
StructureTypeName
(nodeStructure))
96
_writer.WriteLine(" ""{0}"",",
StructureTypeName
(nodeStructure))
Util\WriteUtils.vb (3)
322
Return String.Format("Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode)",
StructureTypeName
(_parseTree.RootStructure))
378
Return
StructureTypeName
(CType(kind, ParseNodeKind).NodeStructure)
384
Return
StructureTypeName
(commonStructure)