Home | Trees | Indices | Help |
|
---|
|
object --+ | Token --+ | AggregateToken
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Return the raw text entered by the user. There is no default implementation of this method.
|
Expansions of subtokens are "multiplied" together. e.g. "a{u,v}b{w,x}" expands to ["aubw", "aubx", "avbw", "avbx"].
|
There is no default implementation of this method.
|
Modify this token by replacing the text between begin and end with the given text. begin defaults to the beginning of the token, end to the end, and txt to the empty string. Returns a 3-tuple:
The default implementation checks the insertion range, raising an exception in case of error, but does not perform the actual modify.
|
Return a list of completions for this token from the specified cursor location. If no possible completions exist, [] is returned. If possible completions exist, a list of strings is returned. The first item is the root of the completions, the rest are possible extensions of the root. Most tokens will return None if the cursor is not at the end. The default implementation returns nothing.
|
Return a representation of the token tree as a list of strings. The default implementation returns an empty list.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 14 22:46:37 2010 | http://epydoc.sourceforge.net |