private Variable getVariableAtNode ( int index , CallStack callstack ) throws UtilEvalError { Node nameNode = null ; if ( jjtGetChild ( index ) . jjtGetNumChildren ( ) > 0 && ( nameNode = jjtGetChild ( index ) . jjtGetChild ( 0 ) ) instanceof BSHAmbiguousName ) return callstack . top ( ) . getVariableImpl ( ( ( BSHAmbiguousName ) nameNode ) . text , true ) ; return null ; }
Get Variable for value at specified index .