Table of Contents

Class: PathSyntax ./src/peak/naming/syntax.py

Name parser

Base Classes   
object
Methods   
__init__
format
parse
  __init__ 
__init__ (
        self,
        direction=0,
        separator='',
        escape='',
        ignorecase=None,
        trimblanks=None,
        beginquote='',
        endquote='',
        beginquote2='',
        endquote2='',
        multi_quotes=False,
        decode_parts=True,
        )

Exceptions   
ValueError, "Begin quote 2 supplied without begin quote 1"
ValueError, "Direction must be 1, 0 (flat), or -1 (reverse)"
ValueError, "End quote 2 supplied without begin quote 2"
ValueError, "End quote supplied without begin quote"
ValueError, "Separator not meaningful for flat syntax"
ValueError, "Separator required for hierarchical syntax"
  format 
format ( self,  seq )

Format a sequence as a string in this syntax

  parse 
parse ( self,  aStr )

Parse a string according to defined syntax

Exceptions   
exceptions.InvalidName( startStr )

Table of Contents

This document was automatically generated on Mon Apr 22 01:11:05 2024 by HappyDoc version 2.1