Package rxpy :: Package graph :: Module opcode :: Class NoMatch
[hide private]
[frames] | no frames]

Class NoMatch

source code


The current match has failed. Currently this is generated when an attempt is made to match the complement of . (since . matches everything, the complement matches nothing).

TODO - remove the need for this by graph rewriting.

Instance Methods [hide private]
 
__str__(self)
Subclasses must implement something useful here, which will be displayed in the graphviz node (see repr).
source code
 
visit(self, visitor, state=None)
The visitor pattern - used to evaluate the graph by an interpreter, for example.
source code

Inherited from support.BaseNode: __init__, __repr__, clone, concatenate, consumer, deep_eq, size, start

Inherited from support.BaseNode (private): _kargs, _node_eq

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 
Subclasses must implement something useful here, which will be displayed in the graphviz node (see repr).
Overrides: object.__str__
(inherited documentation)

visit(self, visitor, state=None)

source code 
The visitor pattern - used to evaluate the graph by an interpreter, for example. Calls back to the visitor via the interface described in rxpy.parser.visitor.Visitor.
Overrides: support.BaseNode.visit
(inherited documentation)