|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.lang.groovy.GroovyReplImpl
public class GroovyReplImpl
Groovy REPL implementation.
| Constructor Summary | |
|---|---|
GroovyReplImpl()
|
|
| Method Summary | |
|---|---|
CompletionMatch |
complete(ReplSession session,
String prefix)
Perform completion. |
EvalResponse |
eval(ReplSession session,
String r2)
Evaluate a request |
String |
getDescription()
Returns a descripton of the REPL. |
String |
getName()
Return the repl name. |
boolean |
isActive()
Return true if this REPL is active. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroovyReplImpl()
| Method Detail |
|---|
public boolean isActive()
Repl
isActive in interface Replpublic String getName()
Repl
getName in interface Replpublic String getDescription()
Repl
getDescription in interface Repl
public EvalResponse eval(ReplSession session,
String r2)
Repl
eval in interface Replsession - the sessionr2 - the request to evaluate
public CompletionMatch complete(ReplSession session,
String prefix)
Repl
complete in interface Replsession - the sessionprefix - the prefix to complete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||