Skip to main content

collect_var_names

Function collect_var_names 

Source
pub(crate) fn collect_var_names(stmts: &[Statement], out: &mut Vec<String>)
Expand description

文の並びから var で宣言される名前を集める(巻き上げ用)。ブロック・制御構文・ try/switch/ラベルの中へは入り、入れ子の関数(宣言・式)の本体へは入らない。