On Nov 16, 9:20 am, "Edward K. Ream" <edream...@gmail.com> wrote:

> Getter functions return query objects, o, or lists of query objects::
>
>     o = module(file_name) # Parses the file into a query object, o.
>     aList = assignments(o)
>     aList = classes(o)
>     aList = defs(o)
>     aList = statements(o)
>     ast_tree = tree(o)

Clearly, these getters should be methods of o::

    aList = o.assignments()
    aList = o.classes()
    etc.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to