Currently, we don't support comments or documentation comment.
We should be able to add comments such as:
// Represents the foo struct
struct foo inline {
// Represents the bar content
bar []char;
}
Also, the code-generator should include some default comment, which can be disable:
// Bar is Foo field (your_document.km:2)
// Represents the foo struct
func (x *Foo) Bar() string {
}
The first comment is the default, which must follow the language convention. The second line is the user-defined comment, if the field contains one of them.
Currently, we don't support comments or documentation comment.
We should be able to add comments such as:
Also, the code-generator should include some default comment, which can be disable:
The first comment is the default, which must follow the language convention. The second line is the user-defined comment, if the field contains one of them.