JsCallExpression
Assembly: ServiceStack.Common.dll
View Source
Declaration
public class JsCallExpression : JsExpression, IRawString
Properties
Callee
View Source
Declaration
public JsToken Callee { get; }
Arguments
View Source
Declaration
public JsToken[] Arguments { get; }
Name
View Source
Declaration
public string Name { get; }
Methods
InvokeDelegate(Delegate, Object, Boolean, List<Object>)
View Source
Declaration
public static object InvokeDelegate(Delegate fn, object target, bool isMemberExpr, List<object> fnArgValues)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Delegate | fn |
System.Object | target |
System.Boolean | isMemberExpr |
System.Collections.Generic.List<System.Object> | fnArgValues |
Evaluate(ScriptScopeContext)
View Source
Declaration
public override object Evaluate(ScriptScopeContext scope)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
EvaluateArgumentValues(ScriptScopeContext, JsToken[])
View Source
Declaration
public static List<object> EvaluateArgumentValues(ScriptScopeContext scope, JsToken[] args)
Returns
System.Collections.Generic.List<System.Object>
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
ServiceStack.Script.JsToken[] | args |
ToString()
View Source
Declaration
public override string ToString()
Returns
System.String
ToRawString()
View Source
Declaration
public override string ToRawString()
Returns
System.String
GetDisplayName()
View Source
Declaration
public string GetDisplayName()
Returns
System.String
Equals(JsCallExpression)
View Source
Declaration
protected bool Equals(JsCallExpression other)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Script.JsCallExpression | other |
Equals(Object)
View Source
Declaration
public override bool Equals(object obj)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | obj |
GetHashCode()
View Source
Declaration
public override int GetHashCode()
Returns
System.Int32
ToJsAst()
View Source
Declaration
public override Dictionary<string, object> ToJsAst()
Returns
System.Collections.Generic.Dictionary<System.String,System.Object>
Inherited Methods
ToJsAst()
View Source
Declaration
public abstract Dictionary<string, object> ToJsAst()
Returns
System.Collections.Generic.Dictionary<System.String,System.Object>
ToJsAstType()
View Source
Declaration
public virtual string ToJsAstType()
Returns
System.String