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

◆ ignorecase

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

Definition at line 911 of file xdot.py.

◆ literals

dictionary smach_viewer.xdot.xdot.DotScanner.literals
static
Initial value:
= {
'strict': STRICT,
'graph': GRAPH,
'digraph': DIGRAPH,
'node': NODE,
'edge': EDGE,
'subgraph': SUBGRAPH,
}

Definition at line 902 of file xdot.py.

◆ symbols

dictionary smach_viewer.xdot.xdot.DotScanner.symbols
static
Initial value:
= {
'[': LSQUARE,
']': RSQUARE,
'{': LCURLY,
'}': RCURLY,
',': COMMA,
':': COLON,
';': SEMI,
'=': EQUAL,
'+': PLUS,
}

Definition at line 889 of file xdot.py.

◆ tokens

list smach_viewer.xdot.xdot.DotScanner.tokens
static
Initial value:
= [
# whitespace and comments
(SKIP,
r'[ \t\f\r\n\v]+|'
r'//[^\r\n]*|'
r'/\*.*?\*/|'
r'#[^\r\n]*',
False),
# Alphanumeric IDs
(ID, r'[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*', True),
# Numeric IDs
(ID, r'-?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)', False),
# String IDs
(STR_ID, r'"[^"\\]*(?:\\.[^"\\]*)*"', False),
# HTML IDs
(HTML_ID, r'<[^<>]*(?:<[^<>]*>[^<>]*)*>', False),
# Edge operators
(EDGE_OP, r'-[>-]', False),
]

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 Feb 28 2022 22:18:54