Lines Matching full:102
60 u = V(token=CommonToken(type=102, text="102"))
70 # ^(101 ^(102 103) 104)
72 t.addChild(CommonTree(CommonToken(102)))
77 expecting = "101 102 103 104"
81 expecting = "101 2 102 2 103 3 104 3"
90 t.addChild(CommonTree(CommonToken(102)))
100 expecting = "101 102 103 104 105"
104 expecting = "101 2 102 2 103 3 104 3 105"
113 root.addChild(CommonTree(CommonToken(102)))
117 expecting = "101 102 103"
121 expecting = "101 102 103"
143 t.addChild(CommonTree(CommonToken(102)))
146 expecting = "101 102"
150 expecting = "101 2 102 3"
156 # ^(101 ^(102 103) 104)
158 t.addChild(CommonTree(CommonToken(102)))
165 self.failUnlessEqual(102, stream.LT(3).getType())
177 # ^(101 ^(102 103 ^(106 107) ) 104 105)
179 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
181 r1 = CommonTree(CommonToken(102))
210 # ^(101 ^(102 103 ^(106 107) ) 104 105)
212 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
214 r1 = CommonTree(CommonToken(102))
254 # ^(101 ^(102 103 ^(106 107) ) 104 105)
256 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
258 r1 = CommonTree(CommonToken(102))
271 m2 = stream.mark() # MARK on 102
272 stream.consume() # consume 102
276 stream.rewind(m2) # REWIND to 102
277 self.failUnlessEqual(102, stream.LT(1).getType())
287 self.failUnlessEqual(102, stream.LT(1).getType())
293 # ^(101 ^(102 103 ^(106 107) ) 104 105)
295 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
297 r1 = CommonTree(CommonToken(102))
309 stream.consume() # consume 102
319 # ^(101 ^(102 103 ^(106 107) ) 104 105)
321 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
323 r1 = CommonTree(CommonToken(102))
342 # ^(101 ^(102 103 ^(106 107) ) 104 105)
344 # Sequence of types: 101 DN 102 DN 103 106 DN 107 UP UP 104 105 UP EOF
346 r1 = CommonTree(CommonToken(102))
364 r1 = CommonTree(CommonToken(102))
376 101, DOWN, 102, DOWN, 103, 106, DOWN, 107, UP, UP, 104, 105, UP]
396 # ^(101 ^(102 103) ^(104 105) ^(106 107) 108 109)
398 # Sequence of types: 101 DN 102 DN 103 UP 104 DN 105 UP 106 DN 107 UP 108 109 UP
400 r1 = CommonTree(CommonToken(102))
413 expecting = "101 2 102 2 103 3 104 2 105 3 106 2 107 3 108 109 3"
417 # Assume we want to hit node 107 and then "call 102" then return
424 # CALL 102
427 self.failUnlessEqual(102, stream.LT(1).getType())
428 stream.consume() # consume 102
440 # ^(101 ^(102 103) ^(104 105) ^(106 107) 108 109)
442 # Sequence of types: 101 DN 102 DN 103 UP 104 DN 105 UP 106 DN 107 UP 108 109 UP
444 r1 = CommonTree(CommonToken(102))
458 # Assume we want to hit node 107 and then "call 102", which
467 # CALL 102
469 self.failUnlessEqual(102, stream.LT(1).getType())
470 stream.consume() # consume 102
480 stream.consume() # consume 102
486 # RETURN (to UP node in 102 subtree)
496 # ^(101 ^(102 103) ^(104 105) ^(106 107) 108 109)
498 # Sequence of types: 101 DN 102 DN 103 UP 104 DN 105 UP 106 DN 107 UP 108 109 UP
500 r1 = CommonTree(CommonToken(102))
521 # CALL 102
523 self.failUnlessEqual(102, stream.LT(1).getType())
524 stream.consume() # consume 102
537 stream.consume() # consume 102
564 # ^(101 ^(102 103) 104)
566 r0.addChild(CommonTree(CommonToken(102)))
575 # ^(nil 101 102 103)
579 c1=CommonTree(CommonToken(102))
595 # Add child ^(nil 101 102 103) to root 5
596 # should pull 101 102 103 directly to become 5's child list
603 c1=CommonTree(CommonToken(102))
622 # Add child ^(nil 101 102 103) to root ^(5 6)
623 # should add 101 102 103 to end of 5's child list
631 c1=CommonTree(CommonToken(102))
650 # ^(101 ^(102 103 ^(106 107) ) 104 105)
652 r1 = CommonTree(CommonToken(102))
669 # 5 becomes root of ^(nil 101 102 103)
674 oldRoot.addChild(CommonTree(CommonToken(102)))
682 # 5 becomes root of ^(101 102 103)
686 oldRoot.addChild(CommonTree(CommonToken(102)))
694 # ^(nil 5) becomes root of ^(nil 101 102 103)
700 oldRoot.addChild(CommonTree(CommonToken(102)))
708 # ^(nil 5) becomes root of ^(101 102 103)
713 oldRoot.addChild(CommonTree(CommonToken(102)))