-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathPyFunction.cs
More file actions
78 lines (69 loc) · 1.88 KB
/
Copy pathPyFunction.cs
File metadata and controls
78 lines (69 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeMinion.Core.Models
{
/// <summary>
/// Information about Python function
/// </summary>
public class PyFunction
{
/// <summary>
/// Initializes a new instance of the <see cref="PyFunction"/> class.
/// </summary>
public PyFunction()
{
Parameters = new List<PyFuncArg>();
}
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>
/// The name.
/// </value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the arguments.
/// </summary>
/// <value>
/// The arguments.
/// </value>
public string[] Args { get; set; }
/// <summary>
/// Gets or sets the defaults.
/// </summary>
/// <value>
/// The defaults.
/// </value>
public string[] Defaults { get; set; }
/// <summary>
/// Gets or sets the type of the return.
/// </summary>
/// <value>
/// The type of the return.
/// </value>
public string ReturnType { get; set; }
/// <summary>
/// Gets or sets the return argument.
/// </summary>
/// <value>
/// The return argument.
/// </value>
public string ReturnArg { get; set; }
/// <summary>
/// Gets or sets the document string.
/// </summary>
/// <value>
/// The document string.
/// </value>
public string DocStr { get; set; }
public bool Deprecated { get; set; }
/// <summary>
/// Gets or sets the parameters.
/// </summary>
/// <value>
/// The parameters.
/// </value>
public List<PyFuncArg> Parameters { get; set; }
}
}