MCPcopy Index your code
hub / github.com/beanshell/beanshell / eval

Method eval

src/bsh/BSHReturnStatement.java:35–45  ·  view source on GitHub ↗
(CallStack callstack, Interpreter interpreter)

Source from the content-addressed store, hash-verified

33 BSHReturnStatement(int id) { super(id); }
34
35 public Object eval(CallStack callstack, Interpreter interpreter)
36 throws EvalError
37 {
38 Object value;
39 if(jjtGetNumChildren() > 0)
40 value = ((SimpleNode)jjtGetChild(0)).eval(callstack, interpreter);
41 else
42 value = Primitive.VOID;
43
44 return new ReturnControl( kind, value, this );
45 }
46}
47

Callers

nothing calls this directly

Calls 3

jjtGetNumChildrenMethod · 0.65
evalMethod · 0.65
jjtGetChildMethod · 0.65

Tested by

no test coverage detected