Skip to content

Commit

Permalink
Merge pull request #750 from luoliwoshang/llcppg/ast/access
Browse files Browse the repository at this point in the history
llcppg/ast:field access & static
  • Loading branch information
xushiwei authored Aug 31, 2024
2 parents 9510b5a + f62bcdc commit 1a63c92
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions chore/llcppg/ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,12 @@ func (*CommentGroup) exprNode() {}
// ------------------------------------------------

type Field struct {
Doc *CommentGroup // associated documentation; or nil
Type Expr // field/method/parameter type; or nil
Names []*Ident // field/method/(type) parameter names; or nil
Comment *CommentGroup // line comments; or nil
Doc *CommentGroup // associated documentation; or nil
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() {}
Expand Down

0 comments on commit 1a63c92

Please sign in to comment.