aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/ast.go
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2020-08-10 14:43:38 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-08-13 13:50:25 +0200
commitf5442bde55872d703f184f8617329f706bad8149 (patch)
tree14e121020d6aacd857b80351f01546818f19a74b /pkg/ast/ast.go
parentee7cb8b69583db417b187b53f4765c3a403cd4cf (diff)
pkg, prog: add per-field direction attribute
Diffstat (limited to 'pkg/ast/ast.go')
-rw-r--r--pkg/ast/ast.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ast/ast.go b/pkg/ast/ast.go
index c0707aca9..66dfc11bd 100644
--- a/pkg/ast/ast.go
+++ b/pkg/ast/ast.go
@@ -223,6 +223,7 @@ type Field struct {
Pos Pos
Name *Ident
Type *Type
+ Attrs []*Type
NewBlock bool // separated from previous fields by a new line
Comments []*Comment
}