This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using JetBrains.Annotations; | |
using JetBrains.Application.Progress; | |
using JetBrains.Application.Settings; | |
using JetBrains.DocumentModel; | |
using JetBrains.ReSharper.Daemon; | |
using JetBrains.ReSharper.Psi; | |
using JetBrains.ReSharper.Psi.CSharp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct list_item | |
{ | |
list_item *next; | |
list_item *rand; | |
}; | |
void deep_copy(list_item* src, list_item* &dst) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct list_item | |
{ | |
list_item *next; | |
list_item *rand; | |
}; | |
void deep_copy(list_item* src, list_item* &dst) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.CodeDom.Compiler; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Text; | |
using ActiveMesa.R2P.ContextActions; | |
using ActiveMesa.R2P.Infrastructure; | |
using JetBrains.Application; | |
using JetBrains.Application.Progress; | |
using JetBrains.ProjectModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using JetBrains.ActionManagement; | |
using JetBrains.Annotations; | |
using JetBrains.Application.DataContext; | |
using JetBrains.ProjectModel; | |
using JetBrains.ReSharper.Feature.Services.CSharp.Generate; | |
using JetBrains.ReSharper.Feature.Services.Generate; | |
using JetBrains.ReSharper.Feature.Services.Generate.Actions; | |
using JetBrains.ReSharper.Psi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a*x*x + b*x + c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using JetBrains.ReSharper.Psi.CSharp.Tree; | |
namespace ActiveMesa.R2P.Maths.Factor | |
{ | |
using System; | |
using JetBrains.Application.Progress; | |
using JetBrains.ProjectModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x*(a*x + b) + c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApplication1 | |
{ | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; | |
using Annotations; | |
public class CheckBoxElement : INotifyPropertyChanged, IEquatable<CheckBoxElement> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static class ReadOnlyIntefaceBuilderWorkflow | |
{ | |
public static WorkflowResult Start([CanBeNull] CSharpGeneratorContext context, CSharpElementFactory factory) | |
{ | |
if (context.ClassDeclaration == null) return WorkflowResult.Inapplicable; | |
return CreateNewInterfaceDeclaration(context, factory); | |
} | |
private static WorkflowResult CreateNewInterfaceDeclaration(CSharpGeneratorContext context, CSharpElementFactory factory) | |
{ |
OlderNewer