protected AVariableExp getVarExp ( ILexNameToken name , PDefinition vardef ) { AVariableExp var = new AVariableExp ( ) ; var . setName ( name . clone ( ) ) ; var . setOriginal ( name . getFullName ( ) ) ; var . setVardef ( vardef . clone ( ) ) ; return var ; }
Generate AVariableExp with corresponding definition