class Arborist::MatchFailure
- Arborist::MatchFailure
- Reference
- Object
Defined in:
matcher.crConstructors
Instance Method Summary
-
#==(other)
Returns
false(other can only be aValuehere). - #active_rule_name : String
- #active_rule_name=(active_rule_name : String)
- #apply_calls_in_call_stack : Array(ApplyCall)
- #apply_calls_in_call_stack=(apply_calls_in_call_stack : Array(ApplyCall))
- #expr : Expr
- #expr=(expr : Expr)
-
#hash
Generates an
UInt64hash value for this object. - #pos : Int32
- #pos=(pos : Int32)
Constructor Detail
def self.new(pos : Int32, expr : Arborist::Apply | Arborist::Choice | Arborist::Dot | Arborist::MutexAlt | Arborist::NegLookAhead | Arborist::Optional | Arborist::PosLookAhead | Arborist::Repetition | Arborist::RepetitionOnePlus | Arborist::Sequence | Arborist::Terminal, apply_calls_in_call_stack : Array(Arborist::ApplyCall))
#
Instance Method Detail
def ==(other)
#
Description copied from class Reference
Returns false (other can only be a Value here).
def hash
#
Description copied from class Object
Generates an UInt64 hash value for this object.
This method must have the property that a == b implies a.hash == b.hash.
The hash value is used along with #== by the Hash class to determine if two objects
reference the same hash key.
Subclasses must not override this method. Instead, they must define hash(hasher),
though usually the macro def_hash can be used to generate this method.