class School::Lit
- School::Lit
- School::Expression
- Reference
- Object
Overview
A literal.
Included Modules
Defined in:
school/rule/expression.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#match(value : DomainTypes) : Result
Matches the expression to a value.
- #target : Bool | Char | Float32 | Float64 | Int32 | Int64 | School::DomainType | String | Symbol | Nil
Macro Summary
-
method_missing(call)
Generates an accessor that performs the method call on the literal value.
Instance methods inherited from module School::Matcher
match(value : DomainTypes) : Result
match
Instance methods inherited from class School::Expression
name
name,
name? : String?
name?
Constructor Detail
Instance Method Detail
def target : Bool | Char | Float32 | Float64 | Int32 | Int64 | School::DomainType | String | Symbol | Nil
#
Macro Detail
macro method_missing(call)
#
Generates an accessor that performs the method call on the literal value.