Variable function ( Location arg0 , Type arg1 , String arg2 , boolean arg3 ) { if ( variables == null ) { variables = new HashMap < > ( ) ; } Variable loc0 = new Variable ( arg0 , arg2 , arg1 , getNextSlot ( ) , arg3 ) ; variables . put ( arg2 , loc0 ) ; nextSlotNumber += arg1 . arg1 . getSize ( ) ; return loc0 ; }
defines a variable at this scope internally . 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 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 boolean hasVariable 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