node: add some TODO markers

This commit is contained in:
mappu 2020-04-07 21:53:07 +12:00
parent 19d7cc469a
commit 642711b09f

View File

@ -45,6 +45,7 @@ type conversionState struct {
func (this *conversionState) convert(n node.Node) (string, error) { func (this *conversionState) convert(n node.Node) (string, error) {
// Get any whitespace/comments attached to this node // Get any whitespace/comments attached to this node
// FIXME we are not calling convert() on some interior nodes of statements - some comments may be lost(!!)
freePrefix := "" freePrefix := ""
freeSuffix := "" freeSuffix := ""
@ -205,6 +206,8 @@ func (this *conversionState) convertNoFreeFloating(n_ node.Node) (string, error)
return "", parseErr{s, err} return "", parseErr{s, err}
} }
// TODO implement abstract methods as method functions
// Doc comment // Doc comment
// TODO scan for `@param {type}` strings // TODO scan for `@param {type}` strings