@ Nonnull public PreprocessorContext removeLocalVariable ( @ Nonnull final String name ) { assertNotNull ( "Variable name is null" , name ) ; final String normalized = assertNotNull ( PreprocessorUtils . normalizeVariableName ( name ) ) ; if ( normalized . isEmpty ( ) ) { throw makeException ( "Empty variable name" , null ) ; } if ( mapVariableNameToSpecialVarProcessor . containsKey ( normalized ) || globalVarTable . containsKey ( normalized ) ) { throw makeException ( "Attempting to remove either a global variable or a special variable as a local one [" + normalized + ' ' , null ) ; } if ( isVerbose ( ) ) { logForVerbose ( "Removing local variable '" + normalized + "\'" ) ; } localVarTable . remove ( normalized ) ; return this ; }
Remove a local variable value from the context .