// // RootVarOperator.swift // // Created by Antonio Pallares. // import Foundation extension RulesEngine { /// `rc.rootVar` — like `var`, but reads from the root data scope. enum RootVarOperator { static func opRootVar(args: Value, vars: Scope) throws -> Value { try AccessorOperators.resolveVar( args: args, target: vars.root, vars: vars, operatorName: "rc.rootVar" ) } } }