次の方法で共有


Json class

JavaScript Object Notation (JSON) 型の値または文字列または XML のオブジェクトを返します。

Extends

コンストラクター

Json()

Json クラスの新しいインスタンスを初期化します。

プロパティ

negation

この評価の否定であるエバリュエーターを取得します。 この評価の否定であるエバリュエーターを設定します。

継承されたプロパティ

returnType

式を評価することによって必要な型。

type

エバリュエーターの式の型を取得します。

継承されたメソッド

tryEvaluate(Expression, MemoryInterface, Options)

式を評価します。

validateExpression(Expression)

式を検証します。

コンストラクターの詳細

Json()

Json クラスの新しいインスタンスを初期化します。

new Json()

プロパティの詳細

negation

この評価の否定であるエバリュエーターを取得します。 この評価の否定であるエバリュエーターを設定します。

ExpressionEvaluator negation

プロパティ値

この評価の否定であるエバリュエーター。

継承されたプロパティの詳細

returnType

式を評価することによって必要な型。

returnType: ReturnType

プロパティ値

expressionEvaluator.returnType から継承

type

エバリュエーターの式の型を取得します。

type: string

プロパティ値

string

ExpressionEvaluator.type から継承

継承済みメソッドの詳細

tryEvaluate(Expression, MemoryInterface, Options)

式を評価します。

function tryEvaluate(expression: Expression, state: MemoryInterface, options: Options): ValueWithError

パラメーター

expression
Expression

評価する式。

state
MemoryInterface

グローバル状態情報。

options
Options

評価で使用されるオプション。

戻り値

エラーが発生した場合に null 以外の値とエラー文字列。

expressionEvaluator.tryEvaluate から継承

validateExpression(Expression)

式を検証します。

function validateExpression(expression: Expression)

パラメーター

expression
Expression

検証する式。

expressionEvaluator.validateExpression から継承