public override LuaSyntaxNode VisitTypeParameterList(TypeParameterListSyntax node) {
   LuaParameterListSyntax parameterList = new LuaParameterListSyntax();
   foreach (var typeParameter in node.Parameters) {
     var typeIdentifier = (LuaIdentifierNameSyntax)typeParameter.Accept(this);
     parameterList.Parameters.Add(new LuaParameterSyntax(typeIdentifier));
   }
   return parameterList;
 }
Exemple #2
0
 internal void Render(LuaParameterListSyntax node)
 {
     WriteArgumentList(node.OpenParenToken, node.Parameters, node.CloseParenToken);
 }