Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractPSharpProgram"/> class.
 /// </summary>
 internal AbstractPSharpProgram(PSharpProject project, SyntaxTree tree)
 {
     this.Project    = project;
     this.SyntaxTree = tree;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="tree">SyntaxTree</param>
 internal AbstractPSharpProgram(PSharpProject project, SyntaxTree tree)
 {
     this.Project = project;
     this.SyntaxTree = tree;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PSharpProgram"/> class.
 /// </summary>
 public PSharpProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.UsingDeclarations     = new List <UsingDeclaration>();
     this.NamespaceDeclarations = new List <NamespaceDeclaration>();
 }
Example #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="filePath">SyntaxTree</param>
 public PProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.EventDeclarations   = new List <EventDeclaration>();
     this.MachineDeclarations = new List <MachineDeclaration>();
 }
Example #5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="tree">SyntaxTree</param>
 public CSharpProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.EventIdentifiers = new List<ClassDeclarationSyntax>();
     this.MachineIdentifiers = new List<ClassDeclarationSyntax>();
 }
Example #6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="tree">SyntaxTree</param>
 public PSharpProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.UsingDeclarations = new List<UsingDeclaration>();
     this.NamespaceDeclarations = new List<NamespaceDeclaration>();
 }
Example #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="filePath">SyntaxTree</param>
 public PProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.EventDeclarations = new List<EventDeclaration>();
     this.MachineDeclarations = new List<MachineDeclaration>();
 }
Example #8
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="project">PSharpProject</param>
 /// <param name="tree">SyntaxTree</param>
 public CSharpProgram(PSharpProject project, SyntaxTree tree)
     : base(project, tree)
 {
     this.EventIdentifiers   = new List <ClassDeclarationSyntax>();
     this.MachineIdentifiers = new List <ClassDeclarationSyntax>();
 }