class School::Within

Overview

A "within" expression.

Included Modules

Defined in:

school/rule/expression.cr

Constructors

Instance Method Summary

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

def self.new(targets : Array(Atomic), name : String | Nil = nil) #

[View source]
def self.new(targets : Array(DomainTypes), name : String | Nil = nil) #

[View source]
def self.new(*targets : Atomic, name : String | Nil = nil) #

[View source]
def self.new(*targets : DomainTypes, name : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #

Returns true if this reference is the same as other. Invokes same?.


[View source]
def match(value : DomainTypes) : Result #

Matches the expression to a value.


[View source]
def targets : Array(School::Atomic) #

[View source]