class School::Not

Overview

A "not" 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(target : Matcher, name : String | Nil = nil) #

[View source]
def self.new(target : 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 target : School::Matcher #

[View source]