Skip to content

Commit

Permalink
llcppg/ast:field access & static
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Aug 30, 2024
1 parent 4d268f6 commit f62bcdc
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 f62bcdc

Please sign in to comment.