Skip to main content

JsArrowFunctionExpression

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public class JsArrowFunctionExpression : JsExpression, IRawString

Properties​

Params​

View Source​
Declaration
public JsIdentifier[] Params { get; }

Body​

View Source​
Declaration
public JsToken Body { get; }

Methods​

ToRawString()​

View Source​
Declaration
public override string ToRawString()
Returns​

System.String

Evaluate(ScriptScopeContext)​

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

System.Object

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

Invoke(Object[])​

View Source​
Declaration
public object Invoke(params object[] params)
Returns​

System.Object

Parameters​
TypeName
System.Object[]params

Invoke(ScriptScopeContext, Object[])​

View Source​
Declaration
public object Invoke(ScriptScopeContext scope, params object[] params)
Returns​

System.Object

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Object[]params

ToJsAst()​

View Source​
Declaration
public override Dictionary<string, object> ToJsAst()
Returns​

System.Collections.Generic.Dictionary<System.String,System.Object>

Equals(JsArrowFunctionExpression)​

View Source​
Declaration
protected bool Equals(JsArrowFunctionExpression other)
Returns​

System.Boolean

Parameters​
TypeName
ServiceStack.Script.JsArrowFunctionExpressionother

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

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​