struct a b end; method foo() var x := 5; if this * x then return (x - this) * x; end; return x; end; method bar(n) var x := n; this.a := x; return x; end;