class
Can::AST::Param
- Can::AST::Param
- Can::AST::Node
- Reference
- Object
Overview
Parameter declaration from a component definition.
Required params carry a #type; optional params carry the default Crystal
expression in #default.
Defined in:
can/ast.crConstructors
Instance Method Summary
- #default : String | Nil
- #default=(default : String | Nil)
- #name : String
- #name=(name : String)
- #type : String
- #type=(type : String)