Code polish
This commit is contained in:
4
main.go
4
main.go
@@ -120,6 +120,8 @@ func ParseFile(filename string) (*Class, error) {
|
||||
})
|
||||
res.Constructors = append(res.Constructors, resConstructor)
|
||||
|
||||
// constructorDetails := codeblocks.Eq(1)
|
||||
|
||||
log.Printf("%#v", res)
|
||||
|
||||
return &res, nil
|
||||
@@ -131,6 +133,8 @@ func MapType(t string) string {
|
||||
return "any"
|
||||
case "int":
|
||||
return "number"
|
||||
case "float":
|
||||
return "number"
|
||||
case "string":
|
||||
return "string"
|
||||
case "boolean":
|
||||
|
||||
Reference in New Issue
Block a user