|
__init__(self,
do_aliases=True)
Create a new CommandToken token. |
|
|
|
insert(self,
loc,
txt)
Insert the provided text at the given location, raising an exception
in case of error. |
|
|
|
delete(self,
loc,
count=1)
Delete count characters at the given location, raising an exception
in case of error. |
|
|
|
modify(self,
txt='
' ,
begin=0,
end=None)
Modify this token by replacing the text between begin and end with
the given text. |
|
|
|
|
|
expand(self)
Command expansion is to concatenate the results of expansions of the
Args into a list of parameters. |
|
|
|
completions(self,
cloc)
Return a list of completions for this token from the specified cursor
location. |
|
|
|
expand_directives(self)
Like parameter expansion, directives are concatenated into a list. |
|
|
Inherited from AggregateToken :
__len__ ,
__str__ ,
dump
Inherited from Token :
commences ,
terminated ,
terminates
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|