Move get_node() to tree_node and replace all the custom classdefs/funcdefs.

This commit is contained in:
Dave Halter committed 2017-01-05 23:43:12 +01:00
1 parent b44f0aae5d
commit ae8e43d3c7
24 files changed
+90 -99

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ class CompiledObject(Context):
super(CompiledObject, self).__init__(evaluator, parent_context)
self.obj = obj
# This attribute will not be set for most classes, except for fakes.
self.classdef = faked_class
self.tree_node = faked_class
def get_root_node(self):
# To make things a bit easier with filters we add this method here.