llcppg/ast:field access & static
This commit is contained in:
@@ -218,10 +218,12 @@ func (*CommentGroup) exprNode() {}
|
|||||||
// ------------------------------------------------
|
// ------------------------------------------------
|
||||||
|
|
||||||
type Field struct {
|
type Field struct {
|
||||||
Doc *CommentGroup // associated documentation; or nil
|
Doc *CommentGroup // associated documentation; or nil
|
||||||
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