groovy.ui
Class ShellCompleter

java.lang.Object
  extended bygroovy.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

Field Summary
private  java.util.ArrayList completions
           
private  GroovyShell shell
           
 
Constructor Summary
ShellCompleter(GroovyShell shell)
           
 
Method Summary
 java.util.List findCompletions(java.lang.String token)
           
private  void findLocalVariables(java.lang.String complete)
           
private  void findShellMethods(java.lang.String complete)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shell

private GroovyShell shell

completions

private java.util.ArrayList completions
Constructor Detail

ShellCompleter

public ShellCompleter(GroovyShell shell)
Method Detail

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.