> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: EvaluationContext

## Properties

### extraScope?

> `optional` **extraScope?**: `Record`\<`string`, `unknown`>

响应式 prop 求值时用于注入 $value 的额外作用域

## Methods

### getState()

> **getState**(`name`: `string`): `unknown`

从 store 中读取 $variable

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `name`    | `string` |

#### Returns

`unknown`

***

### resolveRef()

> **resolveRef**(`name`: `string`): `unknown`

解析对另一个声明求值结果的引用

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `name`    | `string` |

#### Returns

`unknown`
