Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
7399094c
Commit
7399094c
authored
Mar 18, 2019
by
di68kap
Browse files
- development merged into master
parent
7e3c5056
Changes
11
Hide whitespace changes
Inline
Side-by-side
examples/Arithmetic/ArithmeticCompiler.py
View file @
7399094c
...
...
@@ -59,7 +59,7 @@ class ArithmeticGrammar(Grammar):
r
"""Parser for an Arithmetic source file.
"""
expression
=
Forward
()
source_hash__
=
"
6faf44b68f841558886fbdec4e0e13f7
"
source_hash__
=
"
20c6ec451784ce19bed29a4f141c4363
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticRightRecursive/ArithmeticRightRecursiveCompiler.py
View file @
7399094c
...
...
@@ -63,7 +63,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
sign
=
Forward
()
tail
=
Forward
()
term
=
Forward
()
source_hash__
=
"
59dabcef8ed22bb237a3d16649cfd49
b"
source_hash__
=
"
f1bf4bfc9852f779d0ffe210c1ccf0d
b"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticSimple/ArithmeticRightRecursiveCompiler.py
View file @
7399094c
...
...
@@ -60,7 +60,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
"""
expression
=
Forward
()
term
=
Forward
()
source_hash__
=
"
a4c454a8ffa4576989f457a1377636ff
"
source_hash__
=
"
efea40aaf7475d6c8cbddd969e2d6b5b
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticSimple/ArithmeticSimpleCompiler.py
View file @
7399094c
...
...
@@ -59,7 +59,7 @@ class ArithmeticSimpleGrammar(Grammar):
r
"""Parser for an ArithmeticSimple source file.
"""
expression
=
Forward
()
source_hash__
=
"
1c40730b32be73985d09f105e76bb4c4
"
source_hash__
=
"
8f63d4fd3488afa0551c18f5d7d8fc19
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/BibTeX/BibTeXCompiler.py
View file @
7399094c
...
...
@@ -57,7 +57,7 @@ class BibTeXGrammar(Grammar):
r
"""Parser for a BibTeX source file.
"""
text
=
Forward
()
source_hash__
=
"
ff0929f0cf7acc756b10afe64c0a390d
"
source_hash__
=
"
090e7cf86e9f66967d5f94a9d1c1d99e
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/EBNF/EBNFCompiler.py
View file @
7399094c
...
...
@@ -59,7 +59,7 @@ class EBNFGrammar(Grammar):
r
"""Parser for an EBNF source file.
"""
expression
=
Forward
()
source_hash__
=
"
ed51d49519baa3216def989ff9c32e7c
"
source_hash__
=
"
0a4657b403c537e8305c9ff3d3c90472
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/LaTeX/LaTeXCompiler.py
View file @
7399094c
...
...
@@ -154,7 +154,7 @@ class LaTeXGrammar(Grammar):
root__
=
latexdoc
def
get_grammar
()
->
LaTeXGrammar
:
global
GLOBALS
"""Returns a thread/process-exclusive LaTeXGrammar-singleton."""
try
:
grammar
=
GLOBALS
.
LaTeX_00000001_grammar_singleton
except
AttributeError
:
...
...
examples/Tutorial/LyrikCompiler.py
View file @
7399094c
...
...
@@ -59,7 +59,7 @@ def get_preprocessor() -> PreprocessorFunc:
class
LyrikGrammar
(
Grammar
):
r
"""Parser for a Lyrik source file.
"""
source_hash__
=
"
5b004b12da92b1fd4f6fc899f435c205
"
source_hash__
=
"
482df1ca1ff6088c06029775578eceed
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/Tutorial/Lyrik_explicit_whitespaceCompiler.py
View file @
7399094c
...
...
@@ -58,7 +58,7 @@ def get_preprocessor() -> PreprocessorFunc:
class
Lyrik_explicit_whitespaceGrammar
(
Grammar
):
r
"""Parser for a Lyrik_explicit_whitespace source file.
"""
source_hash__
=
"
3ff7de61fcafd6028ec4faf6bce8df2d
"
source_hash__
=
"
5c2c8a19e31d7d731fac4a0187b44b32
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/XML/XMLCompiler.py
View file @
7399094c
...
...
@@ -67,7 +67,7 @@ class XMLGrammar(Grammar):
extSubsetDecl
=
Forward
()
ignoreSectContents
=
Forward
()
markupdecl
=
Forward
()
source_hash__
=
"6
b03acd8cd6587cbfe1f01d384710fe7
"
source_hash__
=
"6
e104ce4a07a419fcafcfdf04f27a042
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/XMLSnippet/XMLSnippetCompiler.py
View file @
7399094c
...
...
@@ -60,7 +60,7 @@ class XMLSnippetGrammar(Grammar):
"""
Name
=
Forward
()
element
=
Forward
()
source_hash__
=
"
97b3e235d06ed7435fd3f4aeef5c2a89
"
source_hash__
=
"
3cc68a13c706e7c74498f5ef6d49a715
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment