llcppsigfetch:field access & static field
This commit is contained in:
@@ -143,6 +143,8 @@ func MarshalASTExpr(t ast.Expr) *cjson.JSON {
|
||||
root.SetItem(c.Str("Type"), MarshalASTExpr(d.Type))
|
||||
root.SetItem(c.Str("Doc"), MarshalASTExpr(d.Doc))
|
||||
root.SetItem(c.Str("Comment"), MarshalASTExpr(d.Comment))
|
||||
root.SetItem(c.Str("IsStatic"), boolField(d.IsStatic))
|
||||
root.SetItem(c.Str("Access"), numberField(uint(d.Access)))
|
||||
names := cjson.Array()
|
||||
for _, n := range d.Names {
|
||||
names.AddItem(MarshalASTExpr(n))
|
||||
|
||||
Reference in New Issue
Block a user