mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Rename ast.Node methods from Foo to AsFoo
This commit is contained in:
1 parent
12773ce74a
commit
ccb78f5db7
21 files changed
+461
-458
No files matched your search
+1
-1
@@ -203,7 +203,7 @@ func genProveReasonRequirement(n *node, name string) error {
|
||||
fmt.Fprintf(&out, "if err := proveReasonRequirement(q, t.ID%s, %s, %s); err != nil { return err }\n",
|
||||
key, l, r)
|
||||
} else {
|
||||
fmt.Fprintf(&out, "%s := a.NewExpr(0, t.ID%s, 0, 0, %s.Node(), nil, %s.Node(), nil)\n",
|
||||
fmt.Fprintf(&out, "%s := a.NewExpr(0, t.ID%s, 0, 0, %s.AsNode(), nil, %s.AsNode(), nil)\n",
|
||||
name, key, l, r)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user