{
"source": "view_config/eval.rs",
"items": [
{
"name": "eval_script",
"kind": "fn",
"signature": "pub fn eval_script(script: &str) -> Result<ViewConfig, ViewConfigError>",
"line": 33,
"doc": "Evaluate a Rhai script string and return a `ViewConfig`."
},
{
"name": "eval_file",
"kind": "fn",
"signature": "pub fn eval_file(path: &Path) -> Result<ViewConfig, ViewConfigError>",
"line": 63,
"doc": "Load and evaluate a single `.rhai` file (delegated to gateway)."
},
{
"name": "load_all",
"kind": "fn",
"signature": "pub fn load_all(dir: &Path) -> Result<HashMap<String, ViewConfig>, ViewConfigError>",
"line": 68,
"doc": "Scan `dir/*.rhai` and return a map of `{stem → ViewConfig}` (delegated to gateway)."
}
]
}