当前位置: 首页>>代码示例>>C#>>正文


C# MemberFlags类代码示例

本文整理汇总了C#中MemberFlags的典型用法代码示例。如果您正苦于以下问题:C# MemberFlags类的具体用法?C# MemberFlags怎么用?C# MemberFlags使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MemberFlags类属于命名空间,在下文中一共展示了MemberFlags类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ClassDefinition

 public ClassDefinition(MemberFlags flags, string name,
                        GenericSignature genericSignature,
                        AstNode bases, AstNode children, TokenPosition position)
     : base(flags, name, genericSignature,
            bases, children, position)
 {
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:ClassDefinition.cs

示例2: EventVariable

 protected EventVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.parentScope = null;
     this.associatedField = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:EventVariable.cs

示例3: PropertyVariable

 public PropertyVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.indices = null;
     this.parentScope = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:PropertyVariable.cs

示例4: MakeFunctionPointer

 public MakeFunctionPointer(Expression returnType, AstNode arguments, MemberFlags flags, TokenPosition position)
     : base(position)
 {
     this.returnType = returnType;
     this.arguments = arguments;
     this.flags = flags;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:MakeFunctionPointer.cs

示例5: TypeNameMember

 public TypeNameMember(MemberFlags flags, string name, Scope parentScope)
     : this(parentScope.GetModule())
 {
     this.flags = flags;
     this.name = name;
     this.parentScope = parentScope;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:TypeNameMember.cs

示例6: Function

 public Function(string name, MemberFlags flags, Scope parentScope)
     : this(parentScope.GetModule())
 {
     this.name = name;
     this.flags = flags;
     this.parentScope = parentScope;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:Function.cs

示例7: FieldDefinition

        public FieldDefinition(MemberFlags flags, Expression typeNode,
		                        FieldDeclaration declarations, TokenPosition position)
            : base(position)
        {
            this.flags = flags;
            this.typeNode = typeNode;
            this.declarations = declarations;
        }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:FieldDefinition.cs

示例8: EnumDefinition

 public EnumDefinition(MemberFlags flags, string name, AstNode children,
     Expression typeExpr, TokenPosition position)
     : base(children, position)
 {
     SetName(name);
     this.flags = flags;
     this.typeExpr = typeExpr;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:EnumDefinition.cs

示例9: FunctionPrototype

 public FunctionPrototype(MemberFlags flags, Expression returnType,
                        FunctionArgument arguments, Expression nameExpression,
                           GenericSignature genericSignature,
                           TokenPosition position)
     : this(flags, returnType, arguments, "", genericSignature, position)
 {
     this.nameExpression = nameExpression;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:FunctionPrototype.cs

示例10: Method

 public Method(string name, MemberFlags flags, Scope parentScope)
     : base(name, flags, parentScope)
 {
     this.vslot = -1;
     this.ctorLeaf = false;
     this.ctorParent = null;
     this.explicitContract = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:Method.cs

示例11: FieldVariable

 public FieldVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.slot = -1;
     this.initializer = null;
     this.parentScope = null;
     this.position = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:FieldVariable.cs

示例12: TypedefDefinition

 public TypedefDefinition(MemberFlags flags, Expression typeExpression,
                           string name, TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.flags = flags;
     this.typeExpression = typeExpression;
     this.expansionScope = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:TypedefDefinition.cs

示例13: PropertyAccessor

 public PropertyAccessor(MemberFlags flags, AstNode children, TokenPosition position)
     : base(null, children, position)
 {
     this.flags = flags;
     this.property = null;
     this.selfLocal = null;
     this.indices = null;
     this.indexerVariables = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:PropertyAccessor.cs

示例14: EventAccessorDefinition

 public EventAccessorDefinition(MemberFlags flags, string name, AstNode children, TokenPosition position)
     : base(children, position)
 {
     SetName(name);
     this.flags = flags;
     this.eventVariable = null;
     this.function = null;
     this.selfLocal = null;
     this.valueLocal = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:10,代码来源:EventAccessorDefinition.cs

示例15: EventDefinition

 public EventDefinition(MemberFlags flags, Expression eventType,
                         string name, AstNode accessors, TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.flags = flags;
     this.eventType = eventType;
     this.eventVariable = null;
     this.accessors = accessors;
     this.delegateType = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:11,代码来源:EventDefinition.cs


注:本文中的MemberFlags类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。