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 1004 of file xdot.py.

Member Data Documentation

◆ ignorecase

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

Definition at line 1055 of file xdot.py.

◆ literals

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

Definition at line 1046 of file xdot.py.

◆ symbols

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

Definition at line 1033 of file xdot.py.

◆ tokens

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

Definition at line 1007 of file xdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09