19 private readonly Func<BadExecutionContext, BadObject>
m_Func;
29 Func<BadExecutionContext, BadObject> func,
50 Action<BadExecutionContext> func,
99 yield
return m_Func(caller);
120public class BadDynamicInteropFunction<T> :
BadFunction
125 private readonly Func<BadExecutionContext, T, BadObject>
m_Func;
135 Func<BadExecutionContext, T, BadObject> func,
153 yield
return m_Func.Invoke(caller,
179public class BadDynamicInteropFunction<T1, T2> :
BadFunction
184 private readonly Func<BadExecutionContext, T1, T2, BadObject>
m_Func;
194 Func<BadExecutionContext, T1, T2, BadObject> func,
212 yield
return m_Func.Invoke(caller,
242public class BadDynamicInteropFunction<T1, T2, T3> :
BadFunction
247 private readonly Func<BadExecutionContext, T1, T2, T3, BadObject>
m_Func;
257 Func<BadExecutionContext, T1, T2, T3, BadObject> func,
275 yield
return m_Func.Invoke(caller,
291 Func<BadExecutionContext, T1, T2, T3, BadObject> func)
310public class BadDynamicInteropFunction<T1, T2, T3, T4> :
BadFunction
315 private readonly Func<BadExecutionContext, T1, T2, T3, T4, BadObject>
m_Func;
325 Func<BadExecutionContext, T1, T2, T3, T4, BadObject> func,
343 yield
return m_Func.Invoke(caller,
361 Func<BadExecutionContext, T1, T2, T3, T4, BadObject> func)
382public class BadDynamicInteropFunction<T1, T2, T3, T4, T5> :
BadFunction
387 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject>
m_Func;
397 Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject> func,
415 yield
return m_Func.Invoke(caller,
435 Func<BadExecutionContext, T1, T2, T3, T4, T5, BadObject> func)
458public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6> :
BadFunction
463 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject>
m_Func;
473 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject> func,
491 yield
return m_Func.Invoke(caller,
513 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, BadObject> func)
538public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7> :
BadFunction
543 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject>
m_Func;
553 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject> func,
571 yield
return m_Func.Invoke(caller,
595 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, BadObject> func)
622public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8> :
BadFunction
627 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject>
m_Func;
637 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject> func,
655 yield
return m_Func.Invoke(caller,
681 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, BadObject> func)
710public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9> :
BadFunction
715 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject>
m_Func;
725 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject> func,
743 yield
return m_Func.Invoke(caller,
771 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, BadObject> func)
802public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> :
BadFunction
807 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject>
m_Func;
817 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject> func,
835 yield
return m_Func.Invoke(caller,
865 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, BadObject> func)
867 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
null,
898public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> :
BadFunction
903 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject>
m_Func;
913 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject>
932 yield
return m_Func.Invoke(caller,
963 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
964 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, BadObject> func)
966 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
null,
999public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> :
BadFunction
1004 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject>
m_Func;
1014 Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12,
1033 yield
return m_Func.Invoke(caller,
1066 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
1067 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, BadObject> func)
1069 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(
null,
1104public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> :
BadFunction
1109 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject>
1120 Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
1139 yield
return m_Func.Invoke(caller,
1174 public static implicit
operator BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
1175 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, BadObject> func)
1177 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(
null,
1214public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> :
BadFunction
1219 private readonly Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject>
1230 Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
1249 yield
return m_Func.Invoke(caller,
1286 public static implicit
operator
1287 BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
1288 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, BadObject> func)
1290 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(
null,
1329public class BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> :
BadFunction
1334 private readonly Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15,
1345 Func<
BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
1364 yield
return m_Func.Invoke(caller,
1403 public static implicit
operator
1404 BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
1405 Func<BadExecutionContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, BadObject> func)
1407 return new BadDynamicInteropFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(
null,
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.