llcppg/ast:field access & static

This commit is contained in:
luoliwoshang
2024-08-28 11:47:57 +08:00
parent 4d268f67ae
commit f62bcdc803

View File

@@ -222,6 +222,8 @@ type Field struct {
Type Expr // field/method/parameter type; or nil
Names []*Ident // field/method/(type) parameter names; or nil
Comment *CommentGroup // line comments; or nil
Access AccessSpecifier // field access(Record Type); Struct Field default is Public,Class Field default is Private
IsStatic bool // static field
}
func (*Field) exprNode() {}