/// <summary> /// Initializes a new instance of the PropertyName class. /// </summary> public PropertyName(string name, NameVisibilityRestriction getVisibility, NameVisibilityRestriction setVisibility, Scope scope, PropertyAccessors accessors, Context context) : base(name, getVisibility, scope, context) { this.accessors = accessors; this.setVisibility = setVisibility; }
/// <summary> /// Initializes a new instance of the Identifier class. /// </summary> protected IdentifierName(string name, NameVisibilityRestriction visibility, Context context) { string[] curContext = context.GetContext(); this.fullyQualifiedName = new string[curContext.Length + 1]; this.fullyQualifiedName[0] = name; Array.Copy(curContext, 0, this.fullyQualifiedName, 1, curContext.Length); this.visibility = visibility; }
public void Resolve() { this.MergeNameTables(); foreach (CompilationUnitNode node in this.sources) { this.context = new Context(); node.Resolve(this, true); } // TODO: Add more passes. }
public DelegateName(string name, NameVisibilityRestriction visibility, Context context) : base(name, visibility, context) { }
public DelegateName(string name, NameVisibilityRestriction visibility, string[] genericParameters, Context context) : base(name, visibility, genericParameters, context) { }
public OperatorName(TokenID token, Context context) : base(token.ToString(), NameVisibilityRestriction.Everyone, Scope.Static, context) { }
/// <summary> /// Initializes a new instance of the EventName class. /// </summary> public EventName(string name, NameVisibilityRestriction visibility, Scope scope, Context context) : base(name, visibility, scope, context) { }
/// <summary> /// Initializes a new instance of the TypeName class. /// </summary> protected TypeName(string name, NameVisibilityRestriction visibility, Context context) : base(name, visibility, context) { genericParameters = new string[0]; }
/// <summary> /// Initializes a new instance of the TypeName class. /// </summary> protected TypeName(string name, NameVisibilityRestriction visibility, string[] genericParameters, Context context) : base(name, visibility, context) { this.genericParameters = genericParameters; }
/// <summary> /// Initializes a new instance of the TypeMemberName class. /// </summary> public TypeMemberName(string name, NameVisibilityRestriction visibility, Scope scope, Context context) : base(name, visibility, context) { this.scope = scope; }
/// <summary> /// Initializes a new instance of the InterfaceName class. /// </summary> public InterfaceName(string name, NameVisibilityRestriction visibility, Context context) : base(name, visibility, context) { }
/// <summary> /// Initializes a new instance of the NamespaceName class. /// </summary> public NamespaceName(string name, Context context) : base(name, NameVisibilityRestriction.Everyone, context) { }
/// <summary> /// Initializes a new instance of the ClassName class. /// </summary> public ClassName(string name, NameVisibilityRestriction visibility, Context context) : base(name, visibility, context) { }
/// <summary> /// Initializes a new instance of the TypeName class. /// </summary> public MethodName(string name, NameVisibilityRestriction visibility, Scope scope, Context context) : base(name, visibility, scope, context) { genericParameters = new string[0]; }
/// <summary> /// Initializes a new instance of the MethodName class. /// </summary> public MethodName(string name, NameVisibilityRestriction visibility, string[] genericParameters, Scope scope, Context context) : base(name, visibility, scope, context) { this.genericParameters = genericParameters; }
public IndexerName(NameVisibilityRestriction getVisibility, NameVisibilityRestriction setVisibility, Scope scope, PropertyAccessors accessors, Context context) : base("Items", getVisibility, setVisibility, scope, accessors, context) { }