checks if a variable exists or not , in this scope or any parents . concode_field_sep Locals parent concode_elem_sep String THIS concode_elem_sep Map<String,Variable> variables concode_elem_sep Set<String> keywords concode_elem_sep Map<MethodKey,Method> methods concode_elem_sep int slot concode_elem_sep boolean used concode_elem_sep Type type concode_elem_sep Set<String> KEYWORDS concode_elem_sep boolean readonly concode_elem_sep String name concode_elem_sep Definition definition concode_elem_sep Location location concode_elem_sep String LOOP concode_elem_sep int nextSlotNumber concode_elem_sep Type returnType concode_field_sep Locals getProgramScope concode_elem_sep Definition getDefinition concode_elem_sep Method lookupMethod concode_elem_sep Variable defineVariable concode_elem_sep Locals newLocalScope concode_elem_sep Locals getParent concode_elem_sep int getNextSlot concode_elem_sep Variable lookupVariable concode_elem_sep Method getMethod concode_elem_sep Variable getVariable concode_elem_sep Locals newMainMethodScope concode_elem_sep Variable addVariable concode_elem_sep Locals newFunctionScope concode_elem_sep int getSlot concode_elem_sep Type getReturnType concode_elem_sep String toString concode_elem_sep Locals newLambdaScope concode_elem_sep Locals newProgramScope concode_elem_sep void addMethod
boolean function ( String arg0 ) { Variable loc0 = lookupVariable ( null , arg0 ) ; if ( loc0 != null ) { return true ; } if ( parent != null ) { return parent . hasVariable ( arg0 ) ; } return false ; }