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

Module opcode

source code

Nodes in this module are present in the final output from the parser. They assume a context within the engine (a particular "current" position in the input) and implicitly advance the position (if appropriate) on success.

See BaseNode for a general description of nodes.

Classes [hide private]
  String
Match a series of literal characters.
  StartGroup
Mark the start of a group (to be saved).
  EndGroup
Mark the end of a group (to be saved).
  Split
Branch the graph, providing alternative matches for the current context (eg via backtracking on failure).
  Match
The terminal node.
  NoMatch
The current match has failed.
  Dot
Match "any" single character.
  StartOfLine
Match the start of a line.
  EndOfLine
Match the end of a line.
  GroupReference
Match the text previously matched by the given group.
  Lookahead
Lookahead match (one that does not consume any input).
  Repeat
A numerical repeat.
  GroupConditional
Branch the graph, depending on the existence of a group.
  WordBoundary
Match a word boundary.
  Digit
Match a digit.
  Space
Match a space.
  Word
Match a word character.
  Character
Match a single character.