Package rosh :: Package impl :: Module xdot :: Class DotScanner
[frames] | no frames]

Class DotScanner

source code

Scanner --+
          |
         DotScanner

Instance Methods
 
__init__(self) (Inherited from rosh.impl.xdot.Scanner) source code
 
next(self, buf, pos) (Inherited from rosh.impl.xdot.Scanner) source code
Class Variables
  tokens = [(SKIP, r'[ \t\f\r\n\v]+|' r'//[^\r\n]*|' r'/\*.*?\*/...
  symbols = {'[': LSQUARE, ']': RSQUARE, '{': LCURLY, '}': RCURL...
  literals = {'strict': STRICT, 'graph': GRAPH, 'digraph': DIGRA...
  ignorecase = True
Class Variable Details

tokens

Value:
[(SKIP, r'[ \t\f\r\n\v]+|' r'//[^\r\n]*|' r'/\*.*?\*/|' r'#[^\r\n]*', \
False), (ID, r'[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*', True), (ID, \
r'-?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)', False), (STR_ID, r'"[^"\\]*(?:\\
\.[^"\\]*)*"', False), (HTML_ID, r'<[^<>]*(?:<[^<>]*>[^<>]*)*>', False\
), (EDGE_OP, r'-[>-]', False),]

symbols

Value:
{'[': LSQUARE, ']': RSQUARE, '{': LCURLY, '}': RCURLY, ',': COMMA, ':'\
: COLON, ';': SEMI, '=': EQUAL, '+': PLUS,}

literals

Value:
{'strict': STRICT, 'graph': GRAPH, 'digraph': DIGRAPH, 'node': NODE, '\
edge': EDGE, 'subgraph': SUBGRAPH,}