---
source: xee-xpath-ast/src/parser/mod.rs
expression: "ast::ExprSingle::parse(\"function($x) { $x }\")"
---
Ok(Path(PathExpr(
steps: [
PrimaryExpr(InlineFunction(InlineFunction(
params: [
Param(
name: OwnedName(
local_name_str: "x",
namespace_str: "",
prefix_str: "",
),
type_: None,
),
],
return_type: None,
body: Some(Expr([
Path(PathExpr(
steps: [
PrimaryExpr(VarRef(OwnedName(
local_name_str: "x",
namespace_str: "",
prefix_str: "",
))),
],
)),
])),
wrapper: false,
))),
],
)))