Skip to main content

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
TypeName
System.Delegatefn
System.Objecttarget
System.BooleanisMemberExpr
System.Collections.Generic.List<System.Object>fnArgValues

Evaluate(ScriptScopeContext)

View Source
Declaration
public override object Evaluate(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

EvaluateArgumentValues(ScriptScopeContext, JsToken[])

View Source
Declaration
public static List<object> EvaluateArgumentValues(ScriptScopeContext scope, JsToken[] args)
Returns

System.Collections.Generic.List<System.Object>

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
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
TypeName
ServiceStack.Script.JsCallExpressionother

Equals(Object)

View Source
Declaration
public override bool Equals(object obj)
Returns

System.Boolean

Parameters
TypeName
System.Objectobj

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

Implements