class documentation

class _SymbolMatcher: (source)

View In Hierarchy

Symbol matcher for MatchAstVisitor._get_traces. Allows matching against: - a regular expression (will use re.match) - an arbitrary object (will use object equality) - a tuple of the above (will match if any member does)

Class Method from_one_match Undocumented
Class Method from_regex Undocumented
Class Method from_tuple Undocumented
Method __init__ Undocumented
Method match Undocumented
Instance Variable _matches Undocumented
@classmethod
def from_one_match(cls, match): (source)

Undocumented

@classmethod
def from_regex(cls, regex): (source)

Undocumented

@classmethod
def from_tuple(cls, matches): (source)

Undocumented

def __init__(self, matches): (source)

Undocumented

def match(self, symbol): (source)

Undocumented

_matches = (source)

Undocumented