Lines Matching refs:new
13 @adaptor = CommonTreeAdaptor.new
17 CommonTreeNodeStream.new(t)
21 t = CommonTree.new(CommonToken.new { |t| t.type = 101 })
36 v = Class.new(CommonTree) do
39 super(token || (CommonToken.new { |t| t.type = type } if type))
47 t = v.new(nil, 101, 2)
48 u = v.new CommonToken.create(:type => 102, :text => '102')
60 t = CommonTree.new CommonToken[101]
61 t.add_child( CommonTree.new CommonToken[102] )
62 t.child(0).add_child(CommonTree.new CommonToken[103])
63 t.add_child(CommonTree.new CommonToken[104])
77 root = CommonTree.new(nil)
78 t = CommonTree.new CommonToken[101]
79 t.add_child CommonTree.new(CommonToken[102])
80 t.child(0).add_child(CommonTree.new(CommonToken[103]))
81 t.add_child(CommonTree.new(CommonToken[104]))
83 u = CommonTree.new CommonToken[105]
88 stream = CommonTreeNodeStream.new(root)
100 root = CommonTree.new(nil)
102 root.add_child CommonTree.new(CommonToken[101])
103 root.add_child(CommonTree.new(CommonToken[102]))
104 root.add_child(CommonTree.new(CommonToken[103]))
106 stream = CommonTreeNodeStream.new( root )
118 root = CommonTree.new(nil)
120 root.add_child(CommonTree.new(CommonToken[101]))
122 stream = CommonTreeNodeStream.new(root)
134 t = CommonTree.new(CommonToken[101])
135 t.add_child(CommonTree.new(CommonToken[102]))
149 t = CommonTree.new CommonToken[101]
150 t.add_child CommonTree.new(CommonToken[102])
151 t.child(0).add_child(CommonTree.new(CommonToken[103]))
152 t.add_child(CommonTree.new(CommonToken[104]))
173 stream = CommonTreeNodeStream.new(r0)
199 stream = CommonTreeNodeStream.new(r0)
232 stream = CommonTreeNodeStream.new(r0)
266 stream = CommonTreeNodeStream.new(r0)
285 stream = CommonTreeNodeStream.new(r0)
307 CommonTree.new(token)
337 stream = CommonTreeNodeStream.new(r0)
375 stream = CommonTreeNodeStream.new(r0)
417 stream = CommonTreeNodeStream.new(r0)
451 CommonTree.new(token)
458 @adaptor = CommonTreeAdaptor.new
485 r0 = CommonTree.new(nil)
506 r0 = CommonTree.new(nil)
530 r0 = CommonTree.new(nil)
787 CommonTree.new(token)
800 @wizard = Wizard.new( :token_scheme => Tokens )