コード例 #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;
 }
コード例 #2
0
 /// <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;
 }
コード例 #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>();
 }
コード例 #4
0
ファイル: PProgram.cs プロジェクト: ashwini-mnnit/PSharp
 /// <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>();
 }
コード例 #5
0
ファイル: CSharpProgram.cs プロジェクト: yonglehou/PSharp
 /// <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>();
 }
コード例 #6
0
ファイル: PSharpProgram.cs プロジェクト: huangpf/PSharp
 /// <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>();
 }
コード例 #7
0
ファイル: PProgram.cs プロジェクト: jerickmsft/PSharp
 /// <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>();
 }
コード例 #8
0
ファイル: CSharpProgram.cs プロジェクト: mattmccutchen/PSharp
 /// <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>();
 }