neurolang.expression_pattern_matching

Module implementing expression pattern matching.

Functions

add_entry_point_match(pattern[, guard])

Decorate by adding patterns to a PatternMatcher class.

add_match(pattern[, guard])

Decorate by adding patterns to a PatternMatcher class.

signature(cls)

Classes

Pattern(pattern, guard, action)

Attributes:

PatternMatcher(*args, **kwargs)

Class for expression pattern matching.

PatternMatchingMetaClass(name, bases, classdict)

Methods

Exceptions

NeuroLangPatternMatchingNoMatch