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; }
internal void Render(LuaParameterListSyntax node) { WriteArgumentList(node.OpenParenToken, node.Parameters, node.CloseParenToken); }