waveforms 2.0.2__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {waveforms-2.0.2 → waveforms-2.1.1}/PKG-INFO +2 -2
- {waveforms-2.0.2 → waveforms-2.1.1}/pyproject.toml +1 -1
- {waveforms-2.0.2 → waveforms-2.1.1}/tests/test_waveform.py +5 -0
- waveforms-2.1.1/waveforms/WaveformLexer.py +134 -0
- waveforms-2.1.1/waveforms/WaveformListener.py +228 -0
- waveforms-2.1.1/waveforms/WaveformParser.py +1241 -0
- waveforms-2.1.1/waveforms/__main__.py +35 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/utils.py +35 -5
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/version.py +1 -1
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/waveform.py +4 -0
- waveforms-2.1.1/waveforms/waveform_parser.py +316 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/PKG-INFO +2 -2
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/SOURCES.txt +3 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/requires.txt +1 -1
- waveforms-2.0.2/waveforms/__main__.py +0 -16
- waveforms-2.0.2/waveforms/waveform_parser.py +0 -285
- {waveforms-2.0.2 → waveforms-2.1.1}/LICENSE +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/MANIFEST.in +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/README.md +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/setup.cfg +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/setup.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/src/waveform.h +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/tests/test_multi_drag.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/tests/test_wavevstack.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/__init__.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/_waveform.pyi +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/_waveform.pyx +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/distortion.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms/multy_drag.py +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/dependency_links.txt +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/entry_points.txt +0 -0
- {waveforms-2.0.2 → waveforms-2.1.1}/waveforms.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waveforms
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: Edit waveforms used in experiment
|
|
5
5
|
Author-email: feihoo87 <feihoo87@gmail.com>
|
|
6
6
|
Maintainer-email: feihoo87 <feihoo87@gmail.com>
|
|
@@ -27,7 +27,7 @@ License-File: LICENSE
|
|
|
27
27
|
Requires-Dist: click>=7.1.2
|
|
28
28
|
Requires-Dist: dill>=0.3.6
|
|
29
29
|
Requires-Dist: numpy>=1.13.3
|
|
30
|
-
Requires-Dist:
|
|
30
|
+
Requires-Dist: antlr4-python3-runtime>=4.11.1
|
|
31
31
|
Requires-Dist: scipy>=1.0.0
|
|
32
32
|
Provides-Extra: full
|
|
33
33
|
Requires-Dist: msgpack>=1.0.5; extra == "full"
|
|
@@ -139,6 +139,11 @@ def test_chirp():
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
def test_parser():
|
|
142
|
+
assert wave_eval("one()") == one()
|
|
143
|
+
assert wave_eval("zero()") == zero()
|
|
144
|
+
assert wave_eval("pi") == pi
|
|
145
|
+
assert wave_eval("e") == e
|
|
146
|
+
|
|
142
147
|
w1 = (gaussian(10) <<
|
|
143
148
|
100) + square(20, edge=5, type='linear') * cos(2 * pi * 23.1)
|
|
144
149
|
w2 = wave_eval(
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Generated from Waveform.g4 by ANTLR 4.13.2
|
|
2
|
+
from antlr4 import *
|
|
3
|
+
from io import StringIO
|
|
4
|
+
import sys
|
|
5
|
+
if sys.version_info[1] > 5:
|
|
6
|
+
from typing import TextIO
|
|
7
|
+
else:
|
|
8
|
+
from typing.io import TextIO
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def serializedATN():
|
|
12
|
+
return [
|
|
13
|
+
4,0,22,169,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,
|
|
14
|
+
2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,
|
|
15
|
+
13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,
|
|
16
|
+
19,2,20,7,20,2,21,7,21,2,22,7,22,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,
|
|
17
|
+
1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,
|
|
18
|
+
11,1,11,3,11,73,8,11,1,12,4,12,76,8,12,11,12,12,12,77,1,12,1,12,
|
|
19
|
+
5,12,82,8,12,10,12,12,12,85,9,12,3,12,87,8,12,1,12,1,12,4,12,91,
|
|
20
|
+
8,12,11,12,12,12,92,3,12,95,8,12,1,12,1,12,3,12,99,8,12,1,12,4,12,
|
|
21
|
+
102,8,12,11,12,12,12,103,3,12,106,8,12,1,13,4,13,109,8,13,11,13,
|
|
22
|
+
12,13,110,1,14,1,14,3,14,115,8,14,1,14,1,14,1,15,1,15,5,15,121,8,
|
|
23
|
+
15,10,15,12,15,124,9,15,1,15,1,15,1,15,5,15,129,8,15,10,15,12,15,
|
|
24
|
+
132,9,15,1,15,3,15,135,8,15,1,16,1,16,1,16,1,16,1,16,1,16,3,16,143,
|
|
25
|
+
8,16,1,17,1,17,5,17,147,8,17,10,17,12,17,150,9,17,1,18,1,18,1,18,
|
|
26
|
+
1,19,1,19,1,19,1,20,1,20,1,20,1,21,4,21,162,8,21,11,21,12,21,163,
|
|
27
|
+
1,21,1,21,1,22,1,22,0,0,23,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,
|
|
28
|
+
9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,
|
|
29
|
+
20,41,21,43,22,45,0,1,0,8,2,0,69,69,101,101,2,0,43,43,45,45,3,0,
|
|
30
|
+
10,10,13,13,34,34,3,0,10,10,13,13,39,39,3,0,65,90,95,95,97,122,4,
|
|
31
|
+
0,48,57,65,90,95,95,97,122,3,0,9,10,13,13,32,32,1,0,48,57,186,0,
|
|
32
|
+
1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,
|
|
33
|
+
0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,
|
|
34
|
+
0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,
|
|
35
|
+
0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,
|
|
36
|
+
0,0,0,0,43,1,0,0,0,1,47,1,0,0,0,3,49,1,0,0,0,5,51,1,0,0,0,7,53,1,
|
|
37
|
+
0,0,0,9,55,1,0,0,0,11,57,1,0,0,0,13,59,1,0,0,0,15,61,1,0,0,0,17,
|
|
38
|
+
63,1,0,0,0,19,65,1,0,0,0,21,67,1,0,0,0,23,72,1,0,0,0,25,94,1,0,0,
|
|
39
|
+
0,27,108,1,0,0,0,29,114,1,0,0,0,31,134,1,0,0,0,33,142,1,0,0,0,35,
|
|
40
|
+
144,1,0,0,0,37,151,1,0,0,0,39,154,1,0,0,0,41,157,1,0,0,0,43,161,
|
|
41
|
+
1,0,0,0,45,167,1,0,0,0,47,48,5,61,0,0,48,2,1,0,0,0,49,50,5,94,0,
|
|
42
|
+
0,50,4,1,0,0,0,51,52,5,42,0,0,52,6,1,0,0,0,53,54,5,47,0,0,54,8,1,
|
|
43
|
+
0,0,0,55,56,5,43,0,0,56,10,1,0,0,0,57,58,5,45,0,0,58,12,1,0,0,0,
|
|
44
|
+
59,60,5,40,0,0,60,14,1,0,0,0,61,62,5,41,0,0,62,16,1,0,0,0,63,64,
|
|
45
|
+
5,44,0,0,64,18,1,0,0,0,65,66,5,91,0,0,66,20,1,0,0,0,67,68,5,93,0,
|
|
46
|
+
0,68,22,1,0,0,0,69,73,3,25,12,0,70,73,3,27,13,0,71,73,3,29,14,0,
|
|
47
|
+
72,69,1,0,0,0,72,70,1,0,0,0,72,71,1,0,0,0,73,24,1,0,0,0,74,76,3,
|
|
48
|
+
45,22,0,75,74,1,0,0,0,76,77,1,0,0,0,77,75,1,0,0,0,77,78,1,0,0,0,
|
|
49
|
+
78,86,1,0,0,0,79,83,5,46,0,0,80,82,3,45,22,0,81,80,1,0,0,0,82,85,
|
|
50
|
+
1,0,0,0,83,81,1,0,0,0,83,84,1,0,0,0,84,87,1,0,0,0,85,83,1,0,0,0,
|
|
51
|
+
86,79,1,0,0,0,86,87,1,0,0,0,87,95,1,0,0,0,88,90,5,46,0,0,89,91,3,
|
|
52
|
+
45,22,0,90,89,1,0,0,0,91,92,1,0,0,0,92,90,1,0,0,0,92,93,1,0,0,0,
|
|
53
|
+
93,95,1,0,0,0,94,75,1,0,0,0,94,88,1,0,0,0,95,105,1,0,0,0,96,98,7,
|
|
54
|
+
0,0,0,97,99,7,1,0,0,98,97,1,0,0,0,98,99,1,0,0,0,99,101,1,0,0,0,100,
|
|
55
|
+
102,3,45,22,0,101,100,1,0,0,0,102,103,1,0,0,0,103,101,1,0,0,0,103,
|
|
56
|
+
104,1,0,0,0,104,106,1,0,0,0,105,96,1,0,0,0,105,106,1,0,0,0,106,26,
|
|
57
|
+
1,0,0,0,107,109,3,45,22,0,108,107,1,0,0,0,109,110,1,0,0,0,110,108,
|
|
58
|
+
1,0,0,0,110,111,1,0,0,0,111,28,1,0,0,0,112,115,3,25,12,0,113,115,
|
|
59
|
+
3,27,13,0,114,112,1,0,0,0,114,113,1,0,0,0,115,116,1,0,0,0,116,117,
|
|
60
|
+
5,106,0,0,117,30,1,0,0,0,118,122,5,34,0,0,119,121,8,2,0,0,120,119,
|
|
61
|
+
1,0,0,0,121,124,1,0,0,0,122,120,1,0,0,0,122,123,1,0,0,0,123,125,
|
|
62
|
+
1,0,0,0,124,122,1,0,0,0,125,135,5,34,0,0,126,130,5,39,0,0,127,129,
|
|
63
|
+
8,3,0,0,128,127,1,0,0,0,129,132,1,0,0,0,130,128,1,0,0,0,130,131,
|
|
64
|
+
1,0,0,0,131,133,1,0,0,0,132,130,1,0,0,0,133,135,5,39,0,0,134,118,
|
|
65
|
+
1,0,0,0,134,126,1,0,0,0,135,32,1,0,0,0,136,137,5,112,0,0,137,143,
|
|
66
|
+
5,105,0,0,138,143,5,101,0,0,139,140,5,105,0,0,140,141,5,110,0,0,
|
|
67
|
+
141,143,5,102,0,0,142,136,1,0,0,0,142,138,1,0,0,0,142,139,1,0,0,
|
|
68
|
+
0,143,34,1,0,0,0,144,148,7,4,0,0,145,147,7,5,0,0,146,145,1,0,0,0,
|
|
69
|
+
147,150,1,0,0,0,148,146,1,0,0,0,148,149,1,0,0,0,149,36,1,0,0,0,150,
|
|
70
|
+
148,1,0,0,0,151,152,5,42,0,0,152,153,5,42,0,0,153,38,1,0,0,0,154,
|
|
71
|
+
155,5,60,0,0,155,156,5,60,0,0,156,40,1,0,0,0,157,158,5,62,0,0,158,
|
|
72
|
+
159,5,62,0,0,159,42,1,0,0,0,160,162,7,6,0,0,161,160,1,0,0,0,162,
|
|
73
|
+
163,1,0,0,0,163,161,1,0,0,0,163,164,1,0,0,0,164,165,1,0,0,0,165,
|
|
74
|
+
166,6,21,0,0,166,44,1,0,0,0,167,168,7,7,0,0,168,46,1,0,0,0,18,0,
|
|
75
|
+
72,77,83,86,92,94,98,103,105,110,114,122,130,134,142,148,163,1,6,
|
|
76
|
+
0,0
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
class WaveformLexer(Lexer):
|
|
80
|
+
|
|
81
|
+
atn = ATNDeserializer().deserialize(serializedATN())
|
|
82
|
+
|
|
83
|
+
decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
|
|
84
|
+
|
|
85
|
+
T__0 = 1
|
|
86
|
+
T__1 = 2
|
|
87
|
+
T__2 = 3
|
|
88
|
+
T__3 = 4
|
|
89
|
+
T__4 = 5
|
|
90
|
+
T__5 = 6
|
|
91
|
+
T__6 = 7
|
|
92
|
+
T__7 = 8
|
|
93
|
+
T__8 = 9
|
|
94
|
+
T__9 = 10
|
|
95
|
+
T__10 = 11
|
|
96
|
+
NUMBER = 12
|
|
97
|
+
REAL = 13
|
|
98
|
+
INT = 14
|
|
99
|
+
IMAG = 15
|
|
100
|
+
STRING = 16
|
|
101
|
+
CONSTANT = 17
|
|
102
|
+
ID = 18
|
|
103
|
+
POW = 19
|
|
104
|
+
LSHIFT = 20
|
|
105
|
+
RSHIFT = 21
|
|
106
|
+
WS = 22
|
|
107
|
+
|
|
108
|
+
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]
|
|
109
|
+
|
|
110
|
+
modeNames = [ "DEFAULT_MODE" ]
|
|
111
|
+
|
|
112
|
+
literalNames = [ "<INVALID>",
|
|
113
|
+
"'='", "'^'", "'*'", "'/'", "'+'", "'-'", "'('", "')'", "','",
|
|
114
|
+
"'['", "']'", "'**'", "'<<'", "'>>'" ]
|
|
115
|
+
|
|
116
|
+
symbolicNames = [ "<INVALID>",
|
|
117
|
+
"NUMBER", "REAL", "INT", "IMAG", "STRING", "CONSTANT", "ID",
|
|
118
|
+
"POW", "LSHIFT", "RSHIFT", "WS" ]
|
|
119
|
+
|
|
120
|
+
ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6",
|
|
121
|
+
"T__7", "T__8", "T__9", "T__10", "NUMBER", "REAL", "INT",
|
|
122
|
+
"IMAG", "STRING", "CONSTANT", "ID", "POW", "LSHIFT", "RSHIFT",
|
|
123
|
+
"WS", "DIGIT" ]
|
|
124
|
+
|
|
125
|
+
grammarFileName = "Waveform.g4"
|
|
126
|
+
|
|
127
|
+
def __init__(self, input=None, output:TextIO = sys.stdout):
|
|
128
|
+
super().__init__(input, output)
|
|
129
|
+
self.checkVersion("4.13.2")
|
|
130
|
+
self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
|
|
131
|
+
self._actions = None
|
|
132
|
+
self._predicates = None
|
|
133
|
+
|
|
134
|
+
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Generated from Waveform.g4 by ANTLR 4.13.2
|
|
2
|
+
from antlr4 import *
|
|
3
|
+
if "." in __name__:
|
|
4
|
+
from .WaveformParser import WaveformParser
|
|
5
|
+
else:
|
|
6
|
+
from WaveformParser import WaveformParser
|
|
7
|
+
|
|
8
|
+
# This class defines a complete listener for a parse tree produced by WaveformParser.
|
|
9
|
+
class WaveformListener(ParseTreeListener):
|
|
10
|
+
|
|
11
|
+
# Enter a parse tree produced by WaveformParser#expr.
|
|
12
|
+
def enterExpr(self, ctx:WaveformParser.ExprContext):
|
|
13
|
+
pass
|
|
14
|
+
|
|
15
|
+
# Exit a parse tree produced by WaveformParser#expr.
|
|
16
|
+
def exitExpr(self, ctx:WaveformParser.ExprContext):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# Enter a parse tree produced by WaveformParser#assignment.
|
|
21
|
+
def enterAssignment(self, ctx:WaveformParser.AssignmentContext):
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
# Exit a parse tree produced by WaveformParser#assignment.
|
|
25
|
+
def exitAssignment(self, ctx:WaveformParser.AssignmentContext):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# Enter a parse tree produced by WaveformParser#PowerExpression.
|
|
30
|
+
def enterPowerExpression(self, ctx:WaveformParser.PowerExpressionContext):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
# Exit a parse tree produced by WaveformParser#PowerExpression.
|
|
34
|
+
def exitPowerExpression(self, ctx:WaveformParser.PowerExpressionContext):
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# Enter a parse tree produced by WaveformParser#ConstantExpression.
|
|
39
|
+
def enterConstantExpression(self, ctx:WaveformParser.ConstantExpressionContext):
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
# Exit a parse tree produced by WaveformParser#ConstantExpression.
|
|
43
|
+
def exitConstantExpression(self, ctx:WaveformParser.ConstantExpressionContext):
|
|
44
|
+
pass
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# Enter a parse tree produced by WaveformParser#ListExpression.
|
|
48
|
+
def enterListExpression(self, ctx:WaveformParser.ListExpressionContext):
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
# Exit a parse tree produced by WaveformParser#ListExpression.
|
|
52
|
+
def exitListExpression(self, ctx:WaveformParser.ListExpressionContext):
|
|
53
|
+
pass
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# Enter a parse tree produced by WaveformParser#TupleExpression.
|
|
57
|
+
def enterTupleExpression(self, ctx:WaveformParser.TupleExpressionContext):
|
|
58
|
+
pass
|
|
59
|
+
|
|
60
|
+
# Exit a parse tree produced by WaveformParser#TupleExpression.
|
|
61
|
+
def exitTupleExpression(self, ctx:WaveformParser.TupleExpressionContext):
|
|
62
|
+
pass
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# Enter a parse tree produced by WaveformParser#NumberExpression.
|
|
66
|
+
def enterNumberExpression(self, ctx:WaveformParser.NumberExpressionContext):
|
|
67
|
+
pass
|
|
68
|
+
|
|
69
|
+
# Exit a parse tree produced by WaveformParser#NumberExpression.
|
|
70
|
+
def exitNumberExpression(self, ctx:WaveformParser.NumberExpressionContext):
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
# Enter a parse tree produced by WaveformParser#ShiftExpression.
|
|
75
|
+
def enterShiftExpression(self, ctx:WaveformParser.ShiftExpressionContext):
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
# Exit a parse tree produced by WaveformParser#ShiftExpression.
|
|
79
|
+
def exitShiftExpression(self, ctx:WaveformParser.ShiftExpressionContext):
|
|
80
|
+
pass
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# Enter a parse tree produced by WaveformParser#FunctionCallExpression.
|
|
84
|
+
def enterFunctionCallExpression(self, ctx:WaveformParser.FunctionCallExpressionContext):
|
|
85
|
+
pass
|
|
86
|
+
|
|
87
|
+
# Exit a parse tree produced by WaveformParser#FunctionCallExpression.
|
|
88
|
+
def exitFunctionCallExpression(self, ctx:WaveformParser.FunctionCallExpressionContext):
|
|
89
|
+
pass
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
# Enter a parse tree produced by WaveformParser#IdentifierExpression.
|
|
93
|
+
def enterIdentifierExpression(self, ctx:WaveformParser.IdentifierExpressionContext):
|
|
94
|
+
pass
|
|
95
|
+
|
|
96
|
+
# Exit a parse tree produced by WaveformParser#IdentifierExpression.
|
|
97
|
+
def exitIdentifierExpression(self, ctx:WaveformParser.IdentifierExpressionContext):
|
|
98
|
+
pass
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
# Enter a parse tree produced by WaveformParser#ParenthesesExpression.
|
|
102
|
+
def enterParenthesesExpression(self, ctx:WaveformParser.ParenthesesExpressionContext):
|
|
103
|
+
pass
|
|
104
|
+
|
|
105
|
+
# Exit a parse tree produced by WaveformParser#ParenthesesExpression.
|
|
106
|
+
def exitParenthesesExpression(self, ctx:WaveformParser.ParenthesesExpressionContext):
|
|
107
|
+
pass
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# Enter a parse tree produced by WaveformParser#UnaryMinusExpression.
|
|
111
|
+
def enterUnaryMinusExpression(self, ctx:WaveformParser.UnaryMinusExpressionContext):
|
|
112
|
+
pass
|
|
113
|
+
|
|
114
|
+
# Exit a parse tree produced by WaveformParser#UnaryMinusExpression.
|
|
115
|
+
def exitUnaryMinusExpression(self, ctx:WaveformParser.UnaryMinusExpressionContext):
|
|
116
|
+
pass
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
# Enter a parse tree produced by WaveformParser#MultiplyDivideExpression.
|
|
120
|
+
def enterMultiplyDivideExpression(self, ctx:WaveformParser.MultiplyDivideExpressionContext):
|
|
121
|
+
pass
|
|
122
|
+
|
|
123
|
+
# Exit a parse tree produced by WaveformParser#MultiplyDivideExpression.
|
|
124
|
+
def exitMultiplyDivideExpression(self, ctx:WaveformParser.MultiplyDivideExpressionContext):
|
|
125
|
+
pass
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
# Enter a parse tree produced by WaveformParser#AddSubtractExpression.
|
|
129
|
+
def enterAddSubtractExpression(self, ctx:WaveformParser.AddSubtractExpressionContext):
|
|
130
|
+
pass
|
|
131
|
+
|
|
132
|
+
# Exit a parse tree produced by WaveformParser#AddSubtractExpression.
|
|
133
|
+
def exitAddSubtractExpression(self, ctx:WaveformParser.AddSubtractExpressionContext):
|
|
134
|
+
pass
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
# Enter a parse tree produced by WaveformParser#StringExpression.
|
|
138
|
+
def enterStringExpression(self, ctx:WaveformParser.StringExpressionContext):
|
|
139
|
+
pass
|
|
140
|
+
|
|
141
|
+
# Exit a parse tree produced by WaveformParser#StringExpression.
|
|
142
|
+
def exitStringExpression(self, ctx:WaveformParser.StringExpressionContext):
|
|
143
|
+
pass
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
# Enter a parse tree produced by WaveformParser#NoArgFunction.
|
|
147
|
+
def enterNoArgFunction(self, ctx:WaveformParser.NoArgFunctionContext):
|
|
148
|
+
pass
|
|
149
|
+
|
|
150
|
+
# Exit a parse tree produced by WaveformParser#NoArgFunction.
|
|
151
|
+
def exitNoArgFunction(self, ctx:WaveformParser.NoArgFunctionContext):
|
|
152
|
+
pass
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
# Enter a parse tree produced by WaveformParser#ArgsFunction.
|
|
156
|
+
def enterArgsFunction(self, ctx:WaveformParser.ArgsFunctionContext):
|
|
157
|
+
pass
|
|
158
|
+
|
|
159
|
+
# Exit a parse tree produced by WaveformParser#ArgsFunction.
|
|
160
|
+
def exitArgsFunction(self, ctx:WaveformParser.ArgsFunctionContext):
|
|
161
|
+
pass
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
# Enter a parse tree produced by WaveformParser#KwargsFunction.
|
|
165
|
+
def enterKwargsFunction(self, ctx:WaveformParser.KwargsFunctionContext):
|
|
166
|
+
pass
|
|
167
|
+
|
|
168
|
+
# Exit a parse tree produced by WaveformParser#KwargsFunction.
|
|
169
|
+
def exitKwargsFunction(self, ctx:WaveformParser.KwargsFunctionContext):
|
|
170
|
+
pass
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
# Enter a parse tree produced by WaveformParser#ArgsKwargsFunction.
|
|
174
|
+
def enterArgsKwargsFunction(self, ctx:WaveformParser.ArgsKwargsFunctionContext):
|
|
175
|
+
pass
|
|
176
|
+
|
|
177
|
+
# Exit a parse tree produced by WaveformParser#ArgsKwargsFunction.
|
|
178
|
+
def exitArgsKwargsFunction(self, ctx:WaveformParser.ArgsKwargsFunctionContext):
|
|
179
|
+
pass
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
# Enter a parse tree produced by WaveformParser#args.
|
|
183
|
+
def enterArgs(self, ctx:WaveformParser.ArgsContext):
|
|
184
|
+
pass
|
|
185
|
+
|
|
186
|
+
# Exit a parse tree produced by WaveformParser#args.
|
|
187
|
+
def exitArgs(self, ctx:WaveformParser.ArgsContext):
|
|
188
|
+
pass
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
# Enter a parse tree produced by WaveformParser#kwargs.
|
|
192
|
+
def enterKwargs(self, ctx:WaveformParser.KwargsContext):
|
|
193
|
+
pass
|
|
194
|
+
|
|
195
|
+
# Exit a parse tree produced by WaveformParser#kwargs.
|
|
196
|
+
def exitKwargs(self, ctx:WaveformParser.KwargsContext):
|
|
197
|
+
pass
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
# Enter a parse tree produced by WaveformParser#kwarg.
|
|
201
|
+
def enterKwarg(self, ctx:WaveformParser.KwargContext):
|
|
202
|
+
pass
|
|
203
|
+
|
|
204
|
+
# Exit a parse tree produced by WaveformParser#kwarg.
|
|
205
|
+
def exitKwarg(self, ctx:WaveformParser.KwargContext):
|
|
206
|
+
pass
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
# Enter a parse tree produced by WaveformParser#list.
|
|
210
|
+
def enterList(self, ctx:WaveformParser.ListContext):
|
|
211
|
+
pass
|
|
212
|
+
|
|
213
|
+
# Exit a parse tree produced by WaveformParser#list.
|
|
214
|
+
def exitList(self, ctx:WaveformParser.ListContext):
|
|
215
|
+
pass
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
# Enter a parse tree produced by WaveformParser#tuple.
|
|
219
|
+
def enterTuple(self, ctx:WaveformParser.TupleContext):
|
|
220
|
+
pass
|
|
221
|
+
|
|
222
|
+
# Exit a parse tree produced by WaveformParser#tuple.
|
|
223
|
+
def exitTuple(self, ctx:WaveformParser.TupleContext):
|
|
224
|
+
pass
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
del WaveformParser
|