1. Volker Birk
  2. pyPEG

Commits

Volker Birk  committed 6cddf59

renicing docu

  • Participants
  • Parent commits 3f8aacd
  • Branches default

Comments (0)

Files changed (2)

File docs/grammar_elements.en.yhtml2

View file
  • Ignore whitespace
         >>
 
     glossary {
-        term 'word = re.compile(r"\w+")' > Regular expression for scanning a word.
-        term 'restline = re.compile(r".*")' > Regular expression for rest of line.
+        term 'word = re.compile(r"\w+")'
+            > Regular expression for scanning a word.
+        term 'restline = re.compile(r".*")'
+            > Regular expression for rest of line.
         term 'whitespace = re.compile("(?m)\s+")'
             > Regular expression for scanning whitespace.
-        term 'comment_sh  = re.compile(r"\#.*")' > Shell script style comment.
-        term 'comment_cpp = re.compile(r"//.*")' > C++ style comment.
+        term 'comment_sh  = re.compile(r"\#.*")'
+            > Shell script style comment.
+        term 'comment_cpp = re.compile(r"//.*")'
+            > C++ style comment.
         term 'comment_c   = re.compile(r"(?m)/\*.*?\*/")'
             > C style comment without nesting comments.
         term 'comment_pas = re.compile(r"(?m)\(\*.*?\*\)")'
     h4 > Class variables
 
     glossary {
-        term "regex" > regular expression to scan, default «re.compile(r"\w+")»
+        term "regex"
+            > regular expression to scan, default «re.compile(r"\w+")»
         term "check_keywords"
             > flag if a «Symbol» has to be checked for not being a «Keyword»; default: «False»
     }

File docs/parser_engine.en.yhtml2

View file
  • Ignore whitespace
     glossary {
         term "whitespace"
             > regular expression to scan whitespace; default: «re.compile(r"(?m)\s+")»
-        term "comment" > «grammar» to parse comments; default: «None»
-        term "last_error" > after parsing, «SyntaxError» which ended parsing
-        term "indent" > string to use to indent while composing; default: four spaces
-        term "indention_level" > level to indent to; default: «0»
-        term "text" > original text to parse; set for decorated syntax errors
-        term "filename" > filename where text is origin from
+        term "comment"
+            > «grammar» to parse comments; default: «None»
+        term "last_error"
+            > after parsing, «SyntaxError» which ended parsing
+        term "indent"
+            > string to use to indent while composing; default: four spaces
+        term "indention_level"
+            > level to indent to; default: «0»
+        term "text"
+            > original text to parse; set for decorated syntax errors
+        term "filename"
+            > filename where text is origin from
     }
 }