|
SOMDoc | SOMDocType () |
|
Type | ToType () |
|
abstract bool | Equivalent (SOMDoc sd2) |
|
LambdaExpression | GetLambdaExpression () |
|
LambdaExpression | GetLambdaExpression (LambdaExpression[] lambda_applicant, LambdaExpression[] lambda_arguments, ParameterExpression[] bound_params) |
|
abstract override string | ToString () |
|
abstract SOMDoc | MapURIs (Dictionary< string, string > old_to_new) |
|
abstract string[] | GetDependentFactIds () |
|
Func< object[], object[]> | PartialInvokeCastingLambdaExpression (out Expression compile_base, out Type[] signature, object[] callArgs=null, bool[] useArgs=null) |
| translates this SOMDoc AST into a C# AST, changes/casts the signature to Func<object[], object[]>, and compiles it. Function arguments can be inserted at any position as to partially invoke the function. More...
|
|
|
| SOMDoc () |
|
abstract LambdaExpression | _GetLambdaExpression (LambdaExpression[] lambda_applicant, LambdaExpression[] lambda_arguments, ParameterExpression[] bound_params) |
|
◆ SOMDoc()
REST_JSON_API.SOMDoc.SOMDoc |
( |
| ) |
|
|
protected |
◆ _GetLambdaExpression()
abstract LambdaExpression REST_JSON_API.SOMDoc._GetLambdaExpression |
( |
LambdaExpression[] |
lambda_applicant, |
|
|
LambdaExpression[] |
lambda_arguments, |
|
|
ParameterExpression[] |
bound_params |
|
) |
| |
|
protectedpure virtual |
◆ Equivalent() [1/2]
static bool REST_JSON_API.SOMDoc.Equivalent |
( |
SOMDoc |
sd1, |
|
|
SOMDoc |
sd2 |
|
) |
| |
|
static |
◆ Equivalent() [2/2]
abstract bool REST_JSON_API.SOMDoc.Equivalent |
( |
SOMDoc |
sd2 | ) |
|
|
pure virtual |
◆ GetDependentFactIds()
abstract string[] REST_JSON_API.SOMDoc.GetDependentFactIds |
( |
| ) |
|
|
pure virtual |
◆ GetLambdaExpression() [1/2]
LambdaExpression REST_JSON_API.SOMDoc.GetLambdaExpression |
( |
| ) |
|
◆ GetLambdaExpression() [2/2]
LambdaExpression REST_JSON_API.SOMDoc.GetLambdaExpression |
( |
LambdaExpression[] |
lambda_applicant, |
|
|
LambdaExpression[] |
lambda_arguments, |
|
|
ParameterExpression[] |
bound_params |
|
) |
| |
◆ MakeDeepList()
static OMA REST_JSON_API.SOMDoc.MakeDeepList |
( |
SOMDoc[] |
args, |
|
|
SOMDoc |
SOMDoc_type |
|
) |
| |
|
static |
◆ MakeShallowList()
static OMA REST_JSON_API.SOMDoc.MakeShallowList |
( |
SOMDoc[] |
args | ) |
|
|
static |
◆ MakeTupel()
static OMA REST_JSON_API.SOMDoc.MakeTupel |
( |
SOMDoc[] |
args | ) |
|
|
static |
◆ MakeVector3() [1/2]
static Vector3 REST_JSON_API.SOMDoc.MakeVector3 |
( |
OMA |
tuple | ) |
|
|
static |
◆ MakeVector3() [2/2]
static OMA REST_JSON_API.SOMDoc.MakeVector3 |
( |
Vector3 |
vec | ) |
|
|
static |
◆ MapURIs()
abstract SOMDoc REST_JSON_API.SOMDoc.MapURIs |
( |
Dictionary< string, string > |
old_to_new | ) |
|
|
pure virtual |
◆ PartialInvokeCastingLambdaExpression()
Func< object[], object[]> REST_JSON_API.SOMDoc.PartialInvokeCastingLambdaExpression |
( |
out Expression |
compile_base, |
|
|
out Type[] |
signature, |
|
|
object[] |
callArgs = null , |
|
|
bool[] |
useArgs = null |
|
) |
| |
translates this SOMDoc AST into a C# AST, changes/casts the signature to Func<object[], object[]>, and compiles it. Function arguments can be inserted at any position as to partially invoke the function.
- Parameters
-
compile_base | Cached Expression Tree |
signature | the original signature |
callArgs | arguments to be inserted. The position carries over. Set null to skipp all. |
useArgs | set a position to false iff the corresponding entree in callArgs shall be ignored / the original parameter be used. Missing values will be interpreted as true . Set null to use all. |
- Returns
- the compiled function, with a new signature and partially inserted arguments.
◆ SOMDocObject()
static SOMDoc REST_JSON_API.SOMDoc.SOMDocObject |
( |
object |
obj, |
|
|
bool |
force = false |
|
) |
| |
|
static |
Attempts to build a @SOMDoc from any object.
- Parameters
-
obj | object to parse |
force | uses case for Anonymous classes as failsafe |
- Returns
- Exceptions
-
NotSupportedException | iff typeof(obj ) == Func |
NotImplementedException | iff unknown type and force == false |
◆ SOMDocType() [1/3]
SOMDoc REST_JSON_API.SOMDoc.SOMDocType |
( |
| ) |
|
◆ SOMDocType() [2/3]
◆ SOMDocType() [3/3]
static SOMDoc REST_JSON_API.SOMDoc.SOMDocType |
( |
Type |
type | ) |
|
|
static |
◆ ToString()
abstract override string REST_JSON_API.SOMDoc.ToString |
( |
| ) |
|
|
pure virtual |
◆ ToType() [1/2]
Type REST_JSON_API.SOMDoc.ToType |
( |
| ) |
|
◆ ToType() [2/2]
abstract Type REST_JSON_API.SOMDoc.ToType |
( |
Type[] |
args, |
|
|
(string name, Type type)[] |
bound_params |
|
) |
| |
|
packagepure virtual |
◆ kind
string REST_JSON_API.SOMDoc.kind |
The documentation for this class was generated from the following files:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/MMTServer/CommunicationProtocoll/SOMDocs.cs
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/MMTServer/CommunicationProtocoll/SOMDocToLambdaExpression.cs