JsExpression
Assembly: ServiceStack.Common.dll
View Source
Declaration
public abstract class JsExpression : JsToken, IRawString
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
Inherited Methods
Evaluate(ScriptScopeContext)
View Source
Declaration
public abstract object Evaluate(ScriptScopeContext scope)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
JsonValue(Object)
View Source
Declaration
public string JsonValue(object value)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | value |
ToRawString()
View Source
Declaration
public abstract string ToRawString()
Returns
System.String
ToString()
View Source
Declaration
public override string ToString()
Returns
System.String
UnwrapValue(JsToken)
View Source
Declaration
public static object UnwrapValue(JsToken token)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Script.JsToken | token |