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

Method eval

src/bsh/BSHSwitchLabel.java:33–40  ·  view source on GitHub ↗
(
		CallStack callstack, Interpreter interpreter)

Source from the content-addressed store, hash-verified

31 public BSHSwitchLabel(int id) { super(id); }
32
33 public Object eval(
34 CallStack callstack, Interpreter interpreter) throws EvalError
35 {
36 if ( isDefault )
37 return null; // should probably error
38 SimpleNode label = ((SimpleNode)jjtGetChild(0));
39 return label.eval( callstack, interpreter );
40 }
41}

Callers 1

evalMethod · 0.95

Calls 2

evalMethod · 0.95
jjtGetChildMethod · 0.65

Tested by

no test coverage detected