19 private readonly Func<BadExecutionContext, BadObject>
m_Func;
30 Func<BadExecutionContext, BadObject> func,
52 Action<BadExecutionContext> func,
102 yield
return m_Func(caller);
124public class BadDynamicInteropFunction<T> :
BadFunction
129 private readonly Func<BadExecutionContext, T, BadObject>
m_Func;
140 Func<BadExecutionContext, T, BadObject> func,
182public class BadDynamicInteropFunction<T1, T2> :
BadFunction
187 private readonly Func<BadExecutionContext, T1, T2, BadObject>
m_Func;
198 Func<BadExecutionContext, T1, T2, BadObject> func,
216 yield
return m_Func.Invoke(
246public class BadDynamicInteropFunction<T1, T2, T3> :
BadFunction
251 private readonly Func<BadExecutionContext, T1, T2, T3, BadObject>
m_Func;
262 Func<BadExecutionContext, T1, T2, T3, BadObject> func,
280 yield
return m_Func.Invoke(
294 Func<BadExecutionContext, T1, T2, T3, BadObject> func)
314public class BadDynamicInteropFunction<T1, T2, T3, T4> :
BadFunction
319 private readonly Func<BadExecutionContext, T1, T2, T3, T4, BadObject>
m_Func;
330 Func<BadExecutionContext, T1, T2, T3, T4, BadObject> func,
348 yield
return m_Func.Invoke(
363 Func<BadExecutionContext, T1, T2, T3, T4, BadObject> func)
385public class BadDynamicInteropFunction<T1, T2, T3, T4, T5> :
BadFunction
390 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject>
m_Func;
401 Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject> func,
419 yield
return m_Func.Invoke(
435 Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject> func)
459public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6> :
BadFunction
464 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject>
m_Func;
475 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject> func,
493 yield
return m_Func.Invoke(
510 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject> func)
536public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7> :
BadFunction
541 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject>
m_Func;
552 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject> func,
570 yield
return m_Func.Invoke(
588 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject> func)
616public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8> :
BadFunction
621 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject>
m_Func;
632 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject> func,
650 yield
return m_Func.Invoke(
669 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject> func)
699public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9> :
BadFunction
704 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject>
m_Func;
715 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject> func,
733 yield
return m_Func.Invoke(
753 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject> func)
785public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> :
BadFunction
790 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject>
m_Func;
801 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject> func,
819 yield
return m_Func.Invoke(
840 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject> func)
874public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> :
BadFunction
879 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject>
m_Func;
890 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject> func,
908 yield
return m_Func.Invoke(
929 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
930 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject> func)
932 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
966public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> :
BadFunction
971 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject>
m_Func;
982 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject> func,
1000 yield
return m_Func.Invoke(
1022 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
1023 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject> func)
1025 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
1061public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> :
BadFunction
1066 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject>
1078 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject> func,
1096 yield
return m_Func.Invoke(
1119 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
1120 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject> func)
1122 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
1160public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> :
BadFunction
1165 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject>
1177 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject> func,
1195 yield
return m_Func.Invoke(
1219 public static implicit
operator
1220 BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
1221 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject> func)
1223 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
1263public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> :
BadFunction
1268 private readonly Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15,
1280 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, BadObject> func,
1298 yield
return m_Func.Invoke(
1323 public static implicit
operator
1324 BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
1325 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, BadObject> func)
1327 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
The Execution Context. Every execution of a script needs a context the script is running in....
Non Generic Interop Function.
readonly Func< BadExecutionContext, T1, T2, T3, T4, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Action< BadExecutionContext > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, BadObject > m_Func
The Function Lambda.
override IEnumerable< BadObject > InvokeBlock(BadObject[] args, BadExecutionContext caller)
BadDynamicInteropFunction(BadWordToken? name, Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject > func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject > m_Func
The Function Lambda.
BadDynamicInteropFunction(BadWordToken? name, Action func, BadClassPrototype returnType, params BadFunctionParameter[] parameters)
Creates a new BadDynamicInteropFunction.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject > m_Func
The Function Lambda.
readonly Func< BadExecutionContext, T1, T2, BadObject > m_Func
The Function Lambda.
The Base Class for all BadScript Objects.
static readonly BadObject Null
The Null Value for the BadScript Language.
Implements a function that can be called from the script.
BadWordToken? Name
(optional) Name of the Function
static BadObject GetParameter(BadObject[] args, int i)
Returns the Function Parameter at the given index.
void CheckParameters(BadObject[] args, BadExecutionContext caller, BadSourcePosition? position=null)
Checks Parameters for the given function call.
Provides function parameter info.
The Any Prototype, Base type for all types.
static readonly BadAnyPrototype Instance
The Instance of the BadAnyPrototype.
Implements a Class Prototype for the BadScript Language.
Contains the Reader Tokens for the BadScript2 Language.
Contains the Interop Function Classes for the BadScript2 Language.
Contains Runtime Function Objects.
Contains Runtime Type Objects.
Contains the Runtime Objects.