class Oxide::Argument
- Oxide::Argument
- Reference
- Object
Defined in:
oxide/argument.crConstructors
- .new(type : Oxide::Type, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective)
- .new(type : Oxide::Type, default_value : Oxide::Argument::DefaultValue, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective)
Instance Method Summary
- #applied_directives : Array(AppliedDirective)
- #default_value : DefaultValue
- #deprecated?
- #deprecation_reason : String | Nil
- #description : String | Nil
- #has_default_value? : Bool
- #type : Oxide::Type
Constructor Detail
def self.new(type : Oxide::Type, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective)
#
def self.new(type : Oxide::Type, default_value : Oxide::Argument::DefaultValue, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective)
#