Static Public Attributes | List of all members
smach_viewer.xdot.xdot.DotScanner Class Reference
Inheritance diagram for smach_viewer.xdot.xdot.DotScanner:
Inheritance graph
[legend]

Static Public Attributes

bool ignorecase = True
 
dictionary literals
 
dictionary symbols
 
list tokens
 
- Static Public Attributes inherited from smach_viewer.xdot.xdot.Scanner
bool ignorecase = False
 
dictionary literals = {}
 
dictionary symbols = {}
 
list tokens = []
 

Additional Inherited Members

- Public Member Functions inherited from smach_viewer.xdot.xdot.Scanner
def __init__ (self)
 
def next (self, buf, pos)
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Scanner
 tokens_re
 

Detailed Description

Definition at line 860 of file xdot.py.

Member Data Documentation

bool smach_viewer.xdot.xdot.DotScanner.ignorecase = True
static

Definition at line 911 of file xdot.py.

dictionary smach_viewer.xdot.xdot.DotScanner.literals
static
Initial value:
1 = {
2  'strict': STRICT,
3  'graph': GRAPH,
4  'digraph': DIGRAPH,
5  'node': NODE,
6  'edge': EDGE,
7  'subgraph': SUBGRAPH,
8  }

Definition at line 902 of file xdot.py.

dictionary smach_viewer.xdot.xdot.DotScanner.symbols
static
Initial value:
1 = {
2  '[': LSQUARE,
3  ']': RSQUARE,
4  '{': LCURLY,
5  '}': RCURLY,
6  ',': COMMA,
7  ':': COLON,
8  ';': SEMI,
9  '=': EQUAL,
10  '+': PLUS,
11  }

Definition at line 889 of file xdot.py.

list smach_viewer.xdot.xdot.DotScanner.tokens
static
Initial value:
1 = [
2  # whitespace and comments
3  (SKIP,
4  r'[ \t\f\r\n\v]+|'
5  r'//[^\r\n]*|'
6  r'/\*.*?\*/|'
7  r'#[^\r\n]*',
8  False),
9 
10  # Alphanumeric IDs
11  (ID, r'[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*', True),
12 
13  # Numeric IDs
14  (ID, r'-?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)', False),
15 
16  # String IDs
17  (STR_ID, r'"[^"\\]*(?:\\.[^"\\]*)*"', False),
18 
19  # HTML IDs
20  (HTML_ID, r'<[^<>]*(?:<[^<>]*>[^<>]*)*>', False),
21 
22  # Edge operators
23  (EDGE_OP, r'-[>-]', False),
24  ]

Definition at line 863 of file xdot.py.


The documentation for this class was generated from the following file:


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Mon Jun 10 2019 13:13:42