We have the variable: either it was declared here with a type, giving it block local scope or an untyped var was explicitly set here via setBlockVariable().
( String name )
| 94 | setBlockVariable(). |
| 95 | */ |
| 96 | private boolean weHaveVar( String name ) |
| 97 | { |
| 98 | // super.variables.containsKey( name ) not any faster, I checked |
| 99 | try { |
| 100 | return super.getVariableImpl( name, false ) != null; |
| 101 | } catch ( UtilEvalError e ) { return false; } |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | Get the actual BlockNameSpace 'this' reference. |
no test coverage detected