| |
- dispatch(source, tag, buffer)
- Dispatch on source for tag with buffer
Find the attribute or key tag[0] of source,
then call it with (tag, buffer)
- dispatchList(source, taglist, buffer)
- Dispatch on source for each tag in taglist with buffer
- getString((tag, left, right, sublist), buffer)
- Return the string value of the tag passed
- lines(start=None, end=None, buffer=None)
- Return line number in file at character index (mx.TextTools version)
- multiMap(taglist, source=None, buffer=None)
- Convert a taglist to a mapping from tag-object:[list-of-tags]
For instance, if you have items of 3 different types, in any order,
you can retrieve them all sorted by type with multimap( childlist)
then access them by tagobject key.
- singleMap(taglist, source=None, buffer=None)
- Convert a taglist to a mapping from tag-object:tag, overwritting early with late tags
|