Fix GDScript autocompletion with `as` or typed variables
Fix GDScript autocompletion with `as` or typed variables

Fixes #31818, fixes #33434

MarianoGnu/godot,guilhermefelipecgs/godot,vnen/godot,akien-mga/godot,godotengine/godot,Valentactive/godot,MarianoGnu/godot,MarianoGnu/godot,Faless/godot,guilhermefelipecgs/godot,josempans/godot,DmitriySalnikov/godot,Valentactive/godot,godotengine/godot,ex/godot,vnen/godot,Zylann/godot,Faless/godot,guilhermefelipecgs/godot,pkowal1982/godot,godotengine/godot,sanikoyes/godot,Valentactive/godot,guilhermefelipecgs/godot,vnen/godot,akien-mga/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,firefly2442/godot,Valentactive/godot,Paulloz/godot,pkowal1982/godot,honix/godot,Paulloz/godot,sanikoyes/godot,Faless/godot,firefly2442/godot,akien-mga/godot,Shockblast/godot,Faless/godot,MarianoGnu/godot,BastiaanOlij/godot,Paulloz/godot,Faless/godot,Faless/godot,Paulloz/godot,sanikoyes/godot,vnen/godot,honix/godot,godotengine/godot,vkbsb/godot,Zylann/godot,sanikoyes/godot,BastiaanOlij/godot,firefly2442/godot,vnen/godot,BastiaanOlij/godot,ex/godot,Zylann/godot,godotengine/godot,josempans/godot,pkowal1982/godot,Zylann/godot,ZuBsPaCe/godot,Paulloz/godot,ex/godot,ZuBsPaCe/godot,josempans/godot,Shockblast/godot,ex/godot,pkowal1982/godot,Valentactive/godot,Zylann/godot,Zylann/godot,firefly2442/godot,guilhermefelipecgs/godot,Shockblast/godot,ex/godot,Zylann/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,firefly2442/godot,Faless/godot,honix/godot,josempans/godot,vkbsb/godot,vnen/godot,godotengine/godot,akien-mga/godot,ex/godot,vkbsb/godot,honix/godot,Valentactive/godot,vkbsb/godot,MarianoGnu/godot,BastiaanOlij/godot,Shockblast/godot,DmitriySalnikov/godot,BastiaanOlij/godot,akien-mga/godot,Shockblast/godot,MarianoGnu/godot,josempans/godot,vnen/godot,Zylann/godot,godotengine/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,vnen/godot,pkowal1982/godot,Shockblast/godot,BastiaanOlij/godot,sanikoyes/godot,sanikoyes/godot,godotengine/godot,josempans/godot,akien-mga/godot,vkbsb/godot,Faless/godot,MarianoGnu/godot,MarianoGnu/godot,honix/godot,ex/godot,ZuBsPaCe/godot,honix/godot,vkbsb/godot,vkbsb/godot,vkbsb/godot,Paulloz/godot,BastiaanOlij/godot,josempans/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,ex/godot,akien-mga/godot,Shockblast/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,sanikoyes/godot,josempans/godot,DmitriySalnikov/godot,sanikoyes/godot,Valentactive/godot,ZuBsPaCe/godot,akien-mga/godot,Paulloz/godot,Valentactive/godot,pkowal1982/godot,Shockblast/godot,pkowal1982/godot,firefly2442/godot,pkowal1982/godot,firefly2442/godot,ZuBsPaCe/godot,firefly2442/godot