Class describing scoped elements.
Inheritance: NestedElementTranslationUnit
 /// <summary>
 /// Copy initializes a new instance of the <see cref="ScopedElementTranslationUnit"/>.
 /// </summary>
 /// <param name="other"></param>
 /// <remarks>
 /// For testability.
 /// </remarks>
 protected ScopedElementTranslationUnit(ScopedElementTranslationUnit other)
     : base(other)
 {
     this.Visibility = other.Visibility;
 }
Example #2
0
 /// <summary>
 /// Copy initializes a new instance of the <see cref="ScopedElementTranslationUnit"/>.
 /// </summary>
 /// <param name="other"></param>
 /// <remarks>
 /// For testability.
 /// </remarks>
 protected ScopedElementTranslationUnit(ScopedElementTranslationUnit other)
     : base(other)
 {
     this.Modifiers = other.Modifiers;
 }
Example #3
0
 /// <summary>
 /// Copy initializes a new instance of the <see cref="ScopedElementTranslationUnit"/>.
 /// </summary>
 /// <param name="other"></param>
 /// <remarks>
 /// For testability.
 /// </remarks>
 protected ScopedElementTranslationUnit(ScopedElementTranslationUnit other)
     : base(other)
 {
     this.Visibility = other.Visibility;
 }