cltk
cltk copied to clipboard
Allow AST values to have defaults
It would be really handy if you could provide default values for values listed in an AST node. Something like:
class Def < CLTK::ASTNode
values({
name: String,
visibility: Bool = Visibility::Public
)}
end
or can you already? Sorry, the docs are lacking a little.