1# Generated from STIXPattern.g4 by ANTLR 4.8 2from antlr4 import * 3 4# This class defines a complete listener for a parse tree produced by STIXPatternParser. 5class STIXPatternListener(ParseTreeListener): 6 7 # Enter a parse tree produced by STIXPatternParser#pattern. 8 def enterPattern(self, ctx): 9 pass 10 11 # Exit a parse tree produced by STIXPatternParser#pattern. 12 def exitPattern(self, ctx): 13 pass 14 15 16 # Enter a parse tree produced by STIXPatternParser#observationExpressions. 17 def enterObservationExpressions(self, ctx): 18 pass 19 20 # Exit a parse tree produced by STIXPatternParser#observationExpressions. 21 def exitObservationExpressions(self, ctx): 22 pass 23 24 25 # Enter a parse tree produced by STIXPatternParser#observationExpressionOr. 26 def enterObservationExpressionOr(self, ctx): 27 pass 28 29 # Exit a parse tree produced by STIXPatternParser#observationExpressionOr. 30 def exitObservationExpressionOr(self, ctx): 31 pass 32 33 34 # Enter a parse tree produced by STIXPatternParser#observationExpressionAnd. 35 def enterObservationExpressionAnd(self, ctx): 36 pass 37 38 # Exit a parse tree produced by STIXPatternParser#observationExpressionAnd. 39 def exitObservationExpressionAnd(self, ctx): 40 pass 41 42 43 # Enter a parse tree produced by STIXPatternParser#observationExpressionRepeated. 44 def enterObservationExpressionRepeated(self, ctx): 45 pass 46 47 # Exit a parse tree produced by STIXPatternParser#observationExpressionRepeated. 48 def exitObservationExpressionRepeated(self, ctx): 49 pass 50 51 52 # Enter a parse tree produced by STIXPatternParser#observationExpressionSimple. 53 def enterObservationExpressionSimple(self, ctx): 54 pass 55 56 # Exit a parse tree produced by STIXPatternParser#observationExpressionSimple. 57 def exitObservationExpressionSimple(self, ctx): 58 pass 59 60 61 # Enter a parse tree produced by STIXPatternParser#observationExpressionCompound. 62 def enterObservationExpressionCompound(self, ctx): 63 pass 64 65 # Exit a parse tree produced by STIXPatternParser#observationExpressionCompound. 66 def exitObservationExpressionCompound(self, ctx): 67 pass 68 69 70 # Enter a parse tree produced by STIXPatternParser#observationExpressionWithin. 71 def enterObservationExpressionWithin(self, ctx): 72 pass 73 74 # Exit a parse tree produced by STIXPatternParser#observationExpressionWithin. 75 def exitObservationExpressionWithin(self, ctx): 76 pass 77 78 79 # Enter a parse tree produced by STIXPatternParser#observationExpressionStartStop. 80 def enterObservationExpressionStartStop(self, ctx): 81 pass 82 83 # Exit a parse tree produced by STIXPatternParser#observationExpressionStartStop. 84 def exitObservationExpressionStartStop(self, ctx): 85 pass 86 87 88 # Enter a parse tree produced by STIXPatternParser#comparisonExpression. 89 def enterComparisonExpression(self, ctx): 90 pass 91 92 # Exit a parse tree produced by STIXPatternParser#comparisonExpression. 93 def exitComparisonExpression(self, ctx): 94 pass 95 96 97 # Enter a parse tree produced by STIXPatternParser#comparisonExpressionAnd. 98 def enterComparisonExpressionAnd(self, ctx): 99 pass 100 101 # Exit a parse tree produced by STIXPatternParser#comparisonExpressionAnd. 102 def exitComparisonExpressionAnd(self, ctx): 103 pass 104 105 106 # Enter a parse tree produced by STIXPatternParser#propTestEqual. 107 def enterPropTestEqual(self, ctx): 108 pass 109 110 # Exit a parse tree produced by STIXPatternParser#propTestEqual. 111 def exitPropTestEqual(self, ctx): 112 pass 113 114 115 # Enter a parse tree produced by STIXPatternParser#propTestOrder. 116 def enterPropTestOrder(self, ctx): 117 pass 118 119 # Exit a parse tree produced by STIXPatternParser#propTestOrder. 120 def exitPropTestOrder(self, ctx): 121 pass 122 123 124 # Enter a parse tree produced by STIXPatternParser#propTestSet. 125 def enterPropTestSet(self, ctx): 126 pass 127 128 # Exit a parse tree produced by STIXPatternParser#propTestSet. 129 def exitPropTestSet(self, ctx): 130 pass 131 132 133 # Enter a parse tree produced by STIXPatternParser#propTestLike. 134 def enterPropTestLike(self, ctx): 135 pass 136 137 # Exit a parse tree produced by STIXPatternParser#propTestLike. 138 def exitPropTestLike(self, ctx): 139 pass 140 141 142 # Enter a parse tree produced by STIXPatternParser#propTestRegex. 143 def enterPropTestRegex(self, ctx): 144 pass 145 146 # Exit a parse tree produced by STIXPatternParser#propTestRegex. 147 def exitPropTestRegex(self, ctx): 148 pass 149 150 151 # Enter a parse tree produced by STIXPatternParser#propTestIsSubset. 152 def enterPropTestIsSubset(self, ctx): 153 pass 154 155 # Exit a parse tree produced by STIXPatternParser#propTestIsSubset. 156 def exitPropTestIsSubset(self, ctx): 157 pass 158 159 160 # Enter a parse tree produced by STIXPatternParser#propTestIsSuperset. 161 def enterPropTestIsSuperset(self, ctx): 162 pass 163 164 # Exit a parse tree produced by STIXPatternParser#propTestIsSuperset. 165 def exitPropTestIsSuperset(self, ctx): 166 pass 167 168 169 # Enter a parse tree produced by STIXPatternParser#propTestParen. 170 def enterPropTestParen(self, ctx): 171 pass 172 173 # Exit a parse tree produced by STIXPatternParser#propTestParen. 174 def exitPropTestParen(self, ctx): 175 pass 176 177 178 # Enter a parse tree produced by STIXPatternParser#startStopQualifier. 179 def enterStartStopQualifier(self, ctx): 180 pass 181 182 # Exit a parse tree produced by STIXPatternParser#startStopQualifier. 183 def exitStartStopQualifier(self, ctx): 184 pass 185 186 187 # Enter a parse tree produced by STIXPatternParser#withinQualifier. 188 def enterWithinQualifier(self, ctx): 189 pass 190 191 # Exit a parse tree produced by STIXPatternParser#withinQualifier. 192 def exitWithinQualifier(self, ctx): 193 pass 194 195 196 # Enter a parse tree produced by STIXPatternParser#repeatedQualifier. 197 def enterRepeatedQualifier(self, ctx): 198 pass 199 200 # Exit a parse tree produced by STIXPatternParser#repeatedQualifier. 201 def exitRepeatedQualifier(self, ctx): 202 pass 203 204 205 # Enter a parse tree produced by STIXPatternParser#objectPath. 206 def enterObjectPath(self, ctx): 207 pass 208 209 # Exit a parse tree produced by STIXPatternParser#objectPath. 210 def exitObjectPath(self, ctx): 211 pass 212 213 214 # Enter a parse tree produced by STIXPatternParser#objectType. 215 def enterObjectType(self, ctx): 216 pass 217 218 # Exit a parse tree produced by STIXPatternParser#objectType. 219 def exitObjectType(self, ctx): 220 pass 221 222 223 # Enter a parse tree produced by STIXPatternParser#firstPathComponent. 224 def enterFirstPathComponent(self, ctx): 225 pass 226 227 # Exit a parse tree produced by STIXPatternParser#firstPathComponent. 228 def exitFirstPathComponent(self, ctx): 229 pass 230 231 232 # Enter a parse tree produced by STIXPatternParser#indexPathStep. 233 def enterIndexPathStep(self, ctx): 234 pass 235 236 # Exit a parse tree produced by STIXPatternParser#indexPathStep. 237 def exitIndexPathStep(self, ctx): 238 pass 239 240 241 # Enter a parse tree produced by STIXPatternParser#pathStep. 242 def enterPathStep(self, ctx): 243 pass 244 245 # Exit a parse tree produced by STIXPatternParser#pathStep. 246 def exitPathStep(self, ctx): 247 pass 248 249 250 # Enter a parse tree produced by STIXPatternParser#keyPathStep. 251 def enterKeyPathStep(self, ctx): 252 pass 253 254 # Exit a parse tree produced by STIXPatternParser#keyPathStep. 255 def exitKeyPathStep(self, ctx): 256 pass 257 258 259 # Enter a parse tree produced by STIXPatternParser#setLiteral. 260 def enterSetLiteral(self, ctx): 261 pass 262 263 # Exit a parse tree produced by STIXPatternParser#setLiteral. 264 def exitSetLiteral(self, ctx): 265 pass 266 267 268 # Enter a parse tree produced by STIXPatternParser#primitiveLiteral. 269 def enterPrimitiveLiteral(self, ctx): 270 pass 271 272 # Exit a parse tree produced by STIXPatternParser#primitiveLiteral. 273 def exitPrimitiveLiteral(self, ctx): 274 pass 275 276 277 # Enter a parse tree produced by STIXPatternParser#orderableLiteral. 278 def enterOrderableLiteral(self, ctx): 279 pass 280 281 # Exit a parse tree produced by STIXPatternParser#orderableLiteral. 282 def exitOrderableLiteral(self, ctx): 283 pass 284 285 286