llcppg/ast:field access & static
This commit is contained in:
@@ -222,6 +222,8 @@ type Field struct {
|
|||||||
Type Expr // field/method/parameter type; or nil
|
Type Expr // field/method/parameter type; or nil
|
||||||
Names []*Ident // field/method/(type) parameter names; or nil
|
Names []*Ident // field/method/(type) parameter names; or nil
|
||||||
Comment *CommentGroup // line comments; 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() {}
|
func (*Field) exprNode() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user