include LISTENER and WALKER in package
This commit is contained in:
parent
a2146940f7
commit
8b7ecad7bc
|
@ -7,6 +7,8 @@ from .bacon import (
|
||||||
SyntaxErrorListener,
|
SyntaxErrorListener,
|
||||||
load_config,
|
load_config,
|
||||||
comment,
|
comment,
|
||||||
|
WALKER,
|
||||||
|
LISTENER,
|
||||||
)
|
)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
@ -16,4 +18,6 @@ __all__ = [
|
||||||
"SyntaxErrorListener",
|
"SyntaxErrorListener",
|
||||||
"load_config",
|
"load_config",
|
||||||
"comment",
|
"comment",
|
||||||
|
"WALKER",
|
||||||
|
"LISTENER",
|
||||||
]
|
]
|
||||||
|
|
|
@ -2,7 +2,13 @@
|
||||||
|
|
||||||
from .hog4 import HogNet
|
from .hog4 import HogNet
|
||||||
from .OscListener import beautify_lisp_string, OscCommentMacroListener
|
from .OscListener import beautify_lisp_string, OscCommentMacroListener
|
||||||
from .script import SyntaxErrorListener, load_config, comment
|
from .script import (
|
||||||
|
SyntaxErrorListener,
|
||||||
|
load_config,
|
||||||
|
comment,
|
||||||
|
WALKER,
|
||||||
|
LISTENER
|
||||||
|
)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"HogNet",
|
"HogNet",
|
||||||
|
@ -17,4 +23,6 @@ __all__ = [
|
||||||
"SyntaxErrorListener",
|
"SyntaxErrorListener",
|
||||||
"load_config",
|
"load_config",
|
||||||
"comment",
|
"comment",
|
||||||
|
"WALKER",
|
||||||
|
"LISTENER",
|
||||||
]
|
]
|
||||||
|
|
|
@ -16,6 +16,8 @@ __all__ = [
|
||||||
"SyntaxErrorListener",
|
"SyntaxErrorListener",
|
||||||
"load_config",
|
"load_config",
|
||||||
"comment",
|
"comment",
|
||||||
|
"WALKER",
|
||||||
|
"LISTENER",
|
||||||
]
|
]
|
||||||
|
|
||||||
class SyntaxErrorListener(ErrorListener):
|
class SyntaxErrorListener(ErrorListener):
|
||||||
|
|
5
bs.py
5
bs.py
|
@ -5,9 +5,8 @@
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
from bacon.script import comment, LISTENER
|
from .bacon import comment, LISTENER, HogNet
|
||||||
from bacon.script import load_config as loadBsConfig
|
from .bacon import load_config as loadBsConfig
|
||||||
from bacon.hog4 import HogNet
|
|
||||||
|
|
||||||
|
|
||||||
# setup logging
|
# setup logging
|
||||||
|
|
Loading…
Reference in New Issue