groovy.ui
Class ShellCompleter
java.lang.Object
groovy.ui.ShellCompleter
- All Implemented Interfaces:
- Completer
- public class ShellCompleter
- extends java.lang.Object
- implements Completer
Readline completion for InteractiveShell.
- Version:
- $Revision: 1.2 $
- Author:
- Yuri Schimke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shell
private GroovyShell shell
completions
private java.util.ArrayList completions
ShellCompleter
public ShellCompleter(GroovyShell shell)
findCompletions
public java.util.List findCompletions(java.lang.String token)
- Specified by:
findCompletions
in interface Completer
findShellMethods
private void findShellMethods(java.lang.String complete)
findLocalVariables
private void findLocalVariables(java.lang.String complete)
Copyright © 2003-2005 The Codehaus. All Rights Reserved.