Exemplo n.º 1
0
 public AstMetaProperty(MetaVisibility visibility, AstExpression optionalType, AstIdentifier name, IReadOnlyList <AstMetaPropertyDefinition> definitions)
 {
     Visibility   = visibility;
     OptionalType = optionalType;
     Name         = name;
     Definitions  = definitions;
 }
Exemplo n.º 2
0
 public AstMetaProperty(MetaVisibility visibility, AstExpression optionalType, AstIdentifier name, params AstMetaPropertyDefinition[] definitions)
 {
     Visibility   = visibility;
     OptionalType = optionalType;
     Name         = name;
     Definitions  = definitions;
 }
Exemplo n.º 3
0
 public MetaProperty(Source src, BlockBase parent, DataType type, string name, MetaVisibility visibility)
     : base(src)
 {
     ReturnType = type;
     Name       = name;
     Parent     = parent;
     Visibility = visibility;
 }
Exemplo n.º 4
0
 public AstMetaProperty(MetaVisibility visibility, AstExpression optionalType, AstIdentifier name, AstExpression value)
     : this(visibility, optionalType, name, new AstMetaPropertyDefinition(value))
 {
 }