Beispiel #1
0
 public TypeDeclarationNode(SourceLocation location, DeclarationAccessibility accessibility, IEnumerable <DeclarationAnnotationNode> annotations, string name, IList <DeclarationTypeArgumentNode> typeArguments, KindExpressionNode result, KindExpressionNode signature, DeclarationBodyNode body) : base(location, accessibility, annotations)
 {
     Name          = name;
     TypeArguments = typeArguments;
     Result        = result;
     Signature     = signature;
     Body          = body;
 }
Beispiel #2
0
 public DeclarationTypeArgumentNode(Basic.SourceLocation location, string name, KindExpressionNode kind) : base(location)
 {
     Name = name;
     Kind = kind;
 }
Beispiel #3
0
 public AnnotatedTypeExpressionNode(SourceLocation location, TypeExpressionNode annotated, KindExpressionNode kind) : base(location)
 {
     Annotated = annotated;
     Kind      = kind;
 }
Beispiel #4
0
 public TypeConstructorArgumentNode(SourceLocation location, string name, KindExpressionNode kind) : base(location)
 {
     Name = name;
     Kind = kind;
 }
Beispiel #5
0
 public TypeConstructorKindExpressionNode(SourceLocation location, IEnumerable <TypeConstructorArgumentNode> arguments, KindExpressionNode result) : base(location)
 {
     Arguments = arguments?.ToList().AsReadOnly();
     Result    = result;
 }
Beispiel #6
0
 public FunctionTypeArgumentNode(SourceLocation location, string name, KindExpressionNode kind) : base(location)
 {
     Name = name;
     Kind = kind;
 }